I need to get the value of one field out of a web page.
I've never done web programming and I've never used the VB Web controls. I have no desire to learn all of the details because I doubt I'll ever have to do this again.
I have a Rogers Rocket Hub that I use at the cottage for internet access. I have been getting frequent intermittent internet problems all summer so I wrote a monitoring program which uses three threads to ping
- The Hub (192.168.1.1)
- The Primary DNS
- The Secondary DNS
What I also need to do is monitor the strength of the wireless signal between the hub and the cell tower. This information is available through the web server built into the hub. The signal strength is displayed as a graphic and the name of the graphic reflects the signal strength (e.g. Strength-4.gif). The actual element that displays the image has id="Strength". I'd like to attach a screenshot but I can't get a connection for long enough to do the upload. The relevent section is:
<td align="center" id="Strength">
<img src="http://admin/Strength-4.gif"/>
Unfortunately this code is buried about twenty levels deep in the page. I would appreciate it if anyone can tell me how to get the value in the second line programatically. The first time I go to the server I have to log in with a username/password but I don't care if I have to do this manually.