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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening html doc with VB

Status
Not open for further replies.
Feb 3, 2001
1
US
Hi,
I have had trouble opening an html doc with a vb program. It works great on my hard drive but when I transfer it to CD the path name gets confused. This is what I tried that works on my drive:

Public WithEvents Explorer As SHDocVw.InternetExplorer



Private Sub cmdstart_Click()
Set Explorer = New SHDocVw.InternetExplorer
Explorer.Visible = True
Explorer.Navigate "D:\Tempfold\Start.html"


I thought I would just have to change D:\Tempfold\Start.html to \\Tempfold\Start.html but it will not work. It won't find Start.html on the CD. Any help would really be appreciated. scott@mapspecifics.com

End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top