-
Is it possible to convert a string to the name of an object, in this case so it can be opened using show method.
The reason I'm asking is coz I have a client server setup. The server send the client a message(which is a string). The message will then tell the client which form to open.
Any help will be greatfully appreciated.
Cheers
Nick.
-
One method to open it (which would work with all old and new forms) is to create a separate program to invoke each one.
Then the server recieves the message, and (independantly of VB) invokes the program to invoke the form. Presumably, you would need to name the form invoker the same name as the form.
At least, it seems like this should be able to be done.
A second, less elegant method, would be to assign each form a specific value which could then be looked up and passed to a subroutine to invoke the proper form. That would require a re-compile each time you added a form, however.
Good Luck
DerFarm