Question

I am trying to write an extension to configure a new device that we use for work. This device is used to restart any devices that are connected to it. It has a static IP address which you use to access and configure the device. There are usually more than one of these devices that need configured at a site. This extension will be used in conjunction with another application (built in VB.NET) that will gather user input and configure the PC.

Ideally I am looking to complete the following actions using an extension:

  1. Read string information from a file or registry that was output from the application
  2. Fill in forms including username and password information
  3. Click submit button automatically
  4. Added bonus: I would like to include the extension and my application as a single file

I think I figured out how to do 2 and 3. Step 2 would use HTML DOM and step 3 would use javascript to click the submit button. Step 1 I am less sure how to do. I found some information at html5rocks but I am use how to use this information to read data from a path that will never change (I don't need the upload button).

So given all of this information what I really want to know is if I am on the right path and if I can even accomplish what I want with an extension. In the case where an extension will not work what else could I use to accomplish this task? I am open to using other browsers if they will accomplish what I want however, I chose IE because it is already installed on the PC and I am hoping that I can include my VB.NET application and the extension in a single file.

I don't usually develop in HTML so please keep things geared toward beginner level. Thanks.

Was it helpful?

Solution

As EricLaw suggested I am going to use a WebBrowser object to try and perform these actions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top