CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Location
    Ontario, Canada
    Posts
    1

    Remote database connection

    How can I link data controls in a VB application to a database that is stored on a remote server? The IP address is fixed if that makes it easier. I am not worried about security right now as this is primarily for my own learning experience.

    Any help is greatly appreciated.
    WeaSiL


  2. #2
    Join Date
    Aug 2001
    Posts
    26

    Re: Remote database connection

    during database connction in connectstring you specify some thing like this
    dim myconn as connection
    myconn.connectstring("provider=xxx;Driver={};User ID=;Password=;Server= here you specify the ip adddress u got/server name"
    myconn.open myconn.connectstring

    this will connect to remote server.



Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured