Bob, thanks for looking into this for me, but the issue seems to lie in MSHTML refusing to work properly for me. No matter how I have tried calling createDocumentFromUrl, it always returns an AccessViolationException error. So, I was wondering, could it be I have a strange version of MSHTML? The version # I have is 7.0.3300.0.
Is this maybe not a typical version #?
Also, the real reason I wanted to use MSHTML is because I want to be able to programmatically log-in to a web site and then be able to navigate to other pages on that site while remaining logged in. So, I might be able to sidestep the issue completely if you can instead tell me (or point me int he right direction to find out) how to use other namespaces & objects to accomplish this. Ideally, I would love to work from the system.net namespace, since I am informed that this carries a much smaller footprint. Most of what I will be doing is programmatic and does not require a UI or any reason to actually display web pages. Rather, I am trying to log in to a site and then provide methods for programmatically navigating to various pages, extracting the desired data (as the logged-in user) and then present the extracted data on its own.
Main Topics
Browse All Topics





by: TheLearnedOnePosted on 2006-09-21 at 17:46:27ID: 17574336
There are a few ways that I have found to get an HTML document from a URL:
e.com/Prog ramming/ Pr ogramming_ Languages/ Dot_Net/VB _DOT_NET/Q _21846753. html
e.com/Prog ramming/ Pr ogramming_ Languages/ Dot_Net/VB _DOT_NET/Q _21767542. html
1) Using a web browser control:
http://www.experts-exchang
2) A specialized HtmlDocument class:
http://www.experts-exchang
Bob