|
-
July 26th, 2009, 06:45 PM
#1
MFC: Sign in and get web page source
Hi everybody
I need to submit a form in the web page.
I need to:
1. Sign in.
2. Fill in all required fields and submit the form.
I'm using IWebBrowser interface, and I know how to submit form using IHTMLDOcument2 interface. But I don't want the IWebBrowser display the web page itself(I should use as low bandwidth as possible). How I can eliminate the downloading of images and also get the IHTMLDocument as fast as possible?
I could use CInternetSession::OpenURL(_T("http://something.com"));
But then I cannot get the IHTMLDcocument2 interface, therefore cannot submit the form.
Thank you.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|