[VB6] Animated GIF Control-VBForums
Results 1 to 1 of 1

Thread: [VB6] Animated GIF Control

  1. #1

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Beside Waldo

    [VB6] Animated GIF Control

    Posting this as a gift, take it or leave it. An older project and it will not be modified or enhanced.

    The project only supports GIFs, animated or not. It is compact, rather simple, but offers several user-defined options. This UserControl can be created as a stand-alone OCX or simply added to any existing project, as-is. The UserControl is just 1 file and is 100% self-contained with no dependencies.

    The control is windowless, light weight, and also easy on CPU usage. I wouldn't try animating dozens of them at once though.

    There are 2 methods of loading a GIF

    1. Design-time only. Use the AnimatedGIF property sheet item. This property is disabled during run-time and does not support unicode file names

    2. Run-time only. Use one of these & review code comments
    a. LoadAnimatedGIF_Array
    b. LoadAnimatedGIF_File (unicode supported)
    c. LoadAnimatedGIF_Remote (unicode not supported)

    The logic I used with this control is unique and is described with the included RTF document. The change history and brief overview of public properties/methods can be found near top of the usercontrol's code.

    If all you want is a simple, easy control for animated GIFs, here you go...
    Attached Files Attached Files
    Insomnia is just a byproduct of, "It can't be done"

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online

    {Alpha Image Control} {Memory Leak FAQ} {GDI+ Classes/Samples} {Unicode Open/Save Dialog} {Icon Organizer/Extractor}
    {VB and DPI Tutorial} {XP/Vista Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width

Survey posted by VBForums.