I have a C++ server exe and I'm trying to make a vb app that talks to it. I have globally (or at least in the scope of my form) defined the server object, and now I'm trying to call a method. When the method is called, I get the error:

Run-time error '91': Object variable or With block variable not set.

How do I solve this?