Welcome to the ucAniGifEx repository! This project provides an ActiveX control for handling animated GIFs seamlessly in your applications. With this control, you can easily incorporate dynamic GIF animations into your projects, enhancing user experience and visual appeal.
The ucAniGifEx control is designed for developers who need to display animated GIFs in their applications. This control is built using the Windows Imaging Component (WIC) and Direct2D, ensuring high-quality rendering of GIF animations. Whether you are working with VB6, VBA, or TwinBasic, this control simplifies the process of incorporating GIFs into your projects.
- Easy Integration: Quickly add animated GIFs to your applications with minimal setup.
- Supports Multiple GIF Formats: Handle various GIF animations without issues.
- Optimized Performance: Utilizes Direct2D for smooth rendering and playback.
- User-Friendly Interface: Simple properties and methods for easy manipulation.
- Cross-Platform Compatibility: Works with various Windows platforms.
To get started, download the latest release from the Releases section. After downloading, follow these steps:
- Extract the files from the downloaded package.
- Register the ActiveX control using the command:
regsvr32 ucAniGifEx.ocx
- Add the control to your project by selecting it from the toolbox.
For more detailed instructions, please refer to the documentation included in the release package.
Using the ucAniGifEx control is straightforward. Here’s a simple example to help you get started:
- Drag and drop the ucAniGifEx control onto your form.
- Set the
GIFPath
property to the path of your GIF file:ucAniGifEx1.GIFPath = "C:\path\to\your\animation.gif"
- Call the
Play
method to start the animation:ucAniGifEx1.Play
You can stop the animation using the Stop
method:
ucAniGifEx1.Stop
For more advanced features, check the documentation provided in the release package.
Here are a few examples of how to use the ucAniGifEx control in different scenarios:
Private Sub Form_Load()
ucAniGifEx1.GIFPath = "C:\path\to\your\animation.gif"
ucAniGifEx1.Play
End Sub
Private Sub Form_Load()
ucAniGifEx1.GIFPath = "C:\path\to\your\looping_animation.gif"
ucAniGifEx1.Loop = True
ucAniGifEx1.Play
End Sub
Private Sub btnStop_Click()
ucAniGifEx1.Stop
End Sub
We welcome contributions to enhance the ucAniGifEx project. If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear messages.
- Push your changes to your forked repository.
- Submit a pull request.
Your contributions help improve the control for everyone.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or support, feel free to reach out:
- Email: support@example.com
- GitHub: Nessanggg
To download the latest version of the control, visit the Releases section. Enjoy using ucAniGifEx and happy coding!