aaryan Posted February 10, 2016 Posted February 10, 2016 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 Quote
rkmcswain Posted February 10, 2016 Posted February 10, 2016 Take a look at http://hyperpics.blogs.com/beyond_the_ui/2012/07/hooking-up-custom-help-for-your-commands.html Quote
aaryan Posted February 10, 2016 Author Posted February 10, 2016 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. Quote
aaryan Posted February 11, 2016 Author Posted February 11, 2016 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) Quote
fuccaro Posted February 11, 2016 Posted February 11, 2016 Simple change the HTML extension to HTM in the file names. It worked for me in the past. Quote
Recommended Posts
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.