08-06-2008 11:20 AM
08-07-2008 03:32 PM - edited 08-07-2008 03:34 PM
08-26-2008 02:20 PM - edited 08-26-2008 02:29 PM
Jonah - Can you tell me what version of HTML Help you used? Is it 1.3? If it is from the link you showed which displays version HTML Help Workshop 4.74.8702.0;
I JUST FOUND OUT THAT THIS IS THE VERSION I AM USING - I'LL GET BACK TO YOU, THANKS, DON
Thanks,
Don
08-27-2008 09:13 AM
Hi Jonah - Here is an HTML file with one image, the subsequent compiled help file, and the test LabVIEW program for displaying on-line help. I have included in a .zip file the one graphic file and associated files created when the .htm file was created from the word doc (the graphic is put in a subfolder). I am unable to get LabVIEW to display the graphic using the 'Control Online Help' fx in LabVIEW. Can you tell me how you did it? Put the stuff in the root (c:) directory.
Thanks,
Don
08-28-2008 08:54 AM
Hi Don,
So I have been exploring the help files that you sent me. How is the test.chm help file linked to the test.htm, which is displayed in the contents? Was it directly loaded in as a support file in the Microsoft help builder? The reason I ask is because when I change the test.htm file it does not update the help file. Thanks!
Cheers,
Jonah
Applications Engineer
National Instruments
08-28-2008 11:22 AM
Hi Jonah - The steps I used to create the .chm file are as follows.
1) Saved .doc file as .htm file
2) Create a project file in the MS HTML Help Workshop tool
3) Followed directions in: http://www.beansoftware.com/ASP.NET-Tutorials/HTML-Help-Workshop.aspx
4) Clicked on 'Change Project Options' button, went to 'Files' tab, and clicked 'Compile full-text search information' checkbox
You have the resulting .chm file. You can try to duplicate these steps starting from the .htm file for which the supporting graphic is in the .zip file.
Or you can just create your own .doc file, do a screen capture and cut and paste it into the word doc, and follow steps 1 - 4 with your own test.
Test.vi will spawn the help file but the image would not show up for me.
Sincerely,
Don
08-29-2008 10:30 AM
Hi Don,
I think I found out what the issue was with your help file creation. When you use Microsoft Word to convert the file over to an *.htm file it includes HTML tags that are not compatible. If you use the attached HTML file (that I created from scratch) and your image001.jpg - in the same folder. The CHM file will successfully link to the picture.
For your HTML development, I recommend using a program other than Microsoft Word (if possible).
Cheers,
Jonah
Applications Engineer
National Instruments
08-29-2008 11:10 AM
The problem is the original document which is 120 pages now was authored in MS Word. So I don't see how it is feasible to create the .html document from scratch now. Isn't it amazing that this Help tool is a MS product and yet it is seemingly incompatible with MS Word?
So it seems I might have to pony up for a professional product recommended earlier in this discussion. Or try to edit the html file manually to remove the incompatibility.
Thanks for trying. If I have any updates down the road, I will post them here.
Sincerely,
Don
09-10-2008 09:17 AM - edited 09-10-2008 09:19 AM
Hello - I have an update for everyone here. I have verified that the the product referenced above in a prior post (H&M) will do what I need. The full product name is Help & Manual. I downloaded the evaluation version of the Professional Edition, version 5.0.4 Build 574.
The basic steps which proved to me that the images would show in the .chm file were as follows:
1) I resaved my test.doc to test.rtf
2) I clicked on the Application button (top left corner) of H&M and selected 'New' to display the 'Create New Help Project' wizard
3) I clicked on the radio button to 'Import existing documentation from....' and then clicked on checkbox 'RTF document created with MS Word'
4) The document showed up in the Page Editor tab of the Project Window.
5) I then clicked again on the Application button and said Publish at which point the Publish Help Project dialog spawned and gives you the option to publish in various formats including .chm.
6) I then placed my .chm file in c: and ran my test.vi (which is just what you see below) and verified that the images showed up.
7) Now I can study how to create an optimized index and searchable help and I should be all set.
I am going to buy the H&M product.