|
-
Aug 18th, 2005, 08:57 AM
#1
Thread Starter
Member
Professionally help needed bout Deployment
I finished my program and tried to make a setup application for it. I deployed the program and installed without any problem but it didnt work because of the database problem!
I used OleDbDataAdapter wizard to setup the connection and again generated the dataset from oledbdataadapter. I only wrote a simple code to fill the datagrid of my program with the table in my microsoft access database file. I think, I need to write some proper codes to setup a connection instead of using VB sh..t wizard. because when I try to run the program, it still tries to get the table from my C:\VisualBasic Projects\mypro\bin\db2.mdb and I want the program to be run on another computers directly. which codes do I need for this database connection and make my program a self executable file so my lovely supervisor can be able to run and test my program on his computer??
Professionally help needed!!
-
Aug 18th, 2005, 09:26 AM
#2
Hyperactive Member
Re: Professionally help needed bout Deployment
What you need to do is put your connection string into an App.Config file!
To do this simply load the properties panel for one of your connection objects. Click on Dynamic Properties then dynamically set your connection string!
When deploying your project you need only edit your conenction string with the correct database location!
-
Apr 20th, 2007, 09:10 AM
#3
New Member
Re: Professionally help needed bout Deployment
That's correct, but how one can do so?
What is the exact procedure to add a connection string to a web.config/app.config file during the installation?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|