Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi all.

 

I have written a program that extracts mp3 files from playlists and then copies them to a set directory. Now the whole thing works fine but as it's copying, the whole application just goes blank. On closer inspection the task manager says the program is 'Not responding' although this isnt the case as it's happily copying files...

 

I have written progress bars and text box progress to show each file as it's copied but this cannot be seen until the end of the copying..

 

Is there a way to get focus back to the main window and display these progress tools in real time...

  • Leaders
Posted

Try adding:

Application.DoEvents

to let your app refresh while it is running. :)

Iceplug, USN

One of my coworkers thinks that I believe that drawing bullets is the most efficient way of drawing bullets. Whatever!!! :-(

Posted

As far as I know, there ain't any predefined copy-dialogs in .net, but it should be no problem rebuilding it.

 

If you need help with the coding just ask.

 

Voca

  • 5 weeks later...
Posted

File Triggering

 

Hi, I am using C#.

 

I would like know whether it is possible to build a folder monitoring service. The service can trigger a process/program when there is a file copied into a specified folder.

 

Is it possible to trigger the process after the big file(200M) is copied into the folder completely?

 

Could you provide some codes sample?

 

Thanks

Posted

Created even

 

I tried to copy a big file into the monitored folder, but the file has not been copied completely, the "Created" even already triggered.

 

How to know when the file is "completely created"?

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...