473,785 Members | 2,221 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Importing Animated Files

1 New Member
Hello,

I have created 25+ animated images each saved as an image file (at present a png file). I have been trying to import them in a random fashion into a picture box that I created in the visual studio program I am writing. I am having trouble conserving the animation (that is, I am able to import the images into visual basic, but once in they are no longer animated). Also, I am having problems with the random function. My goal here is random selection without replacement. In other words, I would like visual basic to randomly select and import 1 of 25 of the images by button click, but then remove the selected image from the array such that at the next button click there remain only 24 to select from. To put it another way I do not want any of the images to be selected more than once. Any suggestions? I would greatly appreciate any help that can be provided.
Jun 14 '07 #1
0 1010

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1600
by: Eli | last post by:
Hi, Anyone knowes how to use Animated Cursors ( *.ani files) in Winform Applications ? According to MSDN , The Cursor class in the framework does not support animated Cursors, only regular ones ( *.cur files). Any known workarounds ? Thanks,
3
8719
by: DOK | last post by:
I'm trying to create an eBay ad. So far, I've got the page the way I want it. However, the few animated gif's I have on the page display but are no longer animated. I can get it to work in FrontPage and 'Preview in Browser'. However, When I enter the URL or when I 'select all' html and paste it into the 'add your own html' box in ebay, the gif's don't animate. If anyone would take the time to scan my 'index.htm' and let me know what...
9
9728
by: John J. Hughes II | last post by:
Is it possible using Image or Bitmap to build and save an animated GIF file? I am not have a problem saving the GIF file just getting the frames added to it. I did find ImageAnimator but it only seems to deal with showing the GIF and not saving it. Thanks, John
10
3602
by: Flashster | last post by:
How do I put a custom animated icon on the status bar of a form? I have an animated icon file called icon.ani, and I've tried getting 'statusbar1.Animate' to work with no success. Can someone give me some pointers please? Thanks,
4
1942
by: Helmut Giese | last post by:
Hello out there, this is OT but maybe some of you were in the past faced with the same problem: I have lots of sequences of GIF files to combine into animated GIFs. I can do it 'by hand' with Microsofts Gif Animator, but given the amount of files I have to process, a tool which can be controlled from the command line looks much more attractive. Googling led me to WhirlGif, and I got it compiled (Windows) - but it appears to not like my...
4
2455
by: Lando | last post by:
Can javascript build animated .gif or .jpeg ....I mean files *gif or *.jpeg that show animated images when are opened ( or is it another language that do it ? ) ? Thanks a lot.
0
1280
by: AceKombat | last post by:
Hi ! I'm having a problem after importing a gif into flash . When the gif is imported , it shows in the library tab and looks as it is successfully imported , but no , for some reason the last frame of the gif I imported somehow copyed the frame before the last frame and paste it behind the last frame , and doesn't look right . Here is a picture example with me using SF3 Ryus Kick Gif http://www.freewebs.com/acekombat2/GIF%20HELP.PNG . In the...
0
1569
by: helraizer1 | last post by:
Hey, I have a PHP script that I made for an image based shoutbox with emoticons. The problem is that php GD doesn't support animated gifs, yet perl GD does. How would I make it so that I could copy the animated gifs via Perl onto the static image that I made with php? I've tried with php imagecreatefromgif(), which produces a static image. I also tried using the GIFAnimation class from phpclasses to make an animated gif but it returns it as...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9489
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10100
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.