A messagebox is a UI function within VB. It is not an object you could pass.
Send a text message via winsock, and decode that message at the receiving end... Then, return an acknowlegment message BACK to the server.
WHERE is the above statement located? I would think that it should be located in the queryunload event. And, you will need to place code in the queryunload event to verify that the ACK from the client has been received before the unload can continue.
I suggest you take a look at the communications forum at our INet sister site, XTremevbTalk.Com
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert