Results 1 to 4 of 4

Thread: How do I distribute a help file with my app using ClickOnce deployment

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Location
    North West UK
    Posts
    4

    How do I distribute a help file with my app using ClickOnce deployment

    I've used VB2008EE to create a Windows Forms app which includes a Help form. The helpform contains a Treeview for navigation and a WebBrowser control which displays the relevant part of an HTML page containg the help information.
    The app is intended to be used offline - so I need to include the HTML page file as part of the published app, and I need to be able to specify where this HTML file will be installed on the target computer so that the URI in my Helpform which loads the Help page will locate this file.
    (I expect the HTML file should live in the directory pointed to by the: My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData property)

    I would appreciate advice on how to specify the Project settings and Publish Wizard etc. (& whatever else is necessary) in order to achieve the above.

    TIA,
    Chris.

  2. #2
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: How do I distribute a help file with my app using ClickOnce deployment

    Don't use the clickonce. Use a freeware app. like INNOSETUP, whatever. Then you can add whatever you want. The only thing is that you need to learn how it works, but that shouldn't be the problem. Even I did it


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: How do I distribute a help file with my app using ClickOnce deployment

    ClickOnce does have certain limitations but this is not one of them. Using ClickOnce is fine. Simply add the Help file to your project and make sure that its Build Action is set to Content. The file will now be published.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2010
    Location
    North West UK
    Posts
    4

    Re: How do I distribute a help file with my app using ClickOnce deployment

    Quote Originally Posted by jmcilhinney View Post
    ClickOnce does have certain limitations but this is not one of them. Using ClickOnce is fine. Simply add the Help file to your project and make sure that its Build Action is set to Content. The file will now be published.
    Thanks for this. Did as you suggested, and formed the URI for the Help page using My.Application.Info.DirectoryPath - and it now instals on the client PC and operates as intended.

    Chris.

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