Search found 150 matches

by Pete Lees
Thu Jul 10, 2008 1:39 pm
Forum: Importing
Topic: Import a CHM into Flare?
Replies: 3
Views: 5128

Re: Import a CHM into Flare?

Hi,

If all that your friend has is the .chm file, he might try decompiling it with the free KeyTools utility — the only decompiler to my knowledge that provides the option to recreate the HTML Help project (.hhp) file — and then use the .hhp file to import the project into Flare. See ...
by Pete Lees
Wed Jul 09, 2008 9:02 am
Forum: Getting Started and Installation Issues
Topic: Index not jumping to place in page where Index keyword is.
Replies: 10
Views: 7478

Re: Index not jumping to place in page where Index keyword is.

Hi, Susan,

Yes, exactly. I'd better add a caveat, though: I don't currently use Flare, so I'm not sure if the edits that you make outside Flare will survive when you next edit the index with Flare. Perhaps this is something to test before you make wholesale changes to the index file.

You can use ...
by Pete Lees
Wed Jul 09, 2008 7:04 am
Forum: Getting Started and Installation Issues
Topic: Index not jumping to place in page where Index keyword is.
Replies: 10
Views: 7478

Re: Index not jumping to place in page where Index keyword is.

Hi,

If you are using HTML Help as your output, Index entires will be at the top of the page, this is a limiation of the HTML help viewer as it doesn't allow mid topic index entires.

This is true of the keywords that you embed in the HTML topic files, using either ActiveX <object> elements or ...
by Pete Lees
Mon Jul 07, 2008 1:25 pm
Forum: Microsoft CHM Help
Topic: CSS Location Problem (ms-its:)
Replies: 1
Views: 2002

Re: CSS Location Problem (ms-its:)

Hi, Andy,

This earlier thread may help:

Losing stylesheet properties when printing

If you install patch PATF3102 ("Patch for HTML Help Issues in Flare 3.1") or PATF3103 ("Patch for Popup Window Issues in Flare 3.1") then you should have an extra checkbox in the Advanced tab of the target editor ...
by Pete Lees
Wed Jul 02, 2008 8:58 am
Forum: Microsoft CHM Help
Topic: Background images not displaying
Replies: 9
Views: 6093

Re: Background images not displaying

Hi,

I don't have Flare open at the moment and I don't remember the actual CSS property, but one of those repeat fields is supposed to have an option to keep the background stationary and move the text over it -- sort of anchor the image in place.

That's right: "background-attachment: fixed". So ...
by Pete Lees
Fri Jun 27, 2008 9:20 am
Forum: Microsoft CHM Help
Topic: Losing stylesheet properties when printing
Replies: 1
Views: 2256

Re: Losing stylesheet properties when printing

Hi, cpylelo,

The reason why this problem arises is described in Microsoft Knowledge Base article 830609 .

According to article OUTH1009F in the Madcap Knowledge Base:

A change was made in Flare 3.1 generated .CHMs in how the stylesheet is linked to the topics and called to address issues people ...
by Pete Lees
Wed Jun 25, 2008 4:09 am
Forum: Microsoft CHM Help
Topic: HTML Objects Not Printing
Replies: 1
Views: 2128

Re: HTML Objects Not Printing

Hi, Jason,

You're right that instances of the HTML Help ActiveX control don't print, so your workaround of using script to invoke the hidden controls is the way to go.

Pete
by Pete Lees
Mon Jun 23, 2008 7:46 am
Forum: Tips and Tricks
Topic: How do I create CSH in a Merged Project?
Replies: 10
Views: 12059

Re: How do I create CSH in a Merged Project?

For what it's worth, I suspect that anyone who applies the methods in that Knowledge Base article to a merged HTML Help collection is likely to run into the problems that the Helpware method is designed to work around. That's to say, indexes that don't merge properly, and a table of contents that ...
by Pete Lees
Thu Jun 19, 2008 2:39 am
Forum: Microsoft CHM Help
Topic: Styles lost when added to project
Replies: 19
Views: 15386

Re: Styles lost when added to project

Hi,

Have a look at this Knowledge Base article:

No Search results in HTML Help file

Pete
by Pete Lees
Tue Jun 17, 2008 3:22 am
Forum: Tips and Tricks
Topic: How do I create CSH in a Merged Project?
Replies: 10
Views: 12059

Re: How do I create CSH in a Merged Project?

Hi, igleski,

Just to clarify, you have a master .chm file and five slave .chm files, and you want to channel all the context help calls through the master file? Here are two different methods, using different HTML Help API commands, which should enable you to do this. Sorry I can't give Flare ...
by Pete Lees
Thu Jun 12, 2008 1:06 pm
Forum: Microsoft CHM Help
Topic: Styles lost when added to project
Replies: 19
Views: 15386

Re: Styles lost when added to project

Hi, bash7012,

From what you've written so far, it sounds like this problem is evident only when you call the help file from the application. Is that correct? That the contents of the help file look OK when it is opened by double-clicking in Windows Explorer but wrong when the file is called from ...
by Pete Lees
Wed Jun 11, 2008 5:05 am
Forum: Microsoft CHM Help
Topic: Links to external .CHM with sub-folders
Replies: 5
Views: 4462

Re: Links to external .CHM with sub-folders

Hi, Michal,

The "ms-its:" protocol is one of several protocols that you can use to link to files compiled into an HTML Help file, whether stored locally or not. Other similar protocols are "mk:@MSITStore:" and "its:". In fact, they all appear to be optional nowadays, as mature versions of HTML Help ...
by Pete Lees
Tue Jun 10, 2008 3:00 am
Forum: Getting Started and Installation Issues
Topic: Which help output should I use?
Replies: 12
Views: 9104

Re: Which help output should I use?

Hi, Susan,

Here are some resources that may help:


Microsoft HTML Help Application Programming Interface (API) Reference
MSHelpWiki HTML Help 1.x Articles page
Helpware HTML Help - Context Help Ids and .NET Application Help

Typically, a developer adds help calls like the following one at ...
by Pete Lees
Thu May 29, 2008 12:33 pm
Forum: Flare's General Discussion
Topic: Copying code fragments to the clipboard
Replies: 4
Views: 4639

Re: Copying code fragments to the clipboard

Hi, rochfort,

If it's any help to you, here is a simple script to copy the contents of the nominated element to the Clipboard.

<script type="text/JavaScript">
<!--

function copyToClipboard(id) {

window.clipboardData.setData("Text",document.all(id).innerText);

// Omit the following line to ...
by Pete Lees
Thu May 29, 2008 4:38 am
Forum: Microsoft CHM Help
Topic: Help not displaying correctly on XP SP3
Replies: 2
Views: 2665

Re: Help not displaying correctly on XP SP3

Hi,

It would be worth having the customer ensure that the file %windir%\system32\itircl.dll is correctly registered, as this is the DLL that handles the index and full-text search functionality in all HTML Help files on the computer. The command to enter at the command prompt is:

regsvr32 %windir ...
by Pete Lees
Wed May 21, 2008 2:28 am
Forum: Microsoft CHM Help
Topic: Master project doesn't display index from merged slave index
Replies: 2
Views: 3133

Re: Master project doesn't display index from merged slave index

Hi, Ty,

Unlike TOC merging, index merging doesn't work recursively across more than one level. This is a limitation in Microsoft's design of HTML Help. So, you'll need to merge the "sub-slave" (#3) directly into the master project.

See the "Other Tips & Tricks" section of this page:

http ...
by Pete Lees
Tue May 20, 2008 1:25 pm
Forum: Microsoft CHM Help
Topic: Index shows up in search
Replies: 9
Views: 7153

Re: Index shows up in search

Hi, Abby,

The index that you show in your screenshot is not the index for a compiled HTML Help (.chm) file, so perhaps your boss generated the help project in some other format at some point — and the resulting index file has somehow been dragged into the .chm file at compile time. This might be ...
by Pete Lees
Fri May 16, 2008 6:08 am
Forum: Microsoft CHM Help
Topic: ActiveX warning
Replies: 6
Views: 4892

Re: ActiveX warning

Hi, Jason,

... we use the same script to open other files (which requires the full path in the argument, even tho CHM cannot obtain that information without ActiveX), so this will still be an issue.

Have you seen the following articles?

http://helpware.net/FAR/far_faq.htm#externalfile
http ...
by Pete Lees
Thu May 15, 2008 8:56 am
Forum: Microsoft CHM Help
Topic: CHM copy protection?
Replies: 6
Views: 4821

Re: CHM copy protection?

Hi,

You may be able to pick up a few ideas on this subject from the following thread on the MSDN "Developer Documentation and Help System" board:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3262133&SiteID=1

The fact is, though, that Microsoft simply didn't anticipate this requirement ...
by Pete Lees
Wed May 14, 2008 5:49 am
Forum: Tips and Tricks
Topic: JS window.open to open a different Help File in same window
Replies: 7
Views: 7320

Re: JS window.open to open a different Help File in same window

Dave Lee wrote:
Pete Lees wrote:Do you need to use JavaScript at all for this?
It's for a WebHelp toolbar button, i.e. a javascript onClick action.
So something like this ought to work?

Code: Select all

onClick="location.replace('Generic.chm::/Generic/Introduction.htm')"
Pete
by Pete Lees
Wed May 14, 2008 5:20 am
Forum: Tips and Tricks
Topic: JS window.open to open a different Help File in same window
Replies: 7
Views: 7320

Re: JS window.open to open a different Help File in same window

Hi, Marie-Claire,

Do you need to use JavaScript at all for this? In most circumstances, a standard hyperlink is all that is needed to link between topics in two different .chm files. For example, this should work:

<a href="ms-its:Generic.chm::/Generic/Introduction.htm"><img src="button.gif" /></a ...
by Pete Lees
Mon Apr 28, 2008 3:53 am
Forum: Microsoft CHM Help
Topic: Topics can't be displayed when CHM moved
Replies: 7
Views: 7188

Re: Topics can't be displayed when CHM moved

Hi, HÃ¥kan,

Because you're opening the .chm file from a remote location, it is subject to some security restrictions that Microsoft introduced a few years ago. You can read more about these in the following article, which also describes how to work around the restrictions by making changes in the ...
by Pete Lees
Thu Apr 24, 2008 7:54 am
Forum: Microsoft CHM Help
Topic: Programmatically showing and hiding navigation Pane
Replies: 4
Views: 3663

Re: Programmatically showing and hiding navigation Pane

Hi,

You may want to look at the HTML Help API command HH_SET_WIN_TYPE , which lets you define the properties of the help window at run time. One of those properties is fNotExpanded , which specifies that the help viewer is opened with the navigation pane closed.

But I believe that it would be far ...
by Pete Lees
Mon Feb 25, 2008 1:32 pm
Forum: Microsoft CHM Help
Topic: Help won't yield focus
Replies: 4
Views: 5311

Re: Help won't yield focus

This is a very late response, and I imagine that Bill has now found the solution. But for the benefit of anyone else who may be searching these forums for a solution to the same issue, here is an explanation of why HTML Help files usually retain focus when called from a program, and a suggested ...
by Pete Lees
Mon Feb 18, 2008 5:44 am
Forum: Microsoft CHM Help
Topic: Links to external .CHM with sub-folders
Replies: 5
Views: 4462

Re: Links to external .CHM with sub-folders

Juliette,

You need to include the CHM internal path to the target topics in the links that you make to them. For example, if a topic is compiled into an "HTML" folder within the CHM, you would code the hyperlink like this:

<A HREF="ms-its:filename.chm::/HTML/topic.htm">Click here</a>

To ensure ...