By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,515 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,515 IT Pros & Developers. It's quick & easy.

axwebbrowser

P: n/a
Hello,
I use axwebbrowser.navigate to start a browser form in my application.I
would like to use
axwebbrowser.navigate("filename")
instead of
axwebbrowser.navigate("directory/filename")
I want to vary the default directory. Is this possible in some way? By
setting a path before the navigate or whatever?
Thanks in advance
Frank
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
* "Frank" <fr***@frank.com> scripsit:
I use axwebbrowser.navigate to start a browser form in my application.I
would like to use
axwebbrowser.navigate("filename")
instead of
axwebbrowser.navigate("directory/filename")
I want to vary the default directory. Is this possible in some way? By
setting a path before the navigate or whatever?


I doubt that this is possible and I would always use a full path like
"file:///c:/foo/goo.htm".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

P: n/a
Hi Frank,

Why not

dim mydirectory as string = mydefault
axwebbrowser.navigate2(mydirectory & "filename")


And you can better use navigate2, naviagate is the old name that stayed
because of compatibility reasons.

I hope this helps?

Cor
Nov 20 '05 #3

P: n/a
Very nice Cor, but I already thought of that.
I want the default directory changed for the application I have in mind.
Thanks
Frank

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:##**************@TK2MSFTNGP09.phx.gbl...
Hi Frank,

Why not

dim mydirectory as string = mydefault
axwebbrowser.navigate2(mydirectory & "filename")


And you can better use navigate2, naviagate is the old name that stayed
because of compatibility reasons.

I hope this helps?

Cor

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.