Click to See Complete Forum and Search --> : Gifs in a picture box
SteveCRM
Nov 5th, 1999, 09:41 PM
I know someone posted something about being able to put animated gif in a picture box to take away the scrollbar. Can you post it again please? Thanks!
Steve
prestodsi
Nov 6th, 1999, 12:50 AM
Steve:
I don't know yet if this will be an overkill, but go to:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeID=3186
Type everything in one line (it's a complete URL)
I have been struggling with same issue as far as an AVI is concerned, but I have tested that code yet.
It seems to do what we want, as we can define the frame size and othar features we want displayed
If you try and it works, please let me now
(prestodsi@aol.com)
------------------
Paul Stermann
DSI-Houston
Aaron Young
Nov 6th, 1999, 09:58 AM
Here's the code I posted before:
Place a Webbrowser Control within a Picturebox so the Picturebox is the container Object..
Private Sub Command1_Click()
On Error GoTo CanceledOpen
With cdbBrowse
.DialogTitle = "Select a GIF"
.Filter = "GIFs (*.GIF)|*.GIF"
.CancelError = True
.ShowOpen
WebBrowser1.Navigate .FileName
Picture1.AutoSize = True
Picture1 = LoadPicture(.FileName)
Picture1.ScaleMode = vbPixels
WebBrowser1.Move -12, -17, 1200, 780
End With
CanceledOpen:
End Sub
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net
SteveCRM
Nov 7th, 1999, 12:52 AM
Thanx Aaron, I knew someone posted that code!
:)
Thank you
:)
Steve
Renovating the oldest thread...
This is the oldest thread i found in this forum
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.