How to display Text and Image in DataGridView Cell
My program parses chat room text. In the room there are smileys that get displayed. What I'm trying to do is parse out the image URL, download the image and put the smiley in the correct spot between the text of the message.
I can do the parsing and downloading of the image into the datagridview but this only works of the column is set as an image column. Obviously due to the nature of the program I need to be able to put both text and images into the same cell. How can I do this?
I searched the forum with no luck in regards to an answer to this question. Any help is greatly appreciated.
Thank you.
Re: How to display Text and Image in DataGridView Cell
The thread has been knocked off to the second page. Bumping in hopes that other people will see it, thank you.
Re: How to display Text and Image in DataGridView Cell
Re: How to display Text and Image in DataGridView Cell
Can you give me any instruction as how to use that. I put that code in and I automatically get errors.
Error 1 sub 'Paint' cannot be declared 'Overrides' because it does not override a sub in a base class.
Error 2 'Public Event Paint(sender As Object, e As System.Windows.Forms.PaintEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
I really appreciate your response.
[Edit]
I see there is more code but I have no clue about this. All of this is rollover which is drawing things for the cell boarder. What I need is an image inbetween two strings of text.
Re: How to display Text and Image in DataGridView Cell
Got bumped to the second page again. You would think that Microsoft would have made this easy...
Well maybe it is but I'm just too inexperienced :(