First time on this site (didn't even know it existed!)... My question has
similarities to the latest post. I was going to pose a new question, but
something wasn't working. Ultimately I will want to copy text from an HTML
window, just as the latest post posed. But before that, I want to figure out
how to display a menu bar on my HTML window. My user is quite happy with my
solution of using MSHTML and the function ShowHTML() to display records from
an Access database containing HTML. But it is also desired to print or copy
the data in the window. It has been quite some tiome since I wrote the
application so my memory is hazy. But I remember spending quite some time in
futility trying to figure out how to also have a menu with my ShowHTML
window. I am using C++ in Visual Studio.net.
Thanks,
Mark
"_B" wrote:
[re capturing text in a browser window]
On Tue, 28 Dec 2004 10:35:27 +0100, "Cor Ligthert"
<no************@planet.nl> wrote:
All between the <HTML>begin and end tag is called innertext and including
that it is called outertext.
However that is probably not what you are after.
When you want the HTML innertext you can use MSHTML to get that.
I confess that I haven't gone after the innertext yet cause I need
some whitespace stuff that's probably relegated to outer text, like
<nbsp> etc. If I could do the equivalent of sending in a ^A^C
(select-all, capture), I'd be home free. I thought there would
probably be a simple way to do that. I haven't seen that done before
though, so it's probably not easy.
Thanks for your reply, Cor.