?
Solved

INS a Picture in the RTF Control

Posted on 1998-09-04
2
Medium Priority
?
191 Views
Last Modified: 2010-04-30

How would you show the CommonDialog Control,
asking for a picture file then displaying it in the
RTF Control?


0
Comment
Question by:shannon_cogan
[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 Comments
 
LVL 1

Accepted Solution

by:
CarlosJac earned 160 total points
ID: 1433122
In your form put a richtextbox (RichTextBox1) and CommondDialog1
Use this code:

Private Sub RichTextBox1_DblClick()
    With CommonDialog1
        .Filter = ("bitmap (*.bmp)|*.bmp")
        .ShowOpen
    End With
    RichTextBox1.OLEObjects.Add , , CommonDialog1.filename

End Sub
0
 
LVL 4

Expert Comment

by:mcix
ID: 1433123
RTF does not currently support pictures...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

762 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