On 1 nov 2005, at 05.28, a.zatsepin wrote:
Hello.
Now I have a few more questions.
In RB Help I found that:
HTMLViewer.LoadPage
Loads the passed source HTML. Any links will be resolved relative
to the passed RelativeTo FolderItem <../Topics/780.html>.
Syntax
HTMLViewer.LoadPage Source, RelativeTo
Sorry i forgotten example 2
This is the same but now we don't need to simulate the place for the
html file
dim f as folderitem
f = desktopFolder
if f <> nil and f.exists then
f = f.child("index.html")
end if
if f <> nil and f.exists then
HtmlViewer.Loadpage DesktopFolder.child("index.html")
else
beep
and shut down
end if
Sven E
svenerik at xhtmlsoft dot com
http://www.xhtmlsoft.com
http://seedit.3.forumer.com/
Skype: callto://sven-e-olsson-simrishamn-sw
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|