Discussion:
Linking a chm Help Topic in AutoCAD
(too old to reply)
Jade
2004-06-02 18:56:02 UTC
Permalink
Hi

Trying to link a specific Help Topic in my compiled .CHM in AutoCAD. I can
start up my .CHM file in AutoCAD with;
(startapp "c://windows//hh.exe" "c:///My Projects/My Help.chm") but now I
want to link a pecific Topic...
mk:@MSITStore:C:\My%20Projects\My%20Help.chm::/QuickTips%20When%20Issuing%20
Drawings.htm

Trying to find some code in VBA that might work...but no success....

Any suggestion?

Thanks

J
Ulrich Kulle
2004-06-03 10:20:41 UTC
Permalink
Hello Jade,
Post by Jade
Trying to link a specific Help Topic in my compiled .CHM in AutoCAD. I can
start up my .CHM file in AutoCAD with;
(startapp "c://windows//hh.exe" "c:///My Projects/My Help.chm") but now I
want to link a pecific Topic...
Drawings.htm
Trying to find some code in VBA that might work...but no success....
I don't have AutoCAD installed but I think the AutoCAD command line "startapp
.." needs a second parameter to your specific topic above.

(startapp "c://windows.hh.exe"
"mk:@MSITStore:C:\My%20Projects\My%20Help.chm::/QuickTips%20When%20Issuing%20Dra
wings.htm")

Please check whether blanks and '%20' cause a AutoCAD problem.

For further information have a look at :
http://www.help-info.de/en/Help_Info_HTMLHelp/hh_command.htm

Try to start a batch file "command.bat" on your system with one line e.g.
HH.EXE mk:@MSITStore:C:\_temp\linking_example.chm::/Topic_Folder_1/KIT_title.htm

Best regards
Ulrich Kulle
***************************************
http://www.help-info.de
***************************************
Jade
2004-06-03 14:53:06 UTC
Permalink
Hi Ulrich

I got it to work with..

shell hh
mk:@MSITStore:C://My%20Projects/MyHelp.chm::/Drawing%20Check%20List.htm;

the only thing is it puts a Dos window behind the help file, however, when i
close the help file it will close the Dos window.

is there anyway too suppress the Dos window?

Thanks for the help!

J
Post by Ulrich Kulle
Hello Jade,
Post by Jade
Trying to link a specific Help Topic in my compiled .CHM in AutoCAD. I can
start up my .CHM file in AutoCAD with;
(startapp "c://windows//hh.exe" "c:///My Projects/My Help.chm") but now I
want to link a pecific Topic...
Drawings.htm
Trying to find some code in VBA that might work...but no success....
I don't have AutoCAD installed but I think the AutoCAD command line "startapp
.." needs a second parameter to your specific topic above.
(startapp "c://windows.hh.exe"
"mk:@MSITStore:C:\My%20Projects\My%20Help.chm::/QuickTips%20When%20Issuing%2
0Dra
Post by Ulrich Kulle
wings.htm")
Please check whether blanks and '%20' cause a AutoCAD problem.
http://www.help-info.de/en/Help_Info_HTMLHelp/hh_command.htm
Try to start a batch file "command.bat" on your system with one line e.g.
HH.EXE
Best regards
Ulrich Kulle
***************************************
http://www.help-info.de
***************************************
Ulrich Kulle
2004-06-04 10:56:10 UTC
Permalink
Hello Jade,
Post by Jade
I got it to work with..
shell hh
the only thing is it puts a Dos window behind the help file, however, when i
close the help file it will close the Dos window.
is there anyway too suppress the Dos window?
some thoughts:

1. You can start cmd.exe in a minimized modus. Set the execute property of
cmd.exe to "Minimized" or
2. Start a batch with /B like this:
start /B hh.exe mk:@MSITStore:C:\_temp\VBnetCHM.chm::/Garden_News/news.htm

For further information about /B see http://tinyurl.com/36a9f

I don't have AutoCAD installed so I don't know how it works with AutoLISP.

HTH

Best regards
Ulrich Kulle
*****************************
http://www.help-info.de
*****************************
Jade
2004-06-05 17:25:24 UTC
Permalink
Hi Ulrich

Your suggestion of /B worked with straight Windows but what it did in
AutoCAD is opened everything but then closed the dos window and the help
file also...

....it definitely is an AutoCAD thing....I will keep working on it and keep
you posted if i find anything. Tthe dos window will work for me for now.

Thanks for the help!

J
Post by Ulrich Kulle
Hello Jade,
Post by Jade
I got it to work with..
shell hh
the only thing is it puts a Dos window behind the help file, however,
when
Post by Ulrich Kulle
i
Post by Jade
close the help file it will close the Dos window.
is there anyway too suppress the Dos window?
1. You can start cmd.exe in a minimized modus. Set the execute property of
cmd.exe to "Minimized" or
For further information about /B see http://tinyurl.com/36a9f
I don't have AutoCAD installed so I don't know how it works with AutoLISP.
HTH
Best regards
Ulrich Kulle
*****************************
http://www.help-info.de
*****************************
Loading...