Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 24th, 2006, 12:02 AM
Authorized User
 
Join Date: Nov 2005
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default including .chm in deployment setup.exe

I have a working vb.net application that I can build and run. I included a .chm help file.
The problem is this, I could see it coming.
In my application I set the help provider HelpNamespace to the path for my .chm file.
That is fine on my test machine, I have when I build
.exe
.chm
and a aplication.exe.config file that has inside it
add key="HelpProvider1.HelpNamespace" value=c:\etc...\xxxx.chm

Unfortunately, when I try to create a deployment setup.exe file it will do an install but when I try to run the program it fails with
"Additional information: The key 'HelpProvider1.HelpNamespace' does not exist in the appSettings configuration section."
This makes sense because the setup does not create a config file which is where the HelpNamespace path exists.

So my question is how do I make a deployment setup for an vb.net application that has a helpProvider pointing at a .chm file??
or
How do I include the .chm in my deployment and the executable can find it?

Thank you.



Reply With Quote
  #2 (permalink)  
Old March 27th, 2006, 11:55 AM
Authorized User
 
Join Date: Nov 2005
Location: , , .
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually,it was stupid of me. I have done mostly asp and a aspx applications.

The .chm help file I made with microsofts HTML Help Workshop and included into my application has the
add key="HelpProvider1.HelpNamespace" value= statement.

Well the easy answer was I just set the help provider value to just the application name and making sure my deployment solution included the
application and .chm and config all in the same directory (if that makes sense).

So I just needed to deploy everything in the same folder and not try to path to the .chm file.

Oh well, live and learn.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup and Deployment of the TheBeerHouse alex BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 July 17th, 2008 03:30 PM
best way for setup and deployment for VS 2005 priyan.viji .NET Framework 2.0 0 June 25th, 2008 03:44 AM
Including .chm file in deployment Setup.exe nutrino VB How-To 1 March 23rd, 2006 09:50 AM
setup and deployment problem wwwdirzala Classic ASP Basics 2 April 15th, 2004 08:40 AM
Setup And Deployment jpelayo VS.NET 2002/2003 2 July 25th, 2003 10:37 AM



All times are GMT -4. The time now is 03:15 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.