Friday, July 5, 2013

IF Statement Syntax If logicalcondition Then Compound Statement End If Sample Program that best illustrate the use of IF Statement in Visual Basic 6.0. Interface Object Properties Source Code  Private Sub cmdclose_Click() If MsgBox("Are you sure you want to end this program?", vbQuestion + vbYesNo, "Comparing Two Numbers using IF Statement") = vbYes Then     End End If End Sub Private Sub cmdIF_Click() If cmdIF.Caption...

Tuesday, July 2, 2013

Create the following interface by utilizing the simple concepts discussed by your instructor. Graphical User Interface: Source Code: Private Sub cmdClose_Click() If MsgBox("Are you sure you want to end this program?", vbQuestion + vbYesNo, "Hello World Application") = vbYes Then     End End If End Sub Private Sub cmdPrint_Click() If cmdPrint.Caption = "&Print" Then     txtPrint.Text = "Hello...