Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Nov 14, 2018 7:34 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Creating .chm Help Files
PostPosted: Fri Aug 17, 2012 8:04 am 
Offline
User avatar

Joined: Wed Feb 01, 2012 3:06 pm
Posts: 68
Does anyone have a recommendation for a good tool to use for creating a .chm Help File ?

Ron Bower
Ellicott City, MD

_________________
Ron Bower
Ellicott City, MD


Top
 Profile  
Reply with quote  
 Post subject: Re: Creating .chm Help Files
PostPosted: Fri Aug 17, 2012 8:16 am 
Offline
User avatar

Joined: Thu Aug 26, 2010 6:57 am
Posts: 569
Location: Sydney Australia
Dr Explain (Also does Word, PDF and HTML)

_________________
Regards

Chris Musty
http://www.specialised.net.au
-----------------------------------------------
if date.shortdate >= 4/6/2013 then
msgbox "I am using Xojo - YAY!!!"
else
msgbox "I am still using RS 12r2.1 - BOO!!!"
end if

Win 8 Pro, Ubuntu 13.04, Mint and Debian(gnome and KDE)
AWS for Hosting and TKL for AMI's


Top
 Profile  
Reply with quote  
 Post subject: Re: Creating .chm Help Files
PostPosted: Fri Aug 17, 2012 9:16 am 
Offline
User avatar

Joined: Wed Feb 01, 2012 3:06 pm
Posts: 68
Wow, that was a quick response and it certainly looks like a winner !

Now to what SHOULD Have been the first question (sorry)... Assuming that I have created a .chm Help file and packaged it with the software distribution, how do I get my application to open and display the help file ?

It seems that there should be a way to simply "execute" the .chm file, but I just don't know how to execute an external program from within my program.

I naively thought that I could just display the file in a "HTMLViewer" panel.

Ron Bower
Ellicott City, MD

_________________
Ron Bower
Ellicott City, MD


Top
 Profile  
Reply with quote  
 Post subject: Re: Creating .chm Help Files
PostPosted: Sat Aug 18, 2012 4:17 am 
Offline
User avatar

Joined: Thu Aug 26, 2010 6:57 am
Posts: 569
Location: Sydney Australia
Try THIS

_________________
Regards

Chris Musty
http://www.specialised.net.au
-----------------------------------------------
if date.shortdate >= 4/6/2013 then
msgbox "I am using Xojo - YAY!!!"
else
msgbox "I am still using RS 12r2.1 - BOO!!!"
end if

Win 8 Pro, Ubuntu 13.04, Mint and Debian(gnome and KDE)
AWS for Hosting and TKL for AMI's


Top
 Profile  
Reply with quote  
 Post subject: Re: Creating .chm Help Files
PostPosted: Tue Aug 21, 2012 10:33 pm 
Offline

Joined: Mon Dec 12, 2011 7:25 pm
Posts: 186
Location: Grand Rapids MI Area
Dr. Explain is the best for the money hands down.

As far as viewing chm help files I used this string in another language but have not tried
converting it to work in RS.

Windows uses HH.EXE to view chm files and can be command lined.

Here are a couple lines of code I used in another program language to open chm file to a topic in it.

Quote:
File.Run("hh.exe ", _SourceFolder.."\\TUCGLog\\Docs\\TUCGLhelp.chm", "TUCGLOG\\Docs", SW_SHOWNORMAL, false)


Quote:
PageHelpFile = "hh.exe ".._SourceFolder.."\\TUCGLog\\Docs\\TUCGLhelp.chm::Checklist.htm"


Maybe someone else can convert it to a RS command line.

Hope this might help.

_________________
iMac 27" (2.8GHz Intel Core i5, 16GB RAM, 1TB Drive) OS X Mountain Lion 10.8.3 and Windows 7
Toshiba Laptop Running Windows 7, WinXP SP3 and Windows 8
REAL Studio Enterprise Edition 2012r2.1
http://www.theultimatecampgroundlog.com
Being rewritten for the Mac


Top
 Profile  
Reply with quote  
 Post subject: Re: Creating .chm Help Files
PostPosted: Thu Aug 23, 2012 1:44 pm 
Offline
User avatar

Joined: Wed Feb 01, 2012 3:06 pm
Posts: 68
Thanks for all the replies and suggestions...

I ended up figuring out to use Microsoft HTML Help Workshop and created the .chm HelpFile directly from some HTML files I put together.

As for launching the HelpFile from a User Menu selection, I used a "Shell" to just execute the .chm file.

It seems to run well under Windows 7 and Windows XP - still getting reports from users.

Ron Bower
Ellicott City, MD

_________________
Ron Bower
Ellicott City, MD


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group