C
Carl Gilbert
Hi
I have a Windows WebControl on my form and I plan to burn the application to
a CD. The applcation has to navigate to a page that I am keeping in the
root of the CD. I have put the page I want to navigate to in the bin folder
along with the exe.
I then put the following line in the load of my application:
Me.webControl.Navigate(".\summarypage.html")
This doesn't work though, it just says it can't load the page (Action
Cancelled). However if I put the full address of the file then it loads
correctly.
Something like:
Me.webControl.Navigate("C:\Documents and
Settings\carlg\Desktop\PortHost\bin\summarypage.html")
Does anyone know how I can navigate to a file in the same folder as the exe?
Note: The exe and the default page will be on the root of the CD.
Regards, Carl Gilbert
I have a Windows WebControl on my form and I plan to burn the application to
a CD. The applcation has to navigate to a page that I am keeping in the
root of the CD. I have put the page I want to navigate to in the bin folder
along with the exe.
I then put the following line in the load of my application:
Me.webControl.Navigate(".\summarypage.html")
This doesn't work though, it just says it can't load the page (Action
Cancelled). However if I put the full address of the file then it loads
correctly.
Something like:
Me.webControl.Navigate("C:\Documents and
Settings\carlg\Desktop\PortHost\bin\summarypage.html")
Does anyone know how I can navigate to a file in the same folder as the exe?
Note: The exe and the default page will be on the root of the CD.
Regards, Carl Gilbert