Subject: Re: Loading an html file in htmlviewer
From: Fargo Holiday <[EMAIL PROTECTED]>
Date: Mon, 17 Jul 2006 00:29:48 -0700
Emile Schwarz wrote:
In that case, the document existed because I created it before running
the code who loads it...
I changed the code (using the LR trick/example) and passed the file
URL string and the file was loaded, but not with:
HTMLViewer.LoadPage File
Any other taker ?
Emile
I didn't mean to indicate your document didn't exist, just thought it
would be worth checking to see if, for some reason, the folderitem was
indicating that it didn't. At the very least it'd rule out a folderitem
acting funny, leaving you with LoadPage as the most likely looking culprit.
Thanks for that. My answer was just: I didn't test if the file exists
because I know that the file exists; it was just a test, only a test :)
What's the LR trick??
They use an EditField to hold the page full path and a button to Go
there... (download it); so I set FolderItem.URLPath to the EditField and
PBGo.Push and it works (on a different page).
After a simple check, it appears that the index.html file had a missing
'/' in the <title> end tag. and so the page was blank :(
Thanks to all,
Emile
_______________________________________________
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>