Wrox Home  
Search P2P Archive for: Go

  Return to Index  

activex_data_objects thread: Re: VB, MS Access, And Windows 2000


Message #1 by darrell.r.pitzer@e... on Mon, 1 Apr 2002 17:23:32
> 2) My second question is is there a way in VB to just make a connection 
to 
t> he database?... because if I make a program, the user (other than me), 
h> as to go into the control panel and add the DSN, or however in Win2000. 
I 
j> ust want to be able to connect to the database that is within the same 
f> older as the program, so a lamen computer user can still use the 
program 
f> resh without having to make the DSN connection themselves...

You can make connections to databases in VB, using ADO, without the need 
to set up a DSN. Here's a site that has a lot of examples of connection 
strings ... check it out:  http://www.able-consulting.com/ADO_Conn.htm

-- Darrell Pitzer

  Return to Index