Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Open help file

  1. #1
    I could stop if I wanted to msretenovic's Avatar
    Join Date
    2002-02
    Location
    Galloway, Oh
    Posts
    304

    Question Open help file

    Hi all,

    I was hoping someone could tell me how to open help files with VBA. I have a routine that I would like to add a help file to, but I have NO idea how to do this.

    TIA,
    Michael K. Sretenović
    Most folks are about as happy as they make up their minds to be.
    -Abraham Lincoln (1809-1865)
    -16th president of The United States of America (1861 - 1865)

  2. #2
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Open help file

    Do you mean that you've written a custom help file and want to navigate to a specific topic, i.e. context sensitive help?
    C:> ED WORKING....

  3. #3
    I could stop if I wanted to msretenovic's Avatar
    Join Date
    2002-02
    Location
    Galloway, Oh
    Posts
    304

    Wink Re: Open help file

    Yes, I don't know how to do that and would appreciate a push.

    Thank you,
    Michael K. Sretenović
    Most folks are about as happy as they make up their minds to be.
    -Abraham Lincoln (1809-1865)
    -16th president of The United States of America (1861 - 1865)

  4. #4
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Open help file

    The hardest part is setting up the helpfile properly. After you've done that, each control on the form has a property to set the file name and context id.
    What are you using to create your help file? I'm only familiar with HTMLHelp Workshop.
    C:> ED WORKING....

  5. #5
    I could stop if I wanted to msretenovic's Avatar
    Join Date
    2002-02
    Location
    Galloway, Oh
    Posts
    304

    Question Re: Open help file

    Ed,

    Yes, this is the program that I am using to compile the help files. It's the only one that I know of at this point.

    What do I need to do to set the help file up?
    Michael K. Sretenović
    Most folks are about as happy as they make up their minds to be.
    -Abraham Lincoln (1809-1865)
    -16th president of The United States of America (1861 - 1865)

  6. #6
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Open help file

    There are 3 parts to make it work. First you have to create two new files using Notepad. They are C++ header files (*.h). One defines aliases, which is a tag mapping to an html file. The other maps topic ids, which you create, to the aliases. I'll attach an example of each. The second part is including them in your help project. In the project editor, DC on [Alias] or [Map] and add the files. The third part is, in vba, specify the help file and context id in the properties for controls on a form.
    Attached Files Attached Files
    C:> ED WORKING....

  7. #7
    I could stop if I wanted to msretenovic's Avatar
    Join Date
    2002-02
    Location
    Galloway, Oh
    Posts
    304

    Unhappy Re: Open help file

    Ed,
    I really appreciate your help, but I'm having a problem getting my button to call the help file . I have added the context ID to the HelpContextID property for the button. I have also added the file to the properties for the project. I have also placed the help file in my support path. But, when I click on the button, nothing happens.

    I would appreciate some more guidance on this.

    And thanks for the help you've given so far.
    Michael K. Sretenović
    Most folks are about as happy as they make up their minds to be.
    -Abraham Lincoln (1809-1865)
    -16th president of The United States of America (1861 - 1865)

  8. #8
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Open help file

    What environment are you working in?
    C:> ED WORKING....

  9. #9
    I could stop if I wanted to msretenovic's Avatar
    Join Date
    2002-02
    Location
    Galloway, Oh
    Posts
    304

    Default Re: Open help file

    Ed,
    I am using AutoCAD 2005.

    Thanks again for all of your help so far.
    Michael K. Sretenović
    Most folks are about as happy as they make up their minds to be.
    -Abraham Lincoln (1809-1865)
    -16th president of The United States of America (1861 - 1865)

  10. #10
    Forum Manager, Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    4,776

    Default Re: Open help file

    So, you mean vba in 05? not a VB exe or dll?
    C:> ED WORKING....

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 10
    Last Post: 2007-02-07, 06:43 PM
  2. Replies: 15
    Last Post: 2006-11-23, 02:47 AM
  3. Open file dialog box does not open
    By johannvonspiralspine in forum AutoCAD General
    Replies: 5
    Last Post: 2006-02-07, 03:28 PM
  4. Lost File/Open File/Save Dialog Box on Autocad 2000i
    By thegoffs.89856 in forum AutoCAD General
    Replies: 3
    Last Post: 2005-06-30, 09:05 PM
  5. open file dialog box slow to open
    By klanier in forum AutoCAD General
    Replies: 2
    Last Post: 2004-09-09, 02:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •