Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...