|
-
Dec 3rd, 1999, 04:45 AM
#1
Thread Starter
Hyperactive Member
Hi,
I would like to know how to play GIF files in a Picture Box, anybody know how???
-
Dec 3rd, 1999, 06:06 AM
#2
Search the web for a file named gif89.dll
I once downloaded it from www.uni-heidelberg.de but I don't know where exactly and they have quite a big site.
It contains a control that is capable of showing animated gifs. Its not in a picturebox, but it's the only control I know of, that can do that.
-
Dec 3rd, 1999, 07:03 AM
#3
Lively Member
Aaron Young gave me this code that should work I tried but didnot get it to work, Too new to vb and computers
Use the Componet Microsoft internet controls
with a picture box
Private Sub Command1_Click()
On Error GoTo Load_Cancel
With CommonDialog1
.CancelError = True
.DialogTitle = "Open an Animated GIF"
.Filter = "GIFS (*.GIF)|*.GIF"
.ShowOpen
WebBrowser1.Navigate .FileName
WebBrowser1.Move ScaleX(-12, vbPixels, vbTwips), ScaleY(-19, vbPixels, vbTwips), Width, Height
Picture1 = LoadPicture(.FileName)
Picture1.AutoSize = True
End With
Load_Cancel:
End Sub
[This message has been edited by Jessie (edited 12-03-1999).]
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
|