Results 1 to 7 of 7

Thread: ADO Data Control Events - Problems...

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    I have a standard ADO Data Control and am playing around with the Events. However, whenever I define an ADO DC event (using the VB framework) I get the following error:

    "Procedure declaration does not match description of event or procedure having same name"

    Looks like a name clash - but why... Dodgy references, DLL hell?

    Any ideas considered.

    Cheers,

    P.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  2. #2
    Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    53
    Is the ADO data control part of a control array?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    Tx for the interest.

    No its not. Just a v.simple form with one text box and a single ADO data control.

    Cheers,

    P.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  4. #4
    Lively Member
    Join Date
    Oct 2000
    Location
    New York City
    Posts
    73
    Hi Paul,

    What is the event giving you the error?

    Rich

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    It is any event with the ADO DC. The particular event is "MoveComplete". This error occurs at compile time so it is obviously a name clash - could it be double references?

    Cheers,

    P.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    I have got this one - I was referencing ADO 2.1 Library (the latest I had). The problem disappeared when I set the reference back to ADO 2.0! I don't have control of my environment and I am unsure what Service Pack we have! Ho hum...

    Thanks to all for their interest.

    Cheers,

    P.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  7. #7
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    good for you paul, I was just about to ask that question, so i could try to re-create your error, but hey, no need now
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

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