Launching a web browser to view help files

  • Thread starter Thread starter nirvana
  • Start date Start date
N

nirvana

Guest
Hi,
Does anyone know how to do the following (i'm sure I did this b4 in VB but can;t find the proggie I used it in
frown.gif
)

Find default browser on users computer
Launch browser and load the file ./help/index.html

I can use shell to launch the browser but it needs a full path for the browser and the file to be viewed - not much use when distributing the database.

Thanks
-Angie
 
one way you can do this is by creating a button. in the button wizard goto application, and then run application. Select
c:\windows\IEplorer.exe http://./help/index.html

this will open explorer and show what ever address you put after iexplorer.exe
 
yeah that's the way i know already. I'm looking for a way of checking the windows registary or something to detect which web browser is present and it location as not everyone uses IE and those that do don't always install it to the same dir.
also http://./help/index.html didnt seem to work when i tried it.

-Angie
 
Why not just use:

Application.FollowHyperlink "PathToFile"

and let the users PC choose which browser to open using default file associations?

Ian
 
coz i didn't know how to
wink.gif


Am using it now though thanks - along with currentdb.name to get the path to the help files (in case anyone else wanted to know how to do that part)
 

Users who are viewing this thread

Back
Top Bottom