scottmiller
MIS
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
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