Source language: Translate to:

PubDir path filename.ext doesn't work?

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

PubDir path filename.ext doesn't work?

Postby Jim Brammer » Thu Feb 07, 2002 4:08 pm

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)
Jim Brammer
 

Return to NeoBook Knowledgebase

Who is online

Users browsing this forum: No registered users and 0 guests