Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

interact wih mshtml.dll

are there any working code examples to demonstrate how to work with the mshtml file?
[84 byte] By [tx12345] at [2007-11-11 10:31:45]
# 1 Re: interact wih mshtml.dll
http://www.google.com/search?q=vb+%22microsoft+html+object+library%22
Phil Weber at 2007-11-11 17:22:29 >
# 2 Re: interact wih mshtml.dll
thanks for the reply

i found what i was looking for with

IEnumPrivacyRecords::Next Method

but not quite sure how to implemen it in VB. would you happen to know how to do that?
tx12345 at 2007-11-11 17:23:40 >
# 3 Re: interact wih mshtml.dll
Nope.

I saw your question about this last week. I'm not convinced that the IEnumPrivacyRecords::Next method does what you're looking for. In reading the documentation, it sounds like it enumerates the privacy records for a single Web site. It does not enumerate the sites the user has visited. I do not know how to solve your problem (otherwise I would have replied to your previous post). Sorry!
Phil Weber at 2007-11-11 17:24:36 >
# 4 Re: interact wih mshtml.dll
Hi Phil,

thanks again for the reply.

Actually, getting the privacy report record is exactly what i need. in fact, for one application, i am looking to transcribe only *one* particular link and the only place (in IE) that is shows up is inside the privacy report window.

i have been trying to get at that link for at least 8 days now, and nobody seems to know how to access the privacy report and list the links in it, as 'one' of them is the one i need to get to.

i think this is a world record or something. for all the code experts i have asked, even a guy from microsoft (!), nobody has had the answer. i guess nobody has ever had a use for URLs recorded in the IE index.dat file, because if they did have such a need, they'd have discovered a 'quirk', in that the IE index.dat file truncates (at times apparently) links with endings such as .asp?something=123, .aspx?something=123, .php?something=123, and so on, and simply records the page as .htm, and that is what you see in the index.dat file.

for the time being i have to shell out to an external program (firefox), navigate to the web page in question, and then read firefox's history.dat file (which is a breeze) to get the link. talk about inefficient!

one of these days i'll figure it out i guess. i just thought a code guru would know how to do this (and that it was a question that did not take very long to answer). i guess i am sort of in a state of disbelief, in that nobody, even the experts, has ever come across this before. i suppose there is always a first for everything.

anyway, that's the scoop
tx12345 at 2007-11-11 17:25:42 >