The section for radiobutton2 does not work properly
Usually it returns either nothing or it wil display the msgbox insuficient funds, and wont debi if its proper

' Declare the value of service charge
servicecharge = 10
transaction = TextBox1.Text

' Deposit Funds to the account
If RadioButton1.Checked = True Then
Label3.Text = Label3.Text + TextBox1.Text
End If
 
If RadioButton2.Checked Then
If Label3.Text > TextBox1.Text Then
Label3.Text = Label3.Text - TextBox1.Text
ElseIf TextBox1.Text.ToString > Label3.Text Then
MessageBox.Show("Insufficient Funds")
Label3.Text = Label3.Text - servicecharge
End If
End If
If RadioButton3.Checked = True Then
Label3.Text = Label3.Text - servicecharge
End If

the type of textbox.text and label.text is string , i think u need to Convert it to integer or double

I believe i tried , but im gettings errors, still, haveing suggestions, I appreciate your time and effort.

Dim servicecharge As Integer
Dim transaction As Integer
Dim Balance As Integer
' Declare the value of service charge
servicecharge = 10
transaction = TextBox1.Text
' Deposit Funds to the account
If RadioButton1.Checked = True Then
Balance = Int32.Parse(TextBox2.Text) + Int32.Parse(TextBox1.Text)
End If
 
If RadioButton2.Checked Then
If Int32.Parse(TextBox2.Text) > Int32.Parse(TextBox1.Text) Then
Balance = Int32.Parse(TextBox2.Text) - Int32.Parse(TextBox1.Text)
ElseIf Int32.Parse(TextBox1.Text) > Int32.Parse(TextBox2.Text) Then
MessageBox.Show("Insufficient Funds")
Balance = Int32.Parse(TextBox2.Text) - servicecharge
End If
End If
If RadioButton3.Checked = True Then
Balance = Int32.Parse(TextBox2.Text) - servicecharge
End If

Specifically what errors are you getting? When the program breaks look into the output window. It should throw an error like System.IO.InvalidCastException (just an example)

The section for radiobutton2 does not work properly
Usually it returns either nothing or it wil display the msgbox insuficient funds, and wont debi if its proper

ElseIf TextBox1.Text.[B]ToString[/B] > Label3.Text Then

Is that ToString supposed to be there?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.