Solved

INS a Picture in the RTF Control

Posted on 1998-09-04
2
189 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 40 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

733 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