AEN
September 16th, 1999, 11:32 AM
OK, Here's a question...
I am a VC++ developer, and I am writing a VB client for one of my C++ servers. I want to know how to make a VB app that is a Sub Main() based project, pump messages or run.
If you load a form, VB will run the UI until a user presses a button to cause an exit. I have no main form and haven't figured out how to make the Sub Main() stay alive until the server sends a exit message.
Yes this is a little unusual, but quite needed for what I am doing. How about it?
I am a VC++ developer, and I am writing a VB client for one of my C++ servers. I want to know how to make a VB app that is a Sub Main() based project, pump messages or run.
If you load a form, VB will run the UI until a user presses a button to cause an exit. I have no main form and haven't figured out how to make the Sub Main() stay alive until the server sends a exit message.
Yes this is a little unusual, but quite needed for what I am doing. How about it?