View Single Post
  #7 (permalink)  
Old 12-02-2008, 7:21 AM
JohnH's Avatar
JohnH JohnH is offline
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Dec 2005
Location: Norway
Age: 37
Posts: 10,303
Reputation: 1315
JohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond repute
Default

I think you are referencing the wrong Form1 instance, probably because you are using the default instance. Default form instances are thread specific so from other threads a new instance is created and returned to you. You should pass the form instance reference to the BotClass and use this to invoke.
__________________
Reply With Quote