Solved

How do I user vb6 and a WebBrowser Control to set the .value of a tinyMCE on a web page?

Posted on 2008-06-09
4
414 Views
Last Modified: 2010-04-21
I have tried a couple of ways to set the value...
1.  brwWebBrowser.Document.Forms(0).Item("field_name").Value = "Test value"
2.  Set tmpObj = brwWebBrowser.Document.getElementById("field_name")
    tmpObj.Value = "Test value"

But they have not worked.
Here is a link to the TinyMCE API Documentation with a reference to how tinyMCE should work.
http://wiki.moxiecode.com/index.php/TinyMCE:API
0
Comment
Question by:greg_white
  • 2
  • 2
4 Comments
 
LVL 21

Expert Comment

by:oleggold
ID: 21745720
You may want to see the following solution:
http://www.experts-exchange.com/Web_Development/Scripting/JScript/Q_22619441.html
exceptionaly splution  comparing 2 javascript based editors including tiny
0
 
LVL 21

Accepted Solution

by:
oleggold earned 500 total points
ID: 21745734
0
 

Author Comment

by:greg_white
ID: 21745964
I appreciate your efforts, but from what I could see, none of these shows me how to set the value in the editor.
0
 

Author Closing Comment

by:greg_white
ID: 31465469
I re-read what you presented here and after further consideration I'd say that this can help me get there.  Sorry I didn't see it at first.  And thanks for taking the time to respond to my question.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now