Quick Search for:  in language:    
VB6,newest,version,supports,Local,Color,Table
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,014,970. lines
 Jobs: 119. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Excel Into a webpage
By Bill Donahue on 7/2

(Screen Shot)

Unroll2 - Update
By Cyber Chris on 7/2


MultilinePWD
By Cyber Chris on 7/2


Click here to see a screenshot of this code!Song/Poem Assistant
By Peter Rowan on 7/2

(Screen Shot)

Click here to see a screenshot of this code!GPA Cal
By KBM-00 on 7/2

(Screen Shot)

Click here to see a screenshot of this code!Connection Via the Telephone line.No internet or cable.Just the telephone line
By Nass ClickMan on 7/2

(Screen Shot)

DBTool
By Make Strömberg on 7/2


Click here to see a screenshot of this code!MSChart Simple Example
By Sebastian Pereira on 7/2

(Screen Shot)

CString v1.5
By Ultimatum on 7/2


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Animated Gif Player ActiveX with Full Source in VB6

Print
Email
 
winzip icon
Submitted on: 5/20/2000 9:17:09 PM
By: Stephen Lebans  
Level: Advanced
User Rating: By 22 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 33136 times.
 
 
     For the newest version that supports Local Color Tables and Transparency visit my Website here: http://www.lebans.com/animatedgifplayer.htm NEW! Animated Gif Player ActiveX Control with full source code. Written completely in VB6, no third party or external DLL's required. This is a complete rewrite of my earlier code to display Animated Gif's. Full featured and fully debugged!

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
5/21/2000 7:59:48 AM:SteSoft Software
Very good....
Thanx
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/21/2000 4:36:30 PM:majestic
works really well
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/21/2000 5:14:55 PM:Stephen Lebans
I had a request to add AUTOSIZE 
functionality to the Class. You can add 
an AutoSize property yourself, that 
part is straightforward. Here is the 
code that actually performs the 
autosizing of the usercontrol.
The 
autosize feature is simple to 
implement. Just add 2 lines of 
code.
Add this to the LoadGif 
function.
    ' These 2 lines are 
just for Frame of reference as to 
where
    ' to place AutoResize code
   ' Let go of the Mouse Input
ReleaseCapture
    ' OK HERE IS 
THE NEW CODE
    ' AutoResize to fit 
Gif exactly
     UserControl.Width = 
UserControl.ScaleX(LogWidth + 1, 
vbPixels, vbTwips)
UserControl.Height = 
UserControl.ScaleX(LogHeight + 1, 
vbPixels, vbTwips)
    
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/22/2000 8:45:47 AM:Stephen Lebans
Just a reminder, the comments in the 
Source code state that Local Color 
Tables are not supported. Most Gif 
Construction software has the option to 
not use Local Color Tables. An 
alternative is to go 
to:
www.gifworks.com
Use their Online 
Gif Editor to REMOVE Transparency then 
ADD Transparency. This gets rid of the 
Local Color Tables.
I have just 
finished adding full support for Local 
Color Tables. Will debug and post later 
this week.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/27/2000 10:48:25 AM:Blue
Just what I'm looking for! This guy did 
it before I can even learn it! All I 
need to know now is where to get the 
GIF file spec.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/7/2000 4:01:53 PM:Nick B.
I'm not sure what I may or may not have 
done to this code. I am using it to 
display animated banners. The problem 
is that they go too fast, like it isn't 
the way a web browser would view 
them... and they contiunaly loop, even 
if they have set the gif NOT to 
loop...
I was wondering if there is 
any update for this as I am in need of 
the latest version. Hope you can help 
me out.
-Nick
Please email me 
with more info:
bork99@mediaone.net
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/4/2001 2:13:08 AM:Benj
Hey quick tip... Make a types for your 
header areas... if you need some help 
give a yell
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/24/2002 3:02:14 PM:programmer@computingmadesimple.com
I got this error what should I 
do.
Unable to set version compatible 
component animatedgif.ocx.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/24/2002 3:04:47 PM:Jason feiner
I got an error loading can not unable 
to set version compatible component  
animatedgif.ocx.  I tried doing it 
manually once the program was loaded 
but i could not set it.
What can i 
do.
please help.
thank you
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/15/2002 3:30:56 AM:zeff calilung
Could you send me a step by step 
tutorial about your code in Animated 
Gif Player .
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/20/2002 8:39:11 PM:~Ian~
Hey. Everybody! This code is awesome. I 
tried using it and got it working in 
less then a minute! The only critisism 
I have is that the properties may be 
slightly tough for a 
beginner.
Beginners: 
To start the 
gif animating, go to the event where 
you want it to start, and type 
animatedgifctl1.starttimer
To 
stop 
it:
animatedgifctl1.stopgif
Other 
then that, the control was made 
obviously with alot of effort.
GOOD 
JOB!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/20/2002 2:26:19 PM:
Wow, this thing is rich.  It work!  
Yes, it actually works without flicker! 
 (I did have a little trouble getting 
it to install.)  And, surprise of 
surprises, there are comments in the 
source!  This source code is actually 
commented!  Good thing too, it is 
definitely Advanced!  Hey, once you 
install it, you don't have to be that 
advanced to use it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/28/2003 9:22:32 AM:
it's really good man....
it gives me a 
lot of help yo ^_*
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/28/2003 9:23:53 AM:
like i told you its cool man!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/30/2003 8:52:42 AM:
pls help me out about 
Unable to set 
version compatible 
component 
animatedgif.ocx.
please if anyone 
who knows about this kind of 
problems... please email me...
thnx. 
kudasai... ^_^
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/31/2003 11:18:43 PM:
Can you include a stretch property so 
that the gif can be shrinked or 
enlarged according to the size of the 
control?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/28/2003 12:53:21 PM:
Just%2Bignore%2Bthe%2Bversion%2Bcompatib
le%2Berror%252E%2BIt%2Bworks%2Bfine%252E
%2BI%2Bdo%2Bhave%2Ba%2Bproblem%2Bthough%
252C%2Bsometimes%2Bthe%2Bgif%2Bwill%2Blo
ad%2Band%2Bstart%252C%2Bother%2Btimes%2B
it%2Bwon%2527t%252E%2BAny%2Bideas%2Banyb
ody%253F
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.