Flying Paper Windows Animation

Posted on 2006-05-28
Last Modified: 2008-01-09
I am looking for a way to use Window's Flying Paper animation while I do high volume file transfer in a 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.
Question by:jrscherer
    LVL 85

    Expert Comment

    by:Mike Tomlinson
    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:
    LVL 9

    Author Comment

    Hi Idle Mind, thanks
    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?
    LVL 96

    Accepted Solution

    If you insist, you need to find the FILECOPY.AVI file that is installed under Common\Graphics\Videos.


    LVL 85

    Assisted Solution

    by:Mike Tomlinson
    "What I am looking is the Windows API to do that under my own control."

    See the mciSendString() API as in these examples:
    LVL 9

    Author Comment

    Thanks, both of you. You brought me on the right track. (I doubled the points)

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
    It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now