VB Script - Help! - TechRepublic
Question
April 5, 2007 at 04:04 AM
jgibbons

VB Script – Help!

by jgibbons . Updated 19 years, 3 months ago

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 discussion is locked

All Comments