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?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
still, my page source is surelly under those 64k characters....it has 4071 characters acording to strlenght
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
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?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
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....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!
Navigated event ... Occurs when the WebBrowser control has navigated to a new document and has begun loading it.
Also from MSDN
Quote:
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.
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?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)
My Posts helped you? Consider Buying me a Porto Glass!