Help me now please. a msgbox yes/no

Discussion in 'Archives' started by damien121, Jul 1, 2007.

Help me now please. a msgbox yes/no
  1. Unread #1 - Jul 1, 2007 at 3:20 PM
  2. damien121
    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0

    damien121 Forum Addict

    Help me now please. a msgbox yes/no

    now i have this command box. and the code for the box is this.

    Right what i want to do is make it so if they click yes it send a different box to them and if they say no it does nothing.
    now obviously there is a code for this.
    please tell me the code and it has to be a ok box [vbokonly]
    please reply asap.
    thanks
     
  3. Unread #2 - Jul 1, 2007 at 3:22 PM
  4. Larry
    Joined:
    Feb 2, 2007
    Posts:
    267
    Referrals:
    2
    Sythe Gold:
    5

    Larry Forum Addict

    Help me now please. a msgbox yes/no

    if MsgBox("you want fletching help?", vbYesNo, "you need help..?")=vbyes then
    dostuffhere_in_case_they_choose_yes
    else
    dostuffhere_in_case_they_choose_no
    end if
     
  5. Unread #3 - Jul 1, 2007 at 3:24 PM
  6. damien121
    Joined:
    May 3, 2007
    Posts:
    489
    Referrals:
    0
    Sythe Gold:
    0

    damien121 Forum Addict

    Help me now please. a msgbox yes/no

    thanks larry. can i add you on msn so you can give meh general help? thanks add me plz [email protected] =)
     
  7. Unread #4 - Jul 2, 2007 at 3:19 AM
  8. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Help me now please. a msgbox yes/no

    You can also use:
    Code:
    dim outcome
    outcome = msgbox("want help?",vbquestion + vbyesno,"need help?")
    select case outcome
      case vbyes
        'you selected yes
      case vbno
        'you selected no
    end select
     
< news/tabliods | Need Account Trainer! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site