D
Dibs
Hi chaps,
I'm trying to use the COM microsoft web browser to show html I'm generating
in my app.
Using AxWebBrowser1.Navigate("about:" & htmlString) works fine as long as
the html is not too long. So this works fine in htmlString
<html>
<head>
<title>A Fine Title</title>
</head>
<body>
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
</body>
</html>
but put another wobble in and it refuses to display it. Assuming this is
some dastardly interop string thing. A post a while back said something
about IPersistStreamInit but I got baffled.
I could just write it out to a file and navigate too that but if I could
avoid slow file IO, potential permissions problems and general untidiness
that would be good.
Any clues gratefully received
James
I'm trying to use the COM microsoft web browser to show html I'm generating
in my app.
Using AxWebBrowser1.Navigate("about:" & htmlString) works fine as long as
the html is not too long. So this works fine in htmlString
<html>
<head>
<title>A Fine Title</title>
</head>
<body>
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
wobble wobble wobble wobble
</body>
</html>
but put another wobble in and it refuses to display it. Assuming this is
some dastardly interop string thing. A post a while back said something
about IPersistStreamInit but I got baffled.
I could just write it out to a file and navigate too that but if I could
avoid slow file IO, potential permissions problems and general untidiness
that would be good.
Any clues gratefully received
James