If someone can please help with this, how is this even possible.

See pic attached...I even did a Thread.Sleep(1000) to make sure the variable gets set to true and then close the port...still.. !


OK nevermind, I was to lazy, still a wierd error, but just close the datarecieved event instead(like I probable should have done)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.