Hi Dennis,
I'm guessing SuNcO was thinking of WinForms, where it sounds more like you
are using ASP.NET. In ASP.NET your code behind is the page, so to get
content you use the Controls property, e.g Me.Controls or use the
FindControl method of the page.
For ASP.NET questions, you cna also ask in the
microsoft.public.dotnet.framework.aspnet newsgroup.
"Dennis" <De****@discussions.microsoft.comwrote in message
news:73**********************************@microsof t.com...
What type object do you declare WebBrowser1 as? VB doesn't recognize
WebBrowser as an object unless it is instantiated.
--
Dennis in Houston
"SuNcO" wrote:
>Try this.. works here
WebBrowser1.Document.GetElementById("the_input"). GetAttribute("value")
--
Windows Live Butterfly
My little blog - http://sunco.codigoplus.com (in Spanish)
"Dennis" <De****@discussions.microsoft.comescribió en el mensaje de
noticias:D2**********************************@mic rosoft.com...
How do I get the value of a textbox element in the vb code behind a web
page. I tried Document.getelementbyid.innerHTML but it doesn't
recognize
it
the Document when I tried to set an object to my web page. Maybe I
need
to
add a reference and import some namespace? If this isn't the correct
forum,
please let me know which forum is correct...I look at them all and
couldn't
find any better than this site.
--
Dennis in Houston