I try to make a simple .vb like this
create three textboxes named txtA, txtB and txtAplusB
then if you click a button named cmdPlus then the text in txtAplusB will include the texts in txtA and txtB
Here is the code for form
Private Sub cmdPlus_Click()
About Caculate() function, I create a .bas file and put code in it
Public Function Calculate() As String
txtAplusB.Text = txtA.Text + txtB.Text
It said error, txtA (txtB) is not defined ???
How can I make it run ?