Solved

user defined Connection Sting referencing database

Posted on 2006-07-05
3
224 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: 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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

615 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