Thanks for looking at my VI.
The address was for the GUI of a device on my network, I have saved off
the webpage and changed my VI so that it uses the local version of the
.htm file. The location might need to be updated on your machine, I was
using c:\. I still runs with as much success as yesterday. Remove the .txt extension from the files so that they work.
After saving off the webpage I did some quick edits to add
name="config" etc into each of the form fields. Now if I point the
IHTMLElementCollection at the appropriate form by name the rest of my
VI works. However, since i don't have access to the cgi behind the GUI
the ActiveX container on the front panel will display a "can't find
this page" once the VI has run completely. When the highlight execution
is used I can see the values on the GUI being altered before the page
changes. So I know that the VI works with the edited webpage, solution
one is to have the GUI recoded.
So without getting the GUI recoded, I was trying to access the same
portion of the code in the unedited htm file identifying the form using
the index lookup. I have tried 0,1,2,3 constants with no success. I
tried using a control and constant of variant type and neither of those
worked either.
When I put probes onto the datalines the output for a variant is "Value
-> 86F05D4" or the reference line is "4201644032". The variant
value changes each time the VI runs so they were not much help.
The other avenue I have not gotten to work yet was changing the form to
body and seeing if the Elements could be found that way, but I have had
not figured out how to implement this yet.
Hope this clarifies things a little.