Solved

user defined Connection Sting referencing database

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Setting location of a form 4 22
Converting C# Objects into JSON file 7 40
Expando 4 35
Get String split 5 33
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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 …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

759 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

19 Experts available now in Live!

Get 1:1 Help Now