VB Code or ASP - HotUKDeals
We use cookie files to improve site functionality and personalisation. By continuing to use HotUKDeals, you accept our cookie and privacy policy.
Get the HotUKDeals app free at Google Play

Search Error

An error occurred when searching, please try again!

Login / Sign UpSubmit

VB Code or ASP

£0.00 @
I want to show a map of the uk with points on the map with the branches at work, i then want to run a PING command against each branch and if sucessful show green and if failed show red. I'm trying… Read More
andrpro Avatar
8y, 2m agoPosted 8 years, 2 months ago
I want to show a map of the uk with points on the map with the branches at work, i then want to run a PING command against each branch and if sucessful show green and if failed show red.

I'm trying to find a script example on google but cannot find one at the min, anybody know of one or use one?
andrpro Avatar
8y, 2m agoPosted 8 years, 2 months ago
Options

All Comments

(2) Jump to unreadPost a comment
Comments/page:
#1
try virtual earth or google maps API's - javascriptyou can then do the pinging in you server-side (asp.net) code using the HTTP object, set a (hidden field value on the page, and then plot the results on the map client-side from that hidden field
#2
It should be easy.

Getting an image into a VB project is no problem, nor is making pinpoints into objects that run code. The ping bit is easy enough. Just get each button to run "ping 12.34.56.8 > bleh.txt" and, after five seconds, load the contents of bleh.txt into a textbox or label. You'll probably not find a code sample for the entire thing, but for each of the three functions, certainly.

Post a Comment

You don't need an account to leave a comment. Just enter your email address. We'll keep it private.

...OR log in with your social account

...OR comment using your social account

Thanks for your comment! Keep it up!
We just need to have a quick look and it will be live soon.
The community is happy to hear your opinion! Keep contributing!