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
422 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

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 how to look for a specific file type in a local or remote server directory using PHP.
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…

790 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