Results 1 to 5 of 5

Thread: [RESOLVED] how to control the order of the message boxes that show

  1. #1

    Thread Starter
    Member
    Join Date
    May 2013
    Posts
    63

    Resolved [RESOLVED] how to control the order of the message boxes that show

    Hi guys

    i have a problem with to control the order of the message boxes that show, for example :

    I have A button Im My Form1 only 1 button okey here is what i want

    Private sub button1_click(byval ......

    Msgbox("Hello World 1")
    Msgbox("Hello world 2")
    Msgbox("Hello World 3")

    Ok so This will basically show the message boxes in order, But how to make It show the message box that say 'Hello world 3, and then 'Hello world 1, and then 'Hello world 2 ?

  2. #2
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: how to control the order of the message boxes that show

    Change the order.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  3. #3

    Thread Starter
    Member
    Join Date
    May 2013
    Posts
    63

    Re: how to control the order of the message boxes that show

    I want an other way :[

  4. #4
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: how to control the order of the message boxes that show

    Code:
            Dim order As String = "312"
            For Each c As Char In order
                MessageBox.Show("Hello World " & c)
            Next
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  5. #5

    Thread Starter
    Member
    Join Date
    May 2013
    Posts
    63

    Re: how to control the order of the message boxes that show

    Thank you !

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