Results 1 to 10 of 10

Thread: Simple messagebox problem

  1. #1

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    8

    Simple messagebox problem

    Hi,

    Is it possible to display a messagebox with an icon, and with Yes/No buttons too?

    Thanks
    Last edited by DarkVB; Dec 25th, 2004 at 12:16 PM.

  2. #2
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Underground Visual Basic

    Wait till Martin Liss sees this.

  3. #3
    Banned
    Join Date
    Dec 2004
    Posts
    174

    Re: Underground Visual Basic

    This should be considered

    ADVERTISING

    im new and i dintread the rules yet but im gonna check out if this is ALLOWED

  4. #4
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Underground Visual Basic

    To the moderators and administrators here in VBForums , "non-destructive virii" is still concidered malicious, even if it is only for educational purposes. My folder flooder I once talked about in one of these threads has been deleted by the administrator because of malicious reasons, even though folders do no damage. I was also warned and could be banned from here if I do it again.


    Now there is a possibility that this thread could be moved by the moderators or administrator somewhere else in another section since this section is for when people have problems or questions on their VB code. There maybe a possible chance that it maybe deleted.

  5. #5

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    8

    Re: Simple messagebox problem

    What are you on about?
    I was just asking a simple question!

  6. #6
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Simple messagebox problem

    You edited your first post and changed the title and the text. Don't play stupid around here.

  7. #7

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    8

    Re: Simple messagebox problem

    I'm kidding, chill out man, you're far too uptight!
    I've removed the advert and that's what matters, right?
    Can we still be friends?

  8. #8
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Simple messagebox problem

    Quote Originally Posted by DarkVB
    Hi,

    Is it possible to display a messagebox with an icon, and with Yes/No buttons too?

    Thanks
    VB Code:
    1. Private Sub Command1_Click()
    2.     If MsgBox("Would you like to exit?", vbQuestion + vbYesNo, "Confirm Exit") = vbYes Then
    3.         Unload Me
    4.     End If
    5. End Sub

  9. #9

    Thread Starter
    Banned
    Join Date
    Dec 2004
    Posts
    8

    Re: Simple messagebox problem

    That's just what I needed Rhinobull, thanks!

  10. #10
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Simple messagebox problem

    No problem, any time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width