Results 1 to 7 of 7

Thread: [RESOLVED] .HLP File

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    Resolved [RESOLVED] .HLP File

    Can someone explain using a .hlp file in a vb.net program. I have been googling and reading adn from i can tell chm is the new "Help file way to go. and u can use the helpprovider control

    However I already created a very simple which is all I need for my purposes .hlp file using shalom which I learned about from other post on this forum

    I am doing the following in my menuitems "Help file click event:

    System.Diagnostics.Process.Start("C:\Documents and Settings\name of .hlp file.hlp)

    This works great, I just dont understand how this will work when I compile and deploy the project??

    Couldnt or shouldnt the file be referenced within my project?

    Thanks for your time and patience in advance, i am still VERY new and learning
    Last edited by billboy; Dec 23rd, 2009 at 01:23 AM.

  2. #2
    Hyperactive Member gonzalioz's Avatar
    Join Date
    Sep 2009
    Location
    <body></body>
    Posts
    508

    Re: .HLP File

    Hi,

    I would add the help file to my project:
    1. Right click on your project in the solution explorer.
    2. Click on Add -> Existing Item
    3. Browse for your file and click add.

    You will now see your file in the solution explorer.

    1. Right click on it and click on properties.
    2. Set build action to 'content'.
    3. Set copy to output directory to 'copy if newer'.

    The file now always be in the directory your app runs from so now you can just call the item like this:

    Process.Start("filename.chm").

    Hope that helps!

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: .HLP File

    Don't use .hlp files - they were quickly going out of date when VB6 was released in 1998 (and VB6's help said not to use them), and are no longer supported.

    In order for users of Windows Vista and later to use them, they will need to install a program from Microsoft (which you are not allowed to distribute).

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    Re: .HLP File

    Quote Originally Posted by gonzalioz View Post
    Hi,

    I would add the help file to my project:
    1. Right click on your project in the solution explorer.
    2. Click on Add -> Existing Item
    3. Browse for your file and click add.

    You will now see your file in the solution explorer.

    1. Right click on it and click on properties.
    2. Set build action to 'content'.
    3. Set copy to output directory to 'copy if newer'.

    The file now always be in the directory your app runs from so now you can just call the item like this:

    Process.Start("filename.chm").

    Hope that helps!
    Yes thank you that helped ALOT. I didnt understand how to reference the file after i added to the project.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    Re: .HLP File

    Quote Originally Posted by si_the_geek View Post
    Don't use .hlp files - they were quickly going out of date when VB6 was released in 1998 (and VB6's help said not to use them), and are no longer supported.

    In order for users of Windows Vista and later to use them, they will need to install a program from Microsoft (which you are not allowed to distribute).
    Thanks thats what all my reading has lead me, Do you know of a good (free) program to write .chm file?
    Shalom was nice because it was very easy to use

  6. #6
    Hyperactive Member Zeljko's Avatar
    Join Date
    Oct 2006
    Location
    Internet
    Posts
    441

    Re: .HLP File

    HTML Help Workshop - free, Microsoft, and easy

    ...reading about HTML Help Workshop
    1. If this post helped you, please Rate it = That's You, saying Thanks, to Me ...Left side of this post: [Rate this post]
    2. Mark this Thread Resolved if your question has been answered That's You, saying Thanks, to Group ...Menu on top of your original Post: [Thread Tools]>[Mark Thread Resolved]
    3.
    Check my site: www.er-ef.netCheck my snippets: Get installed .NET versionsRegex extractingJoin hierarchically nested Datatables in one flattened Datatable


  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2009
    Location
    Los Angeles
    Posts
    1,335

    Re: .HLP File

    Thanks Everyone

Posting Permissions

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



Click Here to Expand Forum to Full Width