Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

VB Application needs to report when online

Posted on 2004-09-13
6
Medium Priority
?
152 Views
Last Modified: 2010-05-02
I have a VB Application which I would really like to "notify" a web application (ASP, IIS) when it comes online, goes offline, or send an away message.

NOTE:  VB App is on a different server than the webserver

The only way I could imagine to accomplish this is to make a file with a status in it.  However that makes the web app slower since it has to read a file using the filesystem object everytime it loads.  Also can have issues with Norton Script Blocking


Any ideas?
0
Comment
Question by:Rowdyone52
5 Comments
 
LVL 55

Expert Comment

by:Ryan Chong
ID: 12050321
Maybe you can try to "ping" your web server via VB?

See:

Demonstrates 3 ways to Detect Whether Internet Connection is Active
http://www.freevbcode.com/ShowCode.Asp?ID=632
0
 

Author Comment

by:Rowdyone52
ID: 12050402
How would the web app recongnize the ping?
0
 
LVL 55

Expert Comment

by:Ryan Chong
ID: 12050495
Is you going to check whether a website (web server) is online / reachable or not? Is this what you trying to archive?

regards
0
 
LVL 76

Accepted Solution

by:
David Lee earned 2000 total points
ID: 12050669
Based on my knowledge of ASP applications they aren't actively running all the time so there's really nothing for the VB app to talk to.  The ASP portion only runs when some user asks for a page associated with it.  So until a page in the app is requested there's no way I can think of to pass any information to it.  I don't see any way to avoid having to read the information in when the ASP page runs.  But it doesn't have to be a text file read via the filesystem object.  You could have the VB application write the information into a database which would also be available to the ASP app.  Another approach might be to have the VB app write the information into an HTML file that could be read in via a server side include.  Personally, I'd go the database route.  That's what ASP is all about anyway.
0
 
LVL 7

Expert Comment

by:_agj_
ID: 12052316
can u clarify on the requirement?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question