Results 1 to 2 of 2

Thread: How do I reference MDAC?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    How do I reference MDAC?

    I'm getting an error on this line of code. Do I have to reference something in general declarations?

    VB Code:
    1. Dim NewDB As New ADOX.Catalog

    I get message "Compile Error: User-defined type not defined"

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Look under Project -> References, you should see some listed that say "Microsoft ActiveX Data Objects 2.x" (x - 5 or 7 probably). Add that to your references.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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