By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,986 Members | 1,522 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,986 IT Pros & Developers. It's quick & easy.

Get Value from another form's textbox

P: 1
Greets all...
need help on reading value from another form under the same project.
for example,
i have frm1 and frm2, in frm2, i gotta use back the frm1.txtbox1.text value,
how should i handle that?
i have tried the following

dim str1 as String = frm1.txtbox1.txt
if Instr(str1, "A") Then

it wont prompt me error, but my if statement doesn't went as i assume the read value is having problem...

the version i using now is MS Visual Basic 2005 Express

need it ASAP..thanx in advance
Nov 23 '07 #1
Share this Question
Share on Google+
1 Reply

P: 469
have you tried stepping through the program?

you can see where the issue is then.

as i'v never had an issue with

<formname>.<textboxname>.Text before
Nov 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.