Jump to content

Recommended Posts

Posted

Hi All,

 

Please Help!!!

 

I have downloaded a trial software and created a chm (compiled Help) file successfully.

 

The chm file contains the pages in .HTML extension whereas the HELP function of AutoLISP can only navigate to the page with the .HTM extension.

 

I am confused if there is a way I can call the Help file navigating to the correct page using AutoLISP or VisualLISP.

 

I have also tried to look C# function but this one too seems to open only .HTM pages.

 

Autodesk.AutoCAD.ApplicationServices.Application.InvokeHelp

 

Any help would be appreciable.

 

Regards

Posted

Thank you but still the problem exists.

I am getting an error which says "This page can’t be displayed".

 

I open my chm file right click on any page and look for the properties I find the address e.g ..\Testhelp.html

 

I go to autocad uses the below function

 

(Help "..\\MyHelp.chm" "Testhelp")

 

I get the above error and if I right click on the error page the page looks for

Testhelp.htm

 

I think it is because of the extension the Help function is not working properly but I am not sure.

Posted

Made it worked by using the below .net code. In case anyone face the similar problem and not getting the solution in AutoLISP.

 

System.Windows.Forms.Help.ShowHelp(null, chmPath, HelpNavigator.TopicId, keyTopic)

Posted

Simple change the HTML extension to HTM in the file names. It worked for me in the past.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...