Posts

Showing posts from March, 2020

vbdicussion

Hello viewer's we will discussion about visual basic 6.0 here. Enter your idea's and comment here. 

Visual Basic 6.0 Simple Calculator

Image
Here i will submit my simple calculator project and sourcecode. i want discuss about my this simple program. Can you Answer for my doubt about some error handler? when i press after clear a symbol application run out with error . how can i complete the error handler. run time error = 13 (bellow msgbox using TSC AVERengal font) Private Sub Command1_Click() If Text1.Text = "" Or Text2.Text = "" Then MsgBox "/Please provide valid data" Exit Sub End If Label1.Caption = Val(Text1.Text) * (Text2.Text) End Sub Private Sub Command1_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then Command2.SetFocus End If End Sub Private Sub Command2_Click() Text1.Text = " " Text2.Text = " " Text3.Text = " " Label1.Caption = " " Text1.SetFocus End Sub Private Sub Command3_Click() If Text1.Text = "" Or Text2.Text = "" Then MsgBox "¾¸Å¨Ä ¯ûǣΠ¦ºöÂ×õ !!!" Exit Sub End If Label1...