PDA

Click to See Complete Forum and Search --> : View Status of application over the internet using VB


IgnitionWorX
May 17th, 2010, 05:47 AM
Hi I am new to VB can anyone point me in the right direction in writing an application to view the status of my other app on a server, so that I know when the apps get an error or disconect from the internet.

Anyone with an idea?

danecook21
May 17th, 2010, 01:36 PM
What version of VB? For VB6 look up Winsock. For VB.NET look up the Sockets class. These are what you use to send information over the network/internet. As far as monitoring this other app, you could have that app log everything to a text file then have the remote app download this file. Or have the server constantly send back its state to the remote app. Those are a couple different ways to do it. But learn the basics of socket programming before worrying about that part.

dbasnett
May 17th, 2010, 02:13 PM
Good advice from dane. One other thing to check on is that you have a public IP.

IgnitionWorX
May 18th, 2010, 02:00 PM
Yes I have a public IP coz my clients connect and get data from my server.
I am would like that the server program send me a message every now and then.
I am using visual basic 2008.

dbasnett
May 18th, 2010, 02:21 PM
http://social.msdn.microsoft.com/Search/en-us?query=socket

IgnitionWorX
May 19th, 2010, 07:45 AM
Ok. So now that I understand this socket connection thing, what else do I need to konw to make this work?