Results 1 to 3 of 3

Thread: Displaying Windows Help [resolved]

  1. #1

    Thread Starter
    Addicted Member jordan23's Avatar
    Join Date
    Dec 2002
    Posts
    166

    Displaying Windows Help [resolved]

    How do I display my applications Help in C#? In VB6 I did the following. Thanks.

    Code:
    Private Const HelpCNT = &HB
    
    CommonDialog1.HelpFile = App.Path & "\HELPFILE.hlp"
       
    CommonDialog1.HelpCommand = HelpCNT Or cdlHelpSetContents
      
    CommonDialog1.ShowHelp
    Last edited by jordan23; Jan 20th, 2005 at 02:06 PM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    You can use either ways :
    1-
    Code:
    System.Diagnostics.Process.Start("c:\\a.hlp");
    2-
    Code:
    Help.ShowHelp(this,"c:\\a.hlp");
    You might need to look at the different args the static ShowHelp method takes.

  3. #3

    Thread Starter
    Addicted Member jordan23's Avatar
    Join Date
    Dec 2002
    Posts
    166

    Re: Displaying Windows Help

    Thanks. That was perfect.

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