Solved

user defined Connection Sting referencing database

Posted on 2006-07-05
3
221 Views
Last Modified: 2010-04-23
i am trying to package my database and program together.  My appconfig file refrenses a ppredefined location for the user, however my installer files allows the user to select a custom file location ot insall too. how do i configure my connection string to the users defined folder for my database.

0
Comment
Question by:michaelbuller
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
bruintje earned 500 total points
ID: 17046193
Hi michaelbuller,
----------

you could look at this project sample which basically gives you a start
http://www.codeproject.com/dotnet/SetupAndDeployment.asp

----------
bruintje
share what you know, learn what you don't
0
 
LVL 44

Expert Comment

by:bruintje
ID: 17046207
if you really need it in VB then there is a offline converter downloadable here > http://www.kamalpatel.net/ConvertCSharp2VB.aspx
0
 
LVL 27

Expert Comment

by:planocz
ID: 17047939
Here is some more code that might help.

6-Deploying VB.NET Applications

http://www.siue.edu/~dbock/cmis460/6-deploy.htm
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question