D
david.leedom
I am at my witts end, which is not saying very much....
I am building a commerical VB.NET applicaiton. The assumptions are:
*The Server IP number is different for every deployment.
*Possibly the database engine is different for every deployment (SQL
Server, Oracle, Firebird, Postgresql)
*And finallly the database Login and password may be different for each
deployment.
I am trying to use the built in Visual Studio 2005 ado.net code
generation. So I don't want to change the generated code and have to
worry about it getting lost.
It appears that the generated code uses the application settings to
store the connection string I am using at design time. It also appears
that VS 2005 goes to a lot of trouble to not allow me to change the
connection string at run time.
My issue seems to be a common for commerical applications. I want to
have a settings screen were the user enteres the basic connection
information during the install process and have the VB.net application
remember these settings forever.
The best way to do this in my mind is to have my custom settings form
change the application settings (app.config) file. But (connect
string) settings can not have a user scope.
So how to others solve this problem?
I am building a commerical VB.NET applicaiton. The assumptions are:
*The Server IP number is different for every deployment.
*Possibly the database engine is different for every deployment (SQL
Server, Oracle, Firebird, Postgresql)
*And finallly the database Login and password may be different for each
deployment.
I am trying to use the built in Visual Studio 2005 ado.net code
generation. So I don't want to change the generated code and have to
worry about it getting lost.
It appears that the generated code uses the application settings to
store the connection string I am using at design time. It also appears
that VS 2005 goes to a lot of trouble to not allow me to change the
connection string at run time.
My issue seems to be a common for commerical applications. I want to
have a settings screen were the user enteres the basic connection
information during the install process and have the VB.net application
remember these settings forever.
The best way to do this in my mind is to have my custom settings form
change the application settings (app.config) file. But (connect
string) settings can not have a user scope.
So how to others solve this problem?