Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why dusn't this code Work?
#2
Sorry to hear you're having trouble, here is a corrected version of that.(Note there's probably a million other ways to do this.)

Code:
If CheckBox1.Checked = True Then
            MsgBox("Test", MsgBoxStyle.OkOnly, "Test")
        Else
            If MsgBox("test", MsgBoxStyle.OkCancel, "test") = MsgBoxResult.Cancel Then
                If MsgBox("Are You Sure?", MsgBoxStyle.YesNo, "Test") = MsgBoxResult.Yes Then
                    Me.Close()
                End If
            End If
        End If


Messages In This Thread
Why dusn't this code Work? - by Aaron Rogers118 - 02-17-2012, 12:13 PM
Re: Why dusn't this code Work? - by zmanalpha - 02-18-2012, 05:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Downloading from FTP server doesn't work brco900033 5 20,857 08-16-2013, 04:32 AM
Last Post: brco900033
  Windows API Code Pack 1.1 brco900033 1 8,317 10-30-2012, 08:12 PM
Last Post: brandonio21
  Code From .exe manishshrestha60 2 11,441 09-26-2012, 04:06 AM
Last Post: Macatone

Forum Jump:


Users browsing this thread: 1 Guest(s)