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
427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

724 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