Results 1 to 5 of 5

Thread: connecting an Access .MDB and a .MDW file to VB

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    455

    connecting an Access .MDB and a .MDW file to VB

    Dear VB users,

    Is it possible to connect an Access .MDB and a .MDW file to VB? Can someone give me source how to do this?
    There is no Access (run time available).

    Nice regards,

    Michelle.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Its been posted about several times.

    DAO
    You need to set the SystemDB properties BEFORE opening workspace(s)/database(s) on it

    ADO
    Normal connection string, but extra information as to which mdw to use and th edefault user name and password.


    Have a search (top right) for the other posts.

    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    from the able consulting link below
    oConn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
    "Dbq=c:\somepath\mydb.mdb;" & _
    "SystemDB=c:\somepath\mydb.mdw;", _
    "myUsername", "myPassword"
    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  4. #4
    Lively Member WiseGuy's Avatar
    Join Date
    Apr 2002
    Location
    Zierikzee, The Netherlands
    Posts
    98
    I'm not a real expert, but I always like to respond to someone from the same country

    You don't need acces installed to get an Acces DB running but it's a lot easier if it is installed.

    Here's a program that comes from an other forum and it should be capable of connecting to an acces DB without having Acces installed.

    Maybe this 'll help you get started


    Mazzels,


    WiseGuy
    Attached Files Attached Files
    I stuck my head out of the window and got arrested for mooning!

    This Post is sponsored by my PC: PIII900, 512MBDimm/133, Seagate 40GB/7200 ATA100, LiteOn 12x DVD, Lite-On 32x12x40 CDrw, Elsa Geforce2 Ultra 64MB incl tv-out, SoundBlaster Live 1024, Ilyama A702HT Vision Master Pro410 17".
    O/S: Windows XP Professional (dutch)
    Internet: Cable (1Mbit connection)

  5. #5
    Member
    Join Date
    Apr 2002
    Posts
    42
    I think no need of access to be installed.

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