|
-
July 13th, 2001, 05:23 AM
#1
Animated GIFS
Good Morning Guru's
Can anybody help with this one, I have created some animated GIFs which have a transparent background and would like to bring them onto my VB Forms, I have tried using the Media Player but it ignores the transparency, does have any ideas on the best way to achieve this ?
-
July 13th, 2001, 08:18 AM
#2
Re: Animated GIFS
http://www.codeguru.com/cgi-bin/bbs/...age=&view=&sb=
--Ant
--------------------------------------------------
check out my newest freeware
E-mail me at: [email protected]
for the address
-
August 23rd, 2001, 02:51 AM
#3
Re: Animated GIFS
hi
u can add a component
that allows GIF images its name is Animation GIF Control
hope this helps u
best of luck
-
August 23rd, 2001, 07:08 AM
#4
Re: Animated GIFS
There is a way to Fake it without any 3rd Party Controls, you can use the Microsoft Internet Controls
Webbrowser Control within a Picturebox.
Take a Form with the following controls and paste this code into it;
A CommonDialogbox, a Command Button, a Picturebox & WebBrowser Control (Drawn within the Picturebox
Container)..
private Sub Command1_Click()
on error GoTo UserCancelled
With CommonDialog1
.DialogTitle = "Select an Animated Gif.."
.Filter = "GIFs|*.gif"
.CancelError = true
.ShowOpen
WebBrowser1.Navigate .FileName
WebBrowser1.Move -ScaleX(12, vbPixels, vbTwips), -ScaleY(20, vbPixels, vbTwips), Screen.Width, Screen.Height
Picture1 = LoadPicture(.FileName)
Picture1.AutoSize = true
End With
UserCancelled:
End Sub
Iouri Boutchkine
[email protected]
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
|