Assigning the Help 4, *.HLP file for a project programmatically in a protected Project

T

Tony Seiscons

I can assign the Help 4 *.HLP file for a project programmatically thus:

Application.ThisWorkbook.VBProject.HelpFile = ThisWorkbook.path & "\" &
_
gsHELPFOLDER & "\" & gsCONTEXTHELPFILE

however if the project is protected this fails as it is attempting to change
the project properties.

I guess there must be an API call available to do this. I am using Help 4
for context help in a VBA project. I am already using HTML help for
general help (using a slightly modified HTML Help class for Microsoft Visual
Basic from Delmar Computing Services) but I need to implement context help
via HELP 4.

Can anyone help?
Thanks: Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top