Call Access application with VB
Results 1 to 8 of 8

Thread: Call Access application with VB

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    Botswana
    Posts
    9

    Post Call Access application with VB

    i've created an application in Access; i want to call this with VB; how will write a calling program in VB for this
    appreciate help from somebody
    thanks

  2. #2
    Registered User
    Join Date
    Oct 2000
    Location
    Kansas City, MO
    Posts
    1,162

    Post

    You can use the Access library. Just add it to your references. Also, you can use the Help in Access to find what you want to do. Just look for the Help section for VB.

    You may want to describe what you are wanting to call your application for?


    Cheers!

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Location
    Botswana
    Posts
    9

    Post

    thanks
    but i would have an icon on the desktop [an exe created in vb] so that user can click on it and access the ACCESS application
    hope my intention is clear
    appreciate ur opinion about it
    thanks

  4. #4
    Registered User
    Join Date
    Jun 2001
    Location
    LocalHost
    Posts
    762

    Post

    if I was you id used ADO,

    for help and examples try
    www.planet-source-code
    and www.vbcode.com

  5. #5
    Registered User
    Join Date
    Oct 2000
    Location
    Kansas City, MO
    Posts
    1,162

    Post

    Originally posted by KB:
    <STRONG>thanks
    but i would have an icon on the desktop [an exe created in vb] so that user can click on it and access the ACCESS application
    hope my intention is clear
    appreciate ur opinion about it
    thanks</STRONG>
    So, you want your Access application to be an executable file unlike the mdb format?

    You can connect to a Access database thru ODBC. Most programming languages will allow you to programmically use an ODBC connection. VB, C++, Java.... I'm still not fully understanding what you are wanting to do.

  6. #6
    Junior Member
    Join Date
    Jun 2001
    Location
    Botswana
    Posts
    9

    Post

    not an executable file; i understand in vb we can call an application object sort of thing;
    so i just wanted to use vb to call my access application by writing some codes in that line; hope i made it clear
    thanks

  7. #7
    Registered User
    Join Date
    Jun 2001
    Location
    England
    Posts
    48

    Post

    hi,

    If I understand correctly this may help you:

    Shell Execute

    If you goto www.vbworld.net by the link above it will take you to an example of how to open a file with it's default program.

    In your case the *.mdb file would be opened by access.

    Hope this helps.

  8. #8
    Junior Member
    Join Date
    Jun 2001
    Location
    Botswana
    Posts
    9

    Post

    thanks; i understood how to do it!
    how to create menus with macros in MsAccess?
    can u help me?

Bookmarks

Posting Permissions

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