?
Solved

Automating router logon

Posted on 2005-04-05
2
Medium Priority
?
167 Views
Last Modified: 2010-05-02
I am trying to automate the logon to my satellite broadband.
This is a two stage operation.
First I need to logon to my ISDN/Satellite router then logon to the OpenSky network.
I have managed to do the second part - BTW this was the subject of an earlier unresolved query and I'll publish my resoloution ASAP.

Here is the start of the HTML for the logon page...

---------------------------------------------------------------------------------------------------------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<META HTTP-EQUIV="refresh" content="30;URL=/cgi-bin/status.cgi">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<link rel="stylesheet" href="/style.css" title="F10" TYPE="text/css">
<title>Start Page</title>
</head>

<body>
<table style="border-width: 0px; background-color: rgb(239,190,59); width: 100%">
<tr>
<td style="width: 243px"><img src="/images/yeltop_01.jpg" alt=""></td>
<td style="with: auto">&nbsp;</td>
<td style="width: 348px"><img src="/images/yeltop_03new.jpg" alt=""></td>
</tr>
</table>

<h1 style="position: absolute; top: 24px; left: 256px; background-color: transparent; color: black">
Start Page
</h1>
<div class="status">
<form name="action_form" action="/cgi-bin/action.cgi" method="post">

<p style="color: green">The connection is up.</p><input type="submit" class="connx" name="connx" value="Disconnect">
</form>
</div>

<h2>Satellite signal quality</h2>

<p>
<img style="border: solid ; border-width: 4px" src="/images/signal_3.jpg" alt="|************************|">
</p>

<h2>Transfer statistics</h2>

<div class="statistics">
<table class="info" style="text-align: left">
  <tbody>
  <tr><th class="info">Device</th><th class="info">Received</th><th class="info">Sent</th></tr>
<tr><td class="info"><b>Ethernet</b></td><td class="info">15523469</td><td class="info">185918061</td></tr>
<tr><td class="info"><b>Satellite</b></td><td class="info">170128916</td><td class="info">570170</td></tr>
<tr><td class="info"><b>Modem</b></td><td class="info">11084972</td><td class="info">8546308</td></tr>
  </tbody>
</table>
</div>
---------------------------------------------------------------------------------------------------------------------------------------------------------
All that I need to do is the equivalent of clicking on the Disconnect/Connect button "CONNX" above.
I assumed as it was a submit input type that I need to do something like...

           IE.Document.All.Item("connx").submit

Needless to say I've tried this with no luck any suggestions gratefully received.
0
Comment
Question by:Xenopus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 1000 total points
ID: 13712000
I would try

IE.Document.All.Item("connx").Click

0
 

Author Comment

by:Xenopus
ID: 13713935
Thanks Paul - just call me thick :-)
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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 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