Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening an EXE from a Web Page

Status
Not open for further replies.

dfilldirt

Programmer
Jun 11, 2003
3
US
I'm trying to open up a VB exe from a web page, without bringing up the "File Download" pop-up dialog window. I was able to use the following VB script to open up the exe without getting the pop-up window...

<script Language=&quot;VBScript&quot;>
Sub Shell(sExecutable)
Dim o
Set o = CreateObject(&quot;WScript.Shell&quot;)
o.Exec sExecutable
End Sub
</script>

But, this seems to work with opening applications on the client - for files on a network drive, I am getting vbscript error &quot;file can't be found&quot;. Any ideas of how I can open an app on a network drive with out getting an error - and still not get the File Download dialog window?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top