Adblock breaks this site

Visual Basic 6 setfocus

Discussion in 'Programming General' started by Flamespewer, Aug 30, 2008.

  1. Flamespewer

    Flamespewer Member

    Joined:
    Jun 29, 2008
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0
    Visual Basic 6 setfocus

    ok i know that you cant use it on some objects, but it is not working at all and it says "method or data member not found"

    it does not show up in the list that pops up and .value does not work..

    so i thought maybe i had to upgrade so i upgraded to service pack 6 and junk but it is still not working >_>
     
  2. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    Visual Basic 6 setfocus

    You've got Vista don't you.
     
  3. Darthatron

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0
    Visual Basic 6 setfocus

    Does Vista have Service Pack 6, already? D:
     
  4. Flamespewer

    Flamespewer Member

    Joined:
    Jun 29, 2008
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0
    Visual Basic 6 setfocus

    no i have xp, im just wondering if maybe i didnt download like an extra packet with more methods or something, cause im sort of stuck >_>
     
  5. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    Visual Basic 6 setfocus

    Can you post the control you're working with, code you're using, and anything else that might be insightful. Otherwise, we're really grasping in the dark.
     
  6. Flamespewer

    Flamespewer Member

    Joined:
    Jun 29, 2008
    Posts:
    64
    Referrals:
    0
    Sythe Gold:
    0
    Visual Basic 6 setfocus

    well like for example it doesnt seem to read things like


    If Opt1.Value ...

    says value is not a method even though at school we use it all the time

    and like in the form load section i put

    Opt1.setfocus but it doesnt recognize it either
     
  7. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    Visual Basic 6 setfocus

    Do you actually have a control on your form named "Opt1"?
     
< Sythe Login Program? | Need VISUAL C++ program ASAP >


 
 
Adblock breaks this site