Add image in rich text box

vb6 Greece
  • 15 years ago
    Hello... I had some months to visit this site and i have an impression that something is changed here!!! Nice work...

    By the way, i have a little problem and i would really like your advice on it!!!

    I have a rich text box and i want to add an image in it. So far so good but... to use this code:

    main.Text1.OLEObjects.Add , , App.Path & "/Pics/" & Index & ".jpg"

    as i am doing now, the image that will be added to the rich text box has to be saved in a file. So, this code only adds a file into the rich text box. What i want is to store some standar images in an ImageList control (using VB5) and add the images from there, so there will be no need for extra files and stuff like this...

    Can anybody help me on this???

    Thank you very much for your help and your time on advance...

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny...'” - Isaac Asimov