User forums > Help

.col Help Files

(1/2) > >>

Acki:
Hi,
I can add own help files to the help menu, that's great !!!
But this works only for *.hlp, *.chm, *.htm,...
For example the MSDN's help file is a *.col !!!
This files are also using hh.exe, but I can't add them to the help menu !!!
I have to add them to the tools menu with command={win}\hh.exe and params=help.col !!!

So, is there a way to add '.col files to the help menu ???

thx, Acki

Ceniza:
Well, I couldn't try that myself 'cause I don't have any .col files around, neither I could find any in the Internet.

If you click a .col file in Windows Explorer, does it get opened with hh?

At least in my system .col files are given a type name but not a program to open with. If that's also your case, could you try associating .col files to open with hh and try again with the help entries?

The help plugin uses wxWidgets' functions to open .chm and .hlp, but for any other extension it'll use the associated program with it.

Acki:
No, col files aren't associated with a program !!!
I associated col files with hh.exe...
Double click works now, but it still doesn't work in CB's help menu !!! :(
CB tells me: "Couldn't find an associated program to open msdnvs6a.col"
I also tried to set the execution string like this:
C:\WINNT\hh.exe f:\MSDN\98VSa\1031\msdnvs6a.col
This is how it's done by the shortcut (windows start menu)...
Nothing works... :(

btw: col files are collection files ?!?!?


--- Code: ---// this also doesn't work:
WinHelp(NULL, "msdnvs6a.col", HELP_FINDER, 0);
--- End code ---

Ceniza:
After a few tests I got the reason it'sn't working. It's wxWidgets' fault.

Here's a workaround:

Go to Windows Explorer, Tools, ¿Folder options? (sorry, my Windows is in another language).

In that dialog, go to the Filetypes tab and search COL. Click on advanced options.

From there, be sure the action to open the file is called open and correctly set. That did the trick here.

Once again, it's wxWidgets' fault and can be considered a bug.



[attachment deleted by admin]

takeshimiya:
Why a bug?

Navigation

[0] Message Index

[#] Next page

Go to full version