"Help on this function" for XLL add-in

Add-in Express™ Support Service
That's what is more important than anything else

"Help on this function" for XLL add-in
How to implement "Help on this function" for XLL add-in 
Cristian Corutiu




Posts: 13
Joined: 2007-09-26
Hi,

Is there any way to implement "Help on this function" functionality for the functions exposed by an XLL add-in ?
There is an undocumented HelpTopicId property of the ADXExcelFunctionDescriptor but I can't get it work.

Thanks for help,
Cristi
Posted 27 Dec, 2007 11:42:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Cristian.

The HelpTopic property is a reference to a help topic as text of the form HelpFile!TopicNum.
Posted 27 Dec, 2007 12:21:16 Top
Cristian Corutiu




Posts: 13
Joined: 2007-09-26
Hi Sergey,

Thanks for your quick reply.
I managed to map topics from a .hlp help file in the way you mentioned but I could not map a .chm file.Is this possible?Is there another way to map a topic id for .chm files ?

Thanks,
Cristian
Posted 07 Jan, 2008 11:22:30 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Cristian.

I read the XLL documentation and found that the HelpFile should be a standard Windows help file only.
Posted 08 Jan, 2008 09:08:15 Top
Cristian Corutiu




Posts: 13
Joined: 2007-09-26
Hi Sergey,

This could create a compatibility problem since Windows Help (WinHlp32.exe) program is no longer included in Windows operating systems starting with Windows Vista (see http://support.microsoft.com/kb/917607 .

Searching on Google I found a useful post http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.excel.sdk&tid=8683b132-c31b-4a4b-81f1-7fc5c57b3f57&p=1 but I could not use the solution proposed with add-in express XLL .
Can you please investigate this ?

Thank you,
Cristian
Posted 08 Jan, 2008 10:13:49 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Cristian, did you register the .chm file.
Posted 08 Jan, 2008 11:09:31 Top
Cristian Corutiu




Posts: 13
Joined: 2007-09-26
Sergey,

You are the man!
I "registered" the .chm file by adding an entry in the registry under the: HKEY_LOCAL_MACHINE\SOFTWARE\Windows\HTML Help key and it works great.

Thank you again,
Cristi
Posted 11 Jan, 2008 11:31:42 Top