Results 1 to 4 of 4

Thread: SQL2005 Connection!

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Question SQL2005 Connection!

    Hi!
    I'm a noob, and i'm trying to do a little application with vb2005 an dsql2005 express!
    What i'm trying to do is, when i open my aplication for the first time, it should let me browse the network and select the database to use, and verify that is the right database for my application, saving the path somewhere!
    After that, each time i open the application, it should somehow, verify if it is the right database, and if not, let me browse the network and select another database!
    How can i do this?

    Thanks!

  2. #2
    Join Date
    Feb 2003
    Posts
    1,048
    You need to have that function fire when the application start event occurs or just call it first thing in the main branch.

    Sorry I can't get into more detail than that. I stopped doing VB development about 5 years ago.

  3. #3
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    92
    ok, to get a list of the sql servers, look here:

    http://vbcity.com/forums/faq.asp?fid...ver&#TID113758

    you will need to store the server, database and connection details (perhaps in appconfig) so you can check them when the app starts up

  4. #4
    Join Date
    Mar 2009
    Posts
    2

    Thanks!

    Thank you guys!
    I'll work with this info!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •