Interchanging data between to "sub" forms

Antoine

Regular
Joined
Aug 12, 2003
Messages
58
Location
The Netherlands
Hello,

Can anyone help me with the following problem ?

I have a mainform and two "slave" forms. Problem is that I want to send data from slaveform 1 to slaveform 2. I get the error " Object reference not set to an instance of an object.".

I declared the form with:

Dim frmTelnet As frmTelnet
frmTelnet.ttxtLineNumber.Text = 39

Where ttxtLineNumber.text is a textbox.

When I declare the form with

Dim frmTelnet As New frmTelnet then it seems that something is happening but that I can not see it (I see the telnet device flash which it is supposed to do), but the form stay's the same. In other words, nothing happens on the screen.

What can be the problem ?

Regards,
Antoine
 
Back
Top