• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 824
  • Last Modified:

Flying Paper Windows Animation

I am looking for a way to use Window's Flying Paper animation while I do high volume file transfer in a vb.net application.
I know someone discussed this solution and I think I even copied the solution and did try it out.
But !*@#+&?, I can't find it anymore. I did try all search engines I know of. No luck.
I hope someone of you has a better memory than I.
Thanks Jack.net
0
jrscherer
Asked:
jrscherer
  • 2
  • 2
2 Solutions
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
How are you doing the file transfers?

What version VB.Net?

If VB.Net 2005, there is a flag you can set in one of the overloads to make the animation display:

    My.Computer.FileSystem.MoveFile(source, destination, False, FileIO.UIOption.AllDialogs)

See the UIOption documentation:
http://msdn2.microsoft.com/en-us/library(d=robot)/ms172907.aspx
0
 
jrschererAuthor Commented:
Hi Idle Mind, thanks
VS2005
The file transfer is done with a recursive routine. I copy an open number of files in various folders. We call it a Project. File size vary from a few kilobytes to 400 megabytes (avi files). Total number of files up to 10,000.

I did try to use the CopyFile with the same overload. Since there are so many different files it does not give a clean picture. It restarts every so often. For a single large fle xfer it is great.
(I just wonder why Microsoft did not add this functionality to the System.IO library. Why did they duplicate that stuff in My?)

What I am looking is the Windows API to do that under my own control. Any idea? Jack.net
0
 
Bob LearnedCommented:
If you insist, you need to find the FILECOPY.AVI file that is installed under Common\Graphics\Videos.

Other files are FILEDEL.AVI, FILEDELR.AVI, FILEMOVE.AVI, and FILENUKE.AVI.

Bob
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
"What I am looking is the Windows API to do that under my own control."

See the mciSendString() API as in these examples:
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21564817.html
0
 
jrschererAuthor Commented:
Thanks, both of you. You brought me on the right track. (I doubled the points) Jack.net
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now