New topic: 

Access to HTML help files when placed in Pakage Contents?

<http://forums.realsoftware.com/viewtopic.php?t=46262>

         Page 1 of 1
   [ 3 posts ]                 Previous topic | Next topic          Author  
Message        andyheron          Post subject: Access to HTML help files when 
placed in Pakage Contents?Posted: Mon Dec 17, 2012 7:22 am                      
   
Joined: Sun Feb 19, 2006 9:42 am
Posts: 4
Location: Scotland                I want to access HTML help files for my 
application. I want to place them into the Application Contents folder. I want 
to access them using the HTML Viewer using a URL. Is this possible?

My other idea was to use SpecialFolder.ApplicationData - which works, if the 
files are already placed there. However, would then need a decent installer to 
place my HTML files there.


Thanks

Andy Heron   
                             Top                jakuno          Post subject: 
Re: Access to HTML help files when placed in Pakage ContentsPosted: Mon Dec 17, 
2012 7:49 am                         
Joined: Fri Aug 31, 2012 3:56 pm
Posts: 35                Try: 
App.ExecutableFile.Parent.child("html").child("1.html")   
                             Top                alexvs          Post subject: 
Re: Access to HTML help files when placed in Pakage ContentsPosted: Mon Dec 17, 
2012 7:53 am                         
Joined: Fri Feb 12, 2010 1:32 pm
Posts: 210
Location: Switzerland                Just a guess and not tested:

dim f as folderitem = 
app.ExecutableFile.parent.child("Resources").child("yourhelpfile.html")
HTMLViewer1.LoadPage(f)


for anything that's placed inside the Resources folder.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 3 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to