dear,

I'm a starting programmer, and I need to make Mastermind for school (vb.net).

It must work as single-player (thats already finished), but we also must make it work multiplayer. We got the server with the task, and don't have to program its ourselves.

I'm prety far now with my multiplayer game, but if I try to run it in debugger mode, I get the following error:

Image:
http://www.villa-kenya.com/error.jpg


I tried a lot of things, i've searched on google, and other forums, but I can't find why I get this error.

Can somebody please help me?

I've uploaded my project to www.villa-kenya.com/mastermind252230.zip
The zip file contains the project, and the server program (received from the teacher.


I'd really appreciate if you help me!
Thanks in advance;

Laurent

the whole problem lays in "Class frmMultiplayer"

you have declared: Dim msNickname As String = txtNickname.Text as global variable.
But txtNickname does not exist yet....

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.