The act of opening the CHM help file is no problem from VBA. However,
this particular routine does not use a dialog box, only a "select
objects" prompt. I want to allow the user to press "F1" or "'HELP" at
this point and have it open my CHM file.
In lisp, you can use (setfunhelp) to do this.
So in theory, if the VBA sub is called like this:
(defun c:foo ()(vl-vbaload "c:/program files/
directory>/sample/vba/drawline.dvb"))
...then the (setfunhelp) lisp function should work, but it doesn't.
Pressing "F1" or "'HELP" during the vba routine, simply opens the
AutoCAD HELP to the default page.
TIA
--
R.K. McSwain
http://rkmcswain.blogspot.com