|
-
Sep 9th, 2008, 05:30 PM
#1
Thread Starter
Lively Member
[2008] GIF doesn't work?
Hi , all
I am working on project that need to insert GIF pictures in RichTextBox but the GIF doesn't work or move!
this is the code i used
vb Code:
Dim data As DataObject
data = Clipboard.GetDataObject
Clipboard.Clear()
Clipboard.SetImage(Image.FromFile("D:\image.gif"))
document.Paste()
Clipboard.SetDataObject(data)
so What's the problem?
help me please
thanks in advance
-
Sep 9th, 2008, 07:28 PM
#2
Re: [2008] GIF doesn't work?
So you're saying that it's an animated GIF that doesn't animate in the RTB, correct? It may well be that the RTB doesn't support animation. It is a text control, after all. What happens if you insert the same image into a document in WordPad? What happens if you put the same Image in a PictureBox?
-
Sep 10th, 2008, 06:59 AM
#3
Thread Starter
Lively Member
Re: [2008] GIF doesn't work?
 Originally Posted by jmcilhinney
What happens if you insert the same image into a document in WordPad? What happens if you put the same Image in a PictureBox?
didn't work too! , but What to do ? . anyway to make it work in RTB?
thanks
-
Sep 23rd, 2008, 05:08 AM
#4
Fanatic Member
Re: [2008] GIF doesn't work?
jm says use PICTUREBOX instead.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|