Question

Locked

VB Script - Help!

By jgibbons ·
I am looking to change the following script to look in another location if it cannot find C:\Program Files\Internet Explorer\iexplore.exe. Norwegien & Swedish versions of Windows use the following location for IE c:\program\internet explorer\iexplore.exe.
The script I have is as follows:

Sub ZMain()

Dim MyURL, ret

MyURL = GetString (15, 46, 12)

ret = Shell ("C:\Program Files\Internet Explorer\iexplore.exe " & MyURL, 1)

End Sub

Any help would be greatly appreciated.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

If the file association is set up

by Tony Hopkinson In reply to VB Script - Help!

which it almost certainly is.

ret = Shell(MyURL, 1)
will automatically run up the default browser where ever it is.

I use FF and I'd bin your software on the spot if it overrode ny browser preference.

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums