bjwade62 Posted October 20, 2006 Posted October 20, 2006 Does anyone know how to use the Windows copy animation in .NET? It was pretty easy in VB6. Just place an animation control on a from, set a couple properties and you're in business. What could be easier? I can't find much information on the .NET way of doing it. Any help would be appreciated. Quote
headkaze Posted October 23, 2006 Posted October 23, 2006 Maybe have an image list with your frames of animation and use a picturebox with a timer that changes the images. Quote
Leaders snarfblam Posted April 16, 2007 Leaders Posted April 16, 2007 Not very helpful, but this is the best suggestion I can come up with off the top of my head. You could try to find some kind of animation control that can play GIFs or AVIs without visible controls. I believe that the file copy animation is an AVI found in a Windows directory (at least, it was last time I checked, but that was Windows 95). Quote [sIGPIC]e[/sIGPIC]
bjwade62 Posted April 16, 2007 Author Posted April 16, 2007 Thanks for the reply marble eater. I found my answer on another forum. Here it is in case you're interested. "Those dialogues are built into VB 2005. Use the methods of the My.Computer.FileSystem object and it will display progress dialogues for you, as though you were drag and dropping in Windows Explorer." My.Computer.FileSystem.CopyFile("c:\0000\MyFile.txt", "c:\temp\MyFile.txt" ,UIOption.AllDialogs) Quote
Leaders snarfblam Posted April 17, 2007 Leaders Posted April 17, 2007 It might be worthwhile to try to disassemble this library and see how it achieves the animation (at least, for those of use who use C#), but that depends on whether or not it is actually kosher to disassemble DotNet libraries. Quote [sIGPIC]e[/sIGPIC]
Administrators PlausiblyDamp Posted April 17, 2007 Administrators Posted April 17, 2007 Without actually checking I would guess it is a wrapper around the SHFileOperation API call - in fact you can get the relevant C# imports at clicky Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.