Launch application 
Author Message
 Launch application

Hi There !

My application is Visual Basic 5.0 based.
I am having problem while launching application from Netscape .

It is working well under IE browser with following code.

<SCRIPT LANGUAGE="VBScript">
<!--
Sub oppdf(pdflnk)

        Dim Success

        Success=VBSObject.DoShell("c:\mt\mehul.exe" & " " & pdflnk ,1)

End Sub
-->
</SCRIPT>

<A HREF= oppdf("$$doc.pdfd")><IMG SRC="pdficons.gif" BORDER="0"

Quote:
></a>&nbsp;&nbsp;

But netscape doesn't like this code.

Anyone who has deal with this kind of problem please help me.

My Question is :
1> Is there any way I can launch application from Netscape ?

2> I am passing parameter to application from netscape page.

Thanks

MT.



Mon, 16 Jul 2001 03:00:00 GMT  
 Launch application
I think I might have an answer for you.  As far as I can remember, netscape
doesn't use VBScript, hence it won't work.  Try and see if you can port your
code to EcmaScript (what netscape call JavaScript), and that should be
compatable with both IE, and Navigator.

HTH

Quote:

>Hi There !

>My application is Visual Basic 5.0 based.
>I am having problem while launching application from Netscape .

>It is working well under IE browser with following code.

><SCRIPT LANGUAGE="VBScript">
><!--
>Sub oppdf(pdflnk)

> Dim Success

> Success=VBSObject.DoShell("c:\mt\mehul.exe" & " " & pdflnk ,1)

>End Sub
>-->
></SCRIPT>

><A HREF= oppdf("$$doc.pdfd")><IMG SRC="pdficons.gif" BORDER="0"
>></a>&nbsp;&nbsp;

>But netscape doesn't like this code.

>Anyone who has deal with this kind of problem please help me.

>My Question is :
>1> Is there any way I can launch application from Netscape ?

>2> I am passing parameter to application from netscape page.

>Thanks

>MT.



Tue, 17 Jul 2001 03:00:00 GMT  
 Launch application
Hi There !

Is there any way to launch application (VB 5 Based ) from netscape browser
? I was wondering if there is any way of doing so with javascript or some
shell command ?

Thanks
MT



Tue, 17 Jul 2001 03:00:00 GMT  
 Launch application

Quote:

> Hi There !

> Is there any way to launch application (VB 5 Based ) from netscape browser
> ? I was wondering if there is any way of doing so with javascript or some
> shell command ?

> Thanks
> MT

i guess if you put smth like document.location="my.doc" and provide a file
"my.doc", the user will be invited to open it in MS Word (but it won't open
automatically).


Fri, 20 Jul 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Launch Applications from Internet Explorer

2. Launching Application from a Client-side Script

3. launching application from browser

4. Launching applications from Browser

5. help for Launching applications automatically for unknown file types

6. Launch Application

7. Using VBScript to launch applications

8. Launching Application from a Client-side Script

9. Launching Applications

10. Launch application from vbscript

11. Wait until a launched application has closed / freed a file

12. captureing output of launched application

 

 
Powered by phpBB® Forum Software