Results 1 to 4 of 4

Thread: Using vb6 with ms access

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    1

    Unhappy

    We are novices with vb6. We are building a project using vb6 as the front end and using ms access as the data base.

    How do we use the macros that are built in access to run the vb6 program?

  2. #2
    Lively Member
    Join Date
    Aug 1999
    Posts
    89
    Why do you need to run the macro to execute your vb application?? Why don't you just use ADO in your vb application to access the database?? This is a more extensible solution.

  3. #3
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Thumbs up

    There are things available in Access that are not available in VB, and vice versa. That being said, lychew is correct in pointing out that you should review your design. Tell us what you're trying to do and maybe we can offer a better way (well, different, anyway) of doing it.

  4. #4
    Lively Member
    Join Date
    Mar 1999
    Posts
    93

    Cool

    Create a module in database file that contains function that runs a macro from within the mdb file. Then open MS Access as OLE Object and call to that function
    Regards,
    Vit

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