on 3/28/07 8:20 AM, Brad Taylor wrote:
> I am working to improve the help system in my app. I am using an
> HTMLviewer and compiling for the Macintosh (but now Windows since the
> Loadpage creates a temporary file every time Loadpage is used.)
> My code uses something like:
> htmlhelpviewer.loadpage introduction, nil
> The help files are dragged into project. The compiled app works fine,
> as long as I don't move the application. If move it, the help files
> no longer appear. This won't work for my users...
> I believe this means the files are not included in the compiled
> application, and placing them in the application bundle doesn't seem
> to solve this issue.
> How do I solve this problem?
I would suggest not including the help files in your project. If you place
the help files in an external help folder inside your Mac OS X application
bundle, then you can easily call the help files as FolderItems:
HTMLViewer.LoadPage FolderItem
This will allow your Mac OS X app bundle to be just as easily portable for
distributing to your users while allowing the app to always find the help
files inside your bundle.
Regards,
Dave Wooldridge
Electric Butterfly
http://www.ebutterfly.com
-------------------------------------
UniHelp 3 for REALbasic:
The cross-platform help system
For Mac, Windows, and Linux
http://www.ebutterfly.com/rb/unihelp.php
-------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>