Results 1 to 10 of 10

Thread: DAO and VB Error [Solved]

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25

    DAO and VB Error [Solved]

    hello,

    I have been searching and cant find the answer. Im using DAO 3.5 with Access 97 database and I keep getting an Active X error when i try to open the app. when i use the vb P&D i still get the same error and i dont know what i am missing.

    Im testing this on multiple machines with fresh installs. What can i do to make sure everything works without getting this active x error.
    Last edited by eckotek; Jun 28th, 2004 at 07:22 PM.
    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."

  2. #2
    Lively Member
    Join Date
    Jun 2004
    Location
    Dubai, UAE
    Posts
    64
    Hi

    An ActiveX error will occur only when you are missing some .dll or .ocx. Cross check whether you have included all the dll and the ocx you are using in your project in the PDW. I remember doing this have resolved this issue.

    Gs

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25
    I have spend hours looking for any missing .dll's or anything else. Nothing I keep getting that stupid ActiveX component cant create object. What else can i do? P&D wont even add the right files to make it work.

    [Currently testing on a fresh install on Windows XP Pro]
    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."

  4. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106
    DAO 3.5 or DAO 3.51. Perhaps they are the same thing. It seems to me that 3.51 worked for Access97, but not 2000. That's just my memory, but it may be faulty. Without looking it up, I'm not sure, but I would suggest that you try a newer version of DAO, and see if that solves it.

  5. #5
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373
    are you distributing MDAC with your app?

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25
    Shaggy Hiker:

    I will go ahead and try a newer version see if it works.

    Kleinma:

    Yup using the P&D it distributes MDAC 2.0 and it install's it while installing the application, but for some reason i still get that activeX error. doing database apps seems to be a headache.
    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."

  7. #7
    Hyperactive Member Vishalgiri's Avatar
    Join Date
    Oct 2003
    Location
    India
    Posts
    345
    Why don't u use ADO.
    Regards,
    Vishalgiri Goswami
    Gujarat, ( INDIA ).
    ---------------------

  8. #8

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25
    When i was browsing on how to connect access to VB, thats the example i found so i worked off that.
    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Apr 2004
    Posts
    25
    Thank you for everyones help!!! I was able to obtain InstallShield from my friend and that did the job.

    Thanks again to everyone that tried to help!
    "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."

  10. #10
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    Originally posted by Vishalgiri
    Why don't u use ADO.
    What difference does it ake to u what he uses?

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