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

    VB Connection String Help wanted..........!!!!!!!!!!

    Can i access my database (*.mdb file), which is on a free web site (http://geocities.com/XYZ/XYZ.mdb).
    through Visual Basic 6.0.
    If yes , what is the connection string required.


  2. #2
    Join Date
    Feb 2000
    Location
    Ireland
    Posts
    808

    Re: VB Connection String Help wanted..........!!!!!!!!!!

    Try this

    Dim oconn as ADODB.Connection
    set oconn = new ADODB.Connection
    oconn.Open "Provider=MS Remote;" & _
    "Remote Server=http://www.geocities.com;" & _
    "Remote Provider=Microsoft.Jet.OLEDB.4.0;" & _
    "Data Source=\XYZ\XYZ.mdb;", _
    "admin", ""




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