multiline textbox size limitation?

Cableguy

Expert
Licensed User
Longtime User
Hi guys...I'm using a multilined textbox to see the html from a web page...
My problem is that the text returned to the textbox is not the complete webpage html code...
Is there any size limitation to how many characters a textbox can hold?
 

Cableguy

Expert
Licensed User
Longtime User
still, my page source is surelly under those 64k characters....it has 4071 characters acording to strlenght
 

Cableguy

Expert
Licensed User
Longtime User
Ok, so I discovered that the WebBrowser.documentText prop, set with the door dll so I could get the output, returned only a partial of the complete html text...(4071 characters)
using the http dll to get the http response, gets the full content of the page (5764 characters), any idea why?
In MSDN documentation both seem to do exactly the same, retrieve the html contents of a web page...so why the diferent results?
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
I'm reading the tet on the NAVITD event, wich supposedly ocours after the age is completly loaded....
Should I use any other event??
The answer is YES!!!
I changed the event to DocumentCompleted and i got the hole html document...
Thanks agraham....
 
Last edited:

agraham

Expert
Licensed User
Longtime User
From MSDN
Navigated event ... Occurs when the WebBrowser control has navigated to a new document and has begun loading it.

Also from MSDN
When the DocumentCompleted event occurs, the new document is fully loaded, which means you can access its contents through the Document, DocumentText, or DocumentStream property.
 

Cableguy

Expert
Licensed User
Longtime User
s for the clarification, Andrew...
I'm trying to add a sendclick to a webpage button, I already can focus the control I want, providing it return a valid ID, or name, but I keep getting an error saying the the value "does not fall within the expected range"....
Any ideas?
 
Top