Results 1 to 6 of 6
  1. #1
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,086
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful

    Question [Solved]MSG BOX help

    Hey guys, what is the code for a message box to have another button like a continue and close button? the standard msgbox just has an ok button. how do add my own/or change the properties of it?
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  2. #2
    hellldog's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    99
    Reputation
    10
    Thanks
    5
    My Mood
    Psychedelic
    msgbox ("hi")

  3. #3
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    MessageBox

    If you scroll down you'll see the other button types. E.g. abort,cancel,continue etc.

    MessageBox's return value is one of the button ID's if it's successful. I guess you can use if statements from there.

    if IDABORT do this

    if IDCONTINUE do this..

    Sorry I don't know any VB but I thought this might help.
    Last edited by Void; 03-02-2010 at 06:48 PM.

  4. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Code:
    If MsgBox("Heya Heya Heya This works " , vbOKCancel) = vbOk Then
        yad yada
    Else
        yada yada
    End If
    Code:
    Dim MsgResponse As Variant
    
    MsgResponse = MsgBox("Yada Yada Yada", vbOKCancel) 
    
    If MsgResponse = vbOk Then
        Yada Yada
    Else ' means cancel
        Yada yada 
        Exit Sub
    End If
    Last edited by NextGen1; 03-02-2010 at 07:25 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  5. #5
    zmansquared's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Location
    Kickin it at Microsoft
    Posts
    2,086
    Reputation
    36
    Thanks
    221
    My Mood
    Cheerful
    Sweet thanks Gen. you rock once again
    Need Help With Coding or Something??? MSN me
    zmansquared@hotmail.com


    I am the one and only Microsoft Fag!!!

    Quote:
    Originally Posted by Arhk
    All games should be hacked, if we don't do it someone else will. Hackers force the progress, of better programming methods.
    ~


    Take this Pic everyone!



    next-

  6. #6
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Not a problem, and your welcome


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [Solved] Draw Box HELP
    By AllMarcos in forum Combat Arms BR Coding Help
    Replies: 8
    Last Post: 08-25-2011, 10:33 AM
  2. [Help Request] i Didnt See Msg box Credits after inject
    By a7medsh3ban in forum CrossFire Help
    Replies: 20
    Last Post: 06-27-2011, 09:17 PM
  3. [Solved]Custom Form, Help
    By Zoom in forum Visual Basic Programming
    Replies: 9
    Last Post: 02-24-2010, 03:41 PM
  4. Message Box help
    By hopefordope in forum Visual Basic Programming
    Replies: 5
    Last Post: 02-20-2010, 02:43 PM
  5. Xat box help?
    By Luke6.5 in forum General
    Replies: 10
    Last Post: 01-05-2010, 10:48 PM