Click here to Skip to main content
16,011,647 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB.Net Help Pin
Dave Kreskowiak6-Feb-05 3:59
mveDave Kreskowiak6-Feb-05 3:59 
GeneralRe: VB.Net Help Pin
violetpiranha6-Feb-05 17:48
violetpiranha6-Feb-05 17:48 
GeneralRe: VB.Net Help Pin
Dave Kreskowiak7-Feb-05 1:35
mveDave Kreskowiak7-Feb-05 1:35 
GeneralRe: VB.Net Help Pin
violetpiranha7-Feb-05 17:00
violetpiranha7-Feb-05 17:00 
GeneralRe: VB.Net Help Pin
rwestgraham7-Feb-05 19:31
rwestgraham7-Feb-05 19:31 
GeneralConnection string need Help! Pin
DevSilver5-Feb-05 22:31
DevSilver5-Feb-05 22:31 
GeneralRe: Connection string need Help! Pin
Member 17123636-Feb-05 8:09
Member 17123636-Feb-05 8:09 
GeneralRe: Connection string need Help! Pin
Port19817-Feb-05 23:11
Port19817-Feb-05 23:11 
hi there my friend,

how about you do like this, it works in many ways

Make a config.ini in you app root directory

Config.ini
--------------
servername=MYSERVER {this is your servername}
databasename=MYDATABASE {this is your database name}
...
--------------

then retrieve the server name using FilesyStemObject(this might be a long
approach but it works and expandable)

so your connection string will look like this.

Put this in you form
-----------------------
'retrieve the string value in config.ini
'...
'After that put that value in a variable

strDBase = (retrieve database name)
strServer = (retrieve server name)

MYCONNECTION = "Provider=SQLOLEDB;User ID=sa;nitial Catalog=" & strDBase & ";Data Source=" & strServer
-----------------------




Beyond the Basic; Underground
ideas(Legal, but not commercially available due to the fact that, we use to develop software which we can earn more income not for the sake of personal satisfaction). Anything about IT.

Generalaudio .wav files invoked on a form Pin
5-Feb-05 16:42
suss5-Feb-05 16:42 
GeneralRe: audio .wav files invoked on a form Pin
The Man from U.N.C.L.E.6-Feb-05 23:07
The Man from U.N.C.L.E.6-Feb-05 23:07 
GeneralStorage method? (a bit stuck) Pin
killerspam5-Feb-05 15:29
killerspam5-Feb-05 15:29 
GeneralRe: Storage method? (a bit stuck) Pin
Anonymous7-Feb-05 19:03
Anonymous7-Feb-05 19:03 
QuestionHow do you.... Pin
Badg3r19775-Feb-05 2:13
Badg3r19775-Feb-05 2:13 
AnswerRe: How do you.... Pin
Dave Kreskowiak10-Feb-05 5:57
mveDave Kreskowiak10-Feb-05 5:57 
General.Net Framework SP1 problem Pin
viju.net4-Feb-05 22:07
viju.net4-Feb-05 22:07 
GeneralRe: .Net Framework SP1 problem Pin
Dave Kreskowiak5-Feb-05 5:05
mveDave Kreskowiak5-Feb-05 5:05 
Generaldrag & drop picturebox Pin
tendlya4-Feb-05 20:59
tendlya4-Feb-05 20:59 
GeneralURGENT..Can not change the code after deployment Pin
Ranoush4-Feb-05 19:57
Ranoush4-Feb-05 19:57 
GeneralRe: URGENT..Can not change the code after deployment Pin
Robert Rohde4-Feb-05 20:59
Robert Rohde4-Feb-05 20:59 
GeneralRe: URGENT..Can not change the code after deployment Pin
Ranoush4-Feb-05 21:11
Ranoush4-Feb-05 21:11 
GeneralRe: URGENT..Can not change the code after deployment Pin
Colin Angus Mackay5-Feb-05 5:52
Colin Angus Mackay5-Feb-05 5:52 
GeneralRe: URGENT..Can not change the code after deployment Pin
Ranoush5-Feb-05 8:32
Ranoush5-Feb-05 8:32 
GeneralRe: URGENT..Can not change the code after deployment Pin
Colin Angus Mackay5-Feb-05 8:38
Colin Angus Mackay5-Feb-05 8:38 
GeneralRe: URGENT..Can not change the code after deployment Pin
Bad Sector7-Feb-05 18:35
Bad Sector7-Feb-05 18:35 
Questionhow to track key buttons? Pin
chand_p4-Feb-05 11:17
chand_p4-Feb-05 11:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.