vb converter example
vb code is:- Private Sub cmdChangeOunceGram_Click() Call cmdClearOunceGram_Click If Label5.Caption = "Ounce" Then Label5.Caption = "Gram" Label6.Caption = "Ounce" Else Label5.Caption = "Ounce" Label6.Caption = "Gram" End If End Sub Private Sub cmdClearPoundKilo_Click() text1.Text = "" text2.Text = "" End Sub Private Sub cmdChangePoundKilo_Click() Call cmdClearPoundKilo_Click If Label1.Caption = "Pound" Then Label1.Caption = "Kilogram" Label2.Caption = "Pound" Else Label1.Caption = "Pound" Label2.Caption = "Kilogram" End If End Sub Private Sub cmdClearCaratGram_Click() Text3.Text = "" Text4.Text ...