Click here to Skip to main content
15,893,594 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSet Properties in App.config Pin
Mike0930-Sep-05 6:50
Mike0930-Sep-05 6:50 
AnswerRe: Set Properties in App.config Pin
rwestgraham30-Sep-05 9:36
rwestgraham30-Sep-05 9:36 
QuestionDebug Skill?? Pin
hung_ngole30-Sep-05 3:53
hung_ngole30-Sep-05 3:53 
AnswerRe: Debug Skill?? Pin
Dave Kreskowiak30-Sep-05 7:37
mveDave Kreskowiak30-Sep-05 7:37 
GeneralRe: Debug Skill?? Pin
hung_ngole30-Sep-05 15:03
hung_ngole30-Sep-05 15:03 
GeneralRe: Debug Skill?? Pin
Dave Kreskowiak1-Oct-05 3:14
mveDave Kreskowiak1-Oct-05 3:14 
QuestionData Control Pin
SoonerFan30-Sep-05 3:15
SoonerFan30-Sep-05 3:15 
AnswerRe: Data Control Pin
Briga30-Sep-05 3:32
Briga30-Sep-05 3:32 
An it could be the same also in VB.NET. The point is that your question is not very clear to me. What are form1 and form2: public, private?

You have several ways of doing it.

1) When you need it inside form2 code simply go for:
Textbox2.Text = Form1.Textbox1.Text (as you wrote, but make sure Form1 is a real object)

2) Whenever something changes in Form1

Private Sub TextBox1_Changed(...) handles TextBox1.Changed ' (not sure if it's changed the event name, better double check)
Form2.TextBox2.Text = TextBox1.Text ' (again make sure Form2 is a real object)
End Sub

Hope it helps.
If it doesn't please state the problem/error

AnswerRe: Data Control Pin
PatriceB30-Sep-05 3:35
PatriceB30-Sep-05 3:35 
AnswerRe: Data Control Pin
SoonerFan30-Sep-05 4:52
SoonerFan30-Sep-05 4:52 
AnswerRe: Data Control Pin
SoonerFan30-Sep-05 5:09
SoonerFan30-Sep-05 5:09 
Questionproblem regular expression Pin
absprogrammer30-Sep-05 1:37
absprogrammer30-Sep-05 1:37 
QuestionMS Agent Pin
Member 231895730-Sep-05 1:00
Member 231895730-Sep-05 1:00 
AnswerRe: MS Agent Pin
MohammadAmiry1-Oct-05 4:39
MohammadAmiry1-Oct-05 4:39 
Questionproject of vb.net Pin
Anonymous30-Sep-05 0:18
Anonymous30-Sep-05 0:18 
AnswerRe: project of vb.net Pin
Briga30-Sep-05 3:33
Briga30-Sep-05 3:33 
Questionproblem with changing txt colour Pin
Anonymous30-Sep-05 0:07
Anonymous30-Sep-05 0:07 
AnswerRe: problem with changing txt colour Pin
mystake30-Sep-05 2:48
mystake30-Sep-05 2:48 
Questionwindows printer spool Pin
Marc Soleda29-Sep-05 20:57
Marc Soleda29-Sep-05 20:57 
AnswerRe: windows printer spool Pin
Anonymous29-Sep-05 21:22
Anonymous29-Sep-05 21:22 
QuestionInstall Shield 10.5 Pin
_mubashir29-Sep-05 18:35
_mubashir29-Sep-05 18:35 
AnswerRe: Install Shield 10.5 Pin
rwestgraham29-Sep-05 20:20
rwestgraham29-Sep-05 20:20 
Questionsearching AND paging? Pin
BORN...again!29-Sep-05 16:36
BORN...again!29-Sep-05 16:36 
QuestionText Box Selection... Please help me out on this! Pin
Dr. Pool29-Sep-05 12:03
Dr. Pool29-Sep-05 12:03 
AnswerRe: Text Box Selection... Please help me out on this! Pin
Steve Pullan29-Sep-05 14:22
Steve Pullan29-Sep-05 14:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.