HTMLViewGo

BlitzPlus Forums/BlitzPlus Programming/HTMLViewGo

_Skully(Posted 2003) [#1]
Is there a way to make this command use a local drive htm file? I can't seem to make it work... Ive tried...

HTMLViewGo "toolbar.htm"
HTMLViewGo "..\toolbar.htm"
HTMLViewGo "c:\blitzplusdev\myprogram\toolbar.htm"

???
Skully


Floyd(Posted 2003) [#2]
"file://localhost/c:/blitzplusdev\myprogram\toolbar.htm" should work.

Edit: I just noticed how strange that looks with the mixed / and \.

That's from copying and pasting the first part of the path from one of my programs
and the rest from your post.


soja(Posted 2003) [#3]
Yes... the only thing I see that's wrong with your examples is that your don't have the right number of parameters for HTMLViewGo...

HtmlViewGo htmlview,URL$


_Skully(Posted 2003) [#4]
oh ya.. oversight.. but they are there in my program..

Ok the file:// works but I have to provide the full path.. is there a way to make "file://toolbar.html" use the current installed directory?

Skully