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.. !

1c3e8e81ba2568b9cd5c1db56134bc91

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, networking, learning, and sharing knowledge.