Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting an HTTPS site to work

2 views
Skip to first unread message

Dave E

unread,
Jan 25, 2007, 1:30:00 PM1/25/07
to
I am using C# with Visual Studio .NET 2003 and I have setup an environment
where I load a web page using AxShDocVw, search for form elements on the
page, post it back and then parse through the results page I get to retrieve
certain pieces of information. For several different sites this has worked
like a champ. However, I now need to go to a page over SSL (HTTPS). I can
connect and load up the initial page just fine. I am in the DocumentComplete
handler and the page appears to show just fine. I can save it out at this
point without a problem and see the fields and the form I am trying to access
just fine. However, when I then attempt to find the form elements
(specifically a textbox called txtSerial), it does not find it.

I have tried this:

mshtml.IHTMLElementCollection ellist = doc.getElementsByTagName("input");

I have tried a variety of permutations on this such as useing doc.all.item()
but that again has returned null. The above getelements seems to return an
element or two, but never all of the items on the page (the one I want
especially).

The web page I am doing this to is:
https://secure.tx.acer.com/findsystem/findsystem.aspx?title=information

Thanks
--
Dave E

0 new messages