Results 1 to 2 of 2

Thread: insert pic to richtextbox by code

  1. #1
    adler
    Guest
    hi

    i need to past into a rich text box an embedded pictuer

    that will be part of the rich textbox

    show me the code lines

  2. #2
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    Gig Harbor, WA; Posts: 89950
    Posts
    360
    rtb1.OLEObjects.Add () as OLEObject

    You need to set the image as an OLEObject, then tell the app. where it is, then call it with the add method. I dont know a better way to describe it, I hope this helps though!

    rtb1 (the name you gave the RichTextBox)
    Mahalo
    VB6(SP5), VC++, COBOL, Basic, JAVA
    MBA, MCSD, MCSE, A+
    Computer Forensics

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width