Anyone good at VB?

Discussion in 'Technology' started by Jason Bourne, May 29, 2005.

Users Viewing Thread (Users: 0, Guests: 0)

  1. Jason Bourne

    Jason Bourne Registered User

    Joined:
    Oct 14, 2002
    Messages:
    5,337
    Likes Received:
    0
    Anyone good at VB?

    Got any Idea why lines such as

    Private WithEvents rsRecordSet As ADODB.Recordset

    Would produce errors? Its seems that my VB doesn't accept ADO connections.. how do I get round this?

    I've enable the ADO thing in project, references but its still spewing this shite out.. :down:
  2. 1615634792921.png
  3. jamesrw

    jamesrw Guest

    What's the exact error you are getting?
  4. Jason Bourne

    Jason Bourne Registered User

    Joined:
    Oct 14, 2002
    Messages:
    5,337
    Likes Received:
    0
    I've kinda given up on the ADODB thing and moved onto implemeting a text file..

    and guess what..

    I'm having trouble with that 2 :(

    Think I'm gonna be buying some books 2moro..
  5. BRID

    BRID Has name in red. Staff

    Joined:
    Jan 31, 2003
    Messages:
    8,341
    Likes Received:
    218
    Location:
    Ever changing
    try setting it as a public variable instead of a private one - perhaps its out of scope or something

    or put 'New' in front of the variable type.
  6. Jason Bourne

    Jason Bourne Registered User

    Joined:
    Oct 14, 2002
    Messages:
    5,337
    Likes Received:
    0
    OMG... I'm a gimp.

    This was soooo simple to do.. it was staring me in the face all the time.

    I setup a recordset and some labels to display the selected records info.

    Once this was done I related the list box I had created with the data.

    I'll post a screenie when its done so u guys know exactly what I was going on about. (Bet your geeeet excited to see it :lol: )

    Thanks for the help guys!
  7. loopyloosy

    loopyloosy Registered User

    Joined:
    Feb 19, 2002
    Messages:
    5,026
    Likes Received:
    2
    Location:
    location, location.
    thats just what i was going to say!!!:confused:
  8. Jason Bourne

    Jason Bourne Registered User

    Joined:
    Oct 14, 2002
    Messages:
    5,337
    Likes Received:
    0
    :lol:
    it all makes sense really..

    Wait for the excitement that is a screen cap of it all :up:

Share This Page