Advertisement

05.11.2008 at 06:12PM PDT, ID: 23393360
[x]
Attachment Details

How do I set a rich editor textarea programatically when filling a form using vb6

Asked by greg_white in Visual Basic Programming, JavaScript, Scripting Languages

Tags: vb6 html dom

I'm using vb6 to fill a web form programmatically.  One of the fields is a textarea that uses a rich text editor.

When I assign values to the textarea using either name or id, they do not show up in the textarea/editor.  When I save the form it does not acknowledge there is any data there.Start Free Trial
1:
2:
3:
4:
5:
I have tried a couple of ways...
 
1.  brwWebBrowser.Document.Forms(0).Item("post-title").Value = "Test title"
2.  Set tmpObj = brwWebBrowser.Document.getElementById("post-title")
    tmpObj.Value = "Test title"
[+][-]05.12.2008 at 02:42AM PDT, ID: 21545543

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 05:43AM PDT, ID: 21546357

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 08:03AM PDT, ID: 21547570

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, JavaScript, Scripting Languages
Tags: vb6 html dom
Sign Up Now!
Solution Provided By: huji
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.12.2008 at 08:50AM PDT, ID: 21548031

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628