Page 1 of 1

PubDir path filename.ext doesn't work?

PostPosted: Thu Feb 07, 2002 4:08 pm
by Jim Brammer
I am trying to launch Home.html file from a directory on the CD. Trying also:

[PubDir]test\Home.html

but it doesn't work. Is there any way to let WebBrowser to go to a [PubDir] and launch the file I need without specifying...

D:\test\Home.html

<hr>

Someone recently mailed me regarding this problem and it turns out that, for whatever reason, some objects do not react to the...

[PubDir]path\filename.ext

...in the filename box.

Instead, you should use a SetVar to tush
ign a full path and filename like this...

SetVar "[File]" "[PubDir]path\filename.ext"

...and use the [File] variable in the filename box.

jim


(Edited by Jim Brammer at 6:09 pm on Feb. 7, 2002)