Last post Mar 11, 2008 07:39 AM by siva_sm
Mar 11, 2008 02:39 AM|Boedax's Malay|LINK
Currently for connection to DB i using this code :
but if i want move the program to another pc, i must change the connection (PC name). I want make dynamic connection. for example.
Dim conect As
New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\" & PCName & "\data\HelpDesk\HelpDesk_Data.mdb;Jet OLEDB:Database Password=HELPDESK; ")
The PCname i take from textfile. so for 1st accessing the program, user must enter "PC Name"
How can i do it??
Note: i using vb.net 2003, Access 2003, Web base.
Mar 11, 2008 07:39 AM|siva_sm|LINK