Subject: How to connect remote databse using DSN Less
Posted By: jolo98 Post Date: 10/9/2006 11:43:02 AM
Hi,

I want to connect to remote database using DSN Less, how can I do that and also how to setup a connection string on the App.config? I'm using VB.NET 2005 Pro.

TIA

jrd
Reply By: jolo98 Reply Date: 10/9/2006 12:03:54 PM
oConn.Open "Driver={INTERSOLV InterBase ODBC Driver (*.gdb)};" & _
           "Server=myMachineName;" & _
           "Database=devserver:C:\POS\Data\Mydb.gdb;" & _
           "Uid=SYSDBA;" & _
           "Pwd=m*s***k*y"

I want to put the above code in an APP.CONFIG file, can someone show me how?


jrd

Go to topic 12048

Return to index page 153
Return to index page 152
Return to index page 151
Return to index page 150
Return to index page 149
Return to index page 148
Return to index page 147
Return to index page 146
Return to index page 145
Return to index page 144