C# [Windows Application] - How to add user manual to Help menu using C# ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NIKHILUNNIKRISHNAN
    New Member
    • Jun 2008
    • 22

    C# [Windows Application] - How to add user manual to Help menu using C# ?

    Experts,

    I have created the GUI for an application which has a lot of menus. I have a menu named "Help" and a sub-menu item named "About" inside it. I would like to add User manual, [a PDF document] into that sub item. How can I do that using C# ? I am using Visual Studio 2005.
    Expecting an expert solution ,





    with advance thanks and regards from,
    Nikhil Unnikrishnan K
  • joedeene
    Contributor
    • Jul 2008
    • 579

    #2
    If its a menuitem? then have the code set to something like process.start(p dffilelocation) ? under the menustripitems click event handler

    joedeene
    Last edited by Curtis Rutland; Oct 9 '08, 11:58 PM. Reason: Removed unnecessary quote

    Comment

    • NIKHILUNNIKRISHNAN
      New Member
      • Jun 2008
      • 22

      #3
      Hi Joedeene ,

      Your sugession was really helpful for me. It works well. Thanks a lot for the help provided. I have a doubt Joedeene. Why it didnt work when i give " file.open (path, filemode, file access) " ?

      Comment

      • joedeene
        Contributor
        • Jul 2008
        • 579

        #4
        Well, the File.Open Method returns a System.IO.Strea m to the string you entered in the path parameter, and the Process.Start Method starts the process, or attempts and its return value is a boolean stating whether the process resource has started(true) or has not(false).

        joedeene

        Comment

        • Curtis Rutland
          Recognized Expert Specialist
          • Apr 2008
          • 3264

          #5
          In slightly more simple terms, File.Open opens the file for read/write. Process.Start causes the OS to start a file.

          Comment

          • NIKHILUNNIKRISHNAN
            New Member
            • Jun 2008
            • 22

            #6
            Hi Joedeene and InsertAlias,

            That was the answer which I wanted. Thank you both for your time and your attension payed on my silly question. I am beholden to you both.

            Comment

            Working...