VB.NET

Moderators: seancampbell
Number of threads: 4020
Number of posts: 10026

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Fill webbrowser with textbox data. Posted by paulmorrison on 31 Oct 2006 at 3:44 PM
I would like to write the contents of a variable/textbox to the webbrowser control. I've tried so many different options, I just lost at this point. What works for you?
Report
Re: Fill webbrowser with textbox data. Posted by PavlinII on 2 Nov 2006 at 12:02 PM
: I would like to write the contents of a variable/textbox to the webbrowser control. I've tried so many different options, I just lost at this point. What works for you?
:
Hi,
what control do you use?
I've tried WebBrowser (System.Windows.Forms.WebBrowser) and it's property DocumentText works fine..
If you're using AxSHDocVw.AxWebBrowser control, this is not good idea for changing inner text.. (You can do it throught .Document property, but .Document is created after navigating to some url.. And It Ole object, so it's not good idea to modify it..)

If you want to build html editor with preview, take a look at AxDHTMLEDLib.AxDHTMLEdit control (You'll need add DHTML Edit Control onto your toolbox)

Hope this helps..

Pavlin II[/size]

Don't take life too seriously anyway you won't escape alive from it!


Report
Re: Fill webbrowser with textbox data. Posted by paulmorrison on 2 Nov 2006 at 7:08 PM
: : I would like to write the contents of a variable/textbox to the webbrowser control. I've tried so many different options, I just lost at this point. What works for you?
: :
: Hi,
: what control do you use?
: I've tried WebBrowser (System.Windows.Forms.WebBrowser) and it's property DocumentText works fine..
: If you're using AxSHDocVw.AxWebBrowser control, this is not good idea for changing inner text.. (You can do it throught .Document property, but .Document is created after navigating to some url.. And It Ole object, so it's not good idea to modify it..)
:
: If you want to build html editor with preview, take a look at AxDHTMLEDLib.AxDHTMLEdit control (You'll need add DHTML Edit Control onto your toolbox)
:
: Hope this helps..
:
: Pavlin II[/size]
:
: Don't take life too seriously anyway you won't escape alive from it!
:
:
:
Just to be sure, this is in VS 2005?
Report
Re: Fill webbrowser with textbox data. Posted by PavlinII on 3 Nov 2006 at 9:48 AM
: : : I would like to write the contents of a variable/textbox to the webbrowser control. I've tried so many different options, I just lost at this point. What works for you?
: : :
: : Hi,
: : what control do you use?
: : I've tried WebBrowser (System.Windows.Forms.WebBrowser) and it's property DocumentText works fine..
: : If you're using AxSHDocVw.AxWebBrowser control, this is not good idea for changing inner text.. (You can do it throught .Document property, but .Document is created after navigating to some url.. And It Ole object, so it's not good idea to modify it..)
: :
: : If you want to build html editor with preview, take a look at AxDHTMLEDLib.AxDHTMLEdit control (You'll need add DHTML Edit Control onto your toolbox)
: :
: : Hope this helps..
: :
: : Pavlin II[/size]
: :
: : Don't take life too seriously anyway you won't escape alive from it!
: :
: :
: :
: Just to be sure, this is in VS 2005?
:

Yes

Pavlin II[/size]

Don't take life too seriously anyway you won't escape alive from it!





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.