Packaging HELP Files

Discussion in 'AutoCAD' started by mulligan, Apr 6, 2004.

  1. mulligan

    mulligan Guest

    I have created my own .HLP file and call it from within my application (using "help" command). However, unlike my .DCL files, if I try to include the .HLP file as a "Resource File" in my .VLX compile, the application will not find the file.

    How do you package a .HLP file with your application, so that when you publish it to others (i.e., send them a .VLX), the HELP file is available to calls from within the application?

    George Mulligan
     
    mulligan, Apr 6, 2004
    #1
  2. I generally just have people put help files in the same folder as the routine, then use a startapp type command to run
    them. Like (CT-WINRUN "myhelp.hlp")

    (DEFUN C:CT-WINRUN (NAME / )
    (IF (NOT (SETQ FILENAME (FINDFILE NAME)))
    (PROGN
    (ALERT (STRCAT "File " NAME " cannot be found."))
    (VL-EXIT-WITH-VALUE 1)
    )
    )
    (IF (NOT (FINDFILE (STRCAT (GETENV "SYSTEMROOT") "\\EXPLORER.EXE")))
    (PROGN
    (ALERT (STRCAT "Explorer cannot be found so file cannot be run."))
    (VL-EXIT-WITH-VALUE 1)
    )
    )
    (vl-arx-import 'Startapp)
    (STARTAPP (STRCAT (GETENV "SYSTEMROOT") "\\EXPLORER.EXE") FILENAME)
    )

    mulligan <>
    |>I have created my own .HLP file and call it from within my application (using "help" command). However, unlike my .DCL files, if I try to include the .HLP file as a "Resource File" in my .VLX compile, the application will not find the file.
    |>
    |>How do you package a .HLP file with your application, so that when you publish it to others (i.e., send them a .VLX), the HELP file is available to calls from within the application?
    |>
    |>George Mulligan

    James Maeding
    Civil Engineer/Programmer
     
    James Maeding, Apr 6, 2004
    #2
  3. mulligan

    mulligan Guest

    Thanks for the reply. I was just hoping there was a way to eliminate any user action... simply run the application and it contains everything it needs.
     
    mulligan, Apr 7, 2004
    #3
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 (here). After that, you can post your question and our members will help you out.