computermat
Active member
- Joined
- Jun 17, 2007
- Messages
- 28
- Programming Experience
- Beginner
Hi, sorry if this message is in the wrong place but I was unsure where to put it.
It may seem a noob question but can I navigate to a html file within my project without having to use a full system path and only use a partial path relating to a sub directory within my project.
I am currently using:
webbrowser1.navigate("C:\Documents and Settings\Matty\My Documents\Visual Studio 2005\Projects\Cmat Explorer\Cmat Explorer\html\aug.html")
If I use the following code I just get "action canceled"
webbrowser1.navigate("...\html\aug.html")
Can someone point me at the right code so when I compile the project and install on another drive it will navigate to the html file I want to use.
Thanks in advance
Matt
It may seem a noob question but can I navigate to a html file within my project without having to use a full system path and only use a partial path relating to a sub directory within my project.
I am currently using:
webbrowser1.navigate("C:\Documents and Settings\Matty\My Documents\Visual Studio 2005\Projects\Cmat Explorer\Cmat Explorer\html\aug.html")
If I use the following code I just get "action canceled"
webbrowser1.navigate("...\html\aug.html")
Can someone point me at the right code so when I compile the project and install on another drive it will navigate to the html file I want to use.
Thanks in advance
Matt