Thread: MsbBox Help

Results 1 to 2 of 2
  1. #1
    jeffrophin's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Behind You
    Posts
    165
    Reputation
    10
    Thanks
    22
    My Mood
    Psychedelic

    Question MsbBox Help

    i want to make it so that
    when somebody tries to exit
    my application a msgbox pops up and says

    Are You Sure You Want To Quit?

    then the person could click yes or no
    i know how to make a msgbox
    but i dont know how to make it so that
    when you exitout it pops up

    can anyone give me the code or something?
    plz?

  2. #2
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    If MsgBox( "Are you sure to exit ?",MsgBoxStyle.YesNo, "Confirmation") = MsgBoxResult.Yes Then
    End
    Else
    MsgBox( "You have chosen not to exit.")
    End If


    Hope this helps !!

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  3. [Help Request] Injector Admin help
    By asdfgas in forum Combat Arms Help
    Replies: 4
    Last Post: 04-27-2011, 06:12 PM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM