Results 1 to 4 of 4

Thread: [RESOLVED] Connecting to MySQL?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2005
    Posts
    17

    [RESOLVED] Connecting to MySQL?

    Right, I have MySQL installed with ADODB on another PC, I do all my programming on this PC, therefore I have installed ADOBD on this PC too.. Right, whenever I issue the :
    VB Code:
    1. Private dMySQL As New ADODB.Connection
    I get:
    User-defined type not defined
    What am I not doing?
    Last edited by Pedster; Sep 17th, 2005 at 03:48 PM.
    Regards,
    Peter

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: Connecting to MySQL?

    Have you added the component to your app?

  3. #3
    Hyperactive Member
    Join Date
    May 2005
    Posts
    324

    Re: Connecting to MySQL?

    Go to Project/References and see if a Microsoft ActiveX Data Objects library is checked. If not check Microsoft ActiveX Data Objects 2.8 library.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Sep 2005
    Posts
    17

    Re: Connecting to MySQL?

    Quote Originally Posted by dglienna
    Have you added the component to your app?
    Ok, my fault.... I didnt reference it
    Regards,
    Peter

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