S
SteMc
Hi,
I'm using vb 2003 and have a browser window. Previsouly I used the
command...
"main_browser.navigate("C:\....\html files\main.html") and the browser
succesfully navigated to the designated html file.
Then I changed it so that it only read...
"main_browser.navigate("html files\main.html") where "html files" is a
sub-folder of the location of the executable file. It now won't work.
I've used an if statement to check that the file exists and the code to
navigate should only occur if the file is found. When stepping through
the code the file is definately found-in fact the file can be opened
with a streamreader and edited! But it won't open in the browser
window.
Anyone know why?
Also, this is the first time I've made an executable version of the
program (I've previously just been running it by pressing F5). When I
ran the .exe file my firewall popped up and told me that the program
was trying to connect to a DNS server! Why on earth would it do that?
Any help would be greatly appreciated,
thanks,
Steve
I'm using vb 2003 and have a browser window. Previsouly I used the
command...
"main_browser.navigate("C:\....\html files\main.html") and the browser
succesfully navigated to the designated html file.
Then I changed it so that it only read...
"main_browser.navigate("html files\main.html") where "html files" is a
sub-folder of the location of the executable file. It now won't work.
I've used an if statement to check that the file exists and the code to
navigate should only occur if the file is found. When stepping through
the code the file is definately found-in fact the file can be opened
with a streamreader and edited! But it won't open in the browser
window.
Anyone know why?
Also, this is the first time I've made an executable version of the
program (I've previously just been running it by pressing F5). When I
ran the .exe file my firewall popped up and told me that the program
was trying to connect to a DNS server! Why on earth would it do that?
Any help would be greatly appreciated,
thanks,
Steve