| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: HTMLViewer.LoadPage |
| From: | Jonathan Johnson <jonj at realsoftware dot com> |
| Date: | Mon, 31 Oct 2005 10:19:23 -0600 |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jECiUeOmeHCJYcpr50FgcBwDUE7Hfk5bQ8XR8B0XOeefD/LUySzHYOqVK7T1v3ueCoTwbYU3zKv79wbR50MaQVH1ZqUZOpMHqjjsilcwrhrvSL5VkDNdidV51tWUUW41+xMKChwTrnC9L/RdxjbURQlpzt/AA1Lv08ZGk+CsVig= |
| References: | <4365B44F dot 6040303 at softage dot ru> |
On 10/31/05, a.zatsepin <a dot zatsepin at softage dot ru> wrote:
> Exception message: The BaseFile parameter to LoadPage must be an
> existing file, not folder"
(snip)
> HtmlViewer1.LoadPage(s,GetFolderItem("")) ' here s is not empty - it's
> really has some html code. I tried to check a value returned by
> GetFolderItem - it's Ok.
As the exception message suggests, GetFolderItem("") returns a folder,
but the WebKit on Mac OS X requires the relative file to be a file
(not folder) and exist. Pointing it to any non-folder item next to
your application should work.
HTH,
Jon
--
Jonathan Johnson
REAL Software, Inc.
REAL World 2006, The REALbasic User's Conference
<http://www.realsoftware.com/realworld>
_______________________________________________
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>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CFM library access from Mach-O?, Aaron Ballman |
|---|---|
| Next by Date: | Re: Adding menu handlers in code, Charles Yeomans |
| Previous by Thread: | HTMLViewer.LoadPage, a.zatsepin |
| Next by Thread: | Re: HTMLViewer.LoadPage, a.zatsepin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |