axwebbrowser

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

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
 
* "Frank said:
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".
 
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
 
Very nice Cor, but I already thought of that.
I want the default directory changed for the application I have in mind.
Thanks
Frank
 
Back
Top