|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to load AVI's from shell32.dll & play them?I'm working on a file copy component. I'd like to load the "file copy"
animation from the shell32.dll and play it (in a picturebox?) while the file is copying. This guy did it here, http://www.codeproject.com/miscctrl/avi_animation.asp, in c++ but I can't make sense out of it. Can someone give me some pointers on how to do this in VB? *** Sent via Developersdex http://www.developersdex.com *** Hi Terry,
In .NET you can simply make your own dialog and put an animated GIF into a PictureBox and it will cycle through from start to finish until the copy is completed. One word of advice though would be to run the dialog in a new thread separate from the copy operation or you will struggle to see the animation updating due to the thread being too busy. Alternatively you can use the shell api's to copy a file, Lookup SHFileOperation - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shfileoperation.asp This will then use the shells file copy dialog. I hope this info helps! Nick. Show quoteHide quote "Terry Olsen" <tolse***@hotmail.com> wrote in message news:u4ItQLwQGHA.6084@TK2MSFTNGP10.phx.gbl... > I'm working on a file copy component. I'd like to load the "file copy" > animation from the shell32.dll and play it (in a picturebox?) while the > file is copying. > > This guy did it here, > http://www.codeproject.com/miscctrl/avi_animation.asp, in c++ but I > can't make sense out of it. > > Can someone give me some pointers on how to do this in VB? > > *** Sent via Developersdex http://www.developersdex.com ***
Starting a Windows app from a windows service
Extending the TreeNode - - -> HELP! need ideas on multi threaded db update between two times get a listing of assemblies from GAC ? "Specified cast is not valid" converting from object A to object B Best Way to Import Fixed Width Files XML Help wanted Copying a project... Image Analysis, OCR |
|||||||||||||||||||||||