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

VB Code or ASP

andrpro Avatar
7y, 6m agoPosted 7 years, 6 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
7y, 6m agoPosted 7 years, 6 months ago

All Comments

(2) Jump to unreadPost a comment
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
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 > 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!