Link to home
Start Free TrialLog in
Avatar of douglaskarr
douglaskarr

asked on

Opening a file with the default browser

I have an application built that writes some calculation answers to a .htm file in the default temp directory.  To view the results, I call explorer.exe:

Shell "explorer.exe " & sTempPath & "\answer.htm", vbNormalFocus

How would I open it with the associated web browser - whatever it may be?
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of douglaskarr
douglaskarr

ASKER

Thanks!