× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I want to load Word / Excel from a webpage loaded by a webapplication 
running on our Websphere Application Server.

I developed this page in WSAD where it runs ok.  I have a Word_button 
which, when clicked, launches the WordApplication.  However, when I move 
this page to the iSeries it doesn't work anymore. 

Following error is shown:
...
Error: ActiveX component can't create object: 'WScript.shell'
...

This is the html-part
...
<script language="vbscript"> 
        Sub Word_onClick
                runcmd = "file://C:\Program Files\Microsoft 
Office\Office\WINWORD.EXE"
                Set WShell = CreateObject("WScript.Shell")
                WShell.Run Chr(34) & runcmd
        end Sub
        Sub Excel_onClick
                runcmd = "file://C:\Program Files\Microsoft 
Office\Office\EXCEL.EXE"
                Set WShell = CreateObject("WScript.Shell")
                WShell.Run Chr(34) & runcmd
        end Sub
</script>
...
<BUTTON type="button" name="Word" ACCESSKEY="W" style="font-size: 5pt; 
font-family: Verdana">
        <img src="/images/icons/word.jpg">
</button>

any idea's?



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.