Solved

user defined Connection Sting referencing database

Posted on 2006-07-05
3
218 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now