Solved

user defined Connection Sting referencing database

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vb.net deleting excel sheet in workbook 11 55
VB.Net  Exporting Excel Woorkbook to PDF 7 72
Format Transaction Number 19 49
How do i create a simple array in a public class? 6 36
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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