newbie VB 2005 & Multitasking

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

#1, I was able to rename the *.sln file,but how do I rename the folder that
is called WindowsApplication1, the cmdline rename worked, but VS didn't like
the outcome, what is the right method.

Q#2, Can someone point to some psuedo code on how to do some multitaking on
FileIO.FileSyste.CopyDirectory function. I have ~ 30 folders that amt to 2GB
and it is very slow via the non-async transfer. Wondering if I can improve
the responce back to the GUI while this 'directory copying" is being
performed.

Thanks In Advance
 
#1, I was able to rename the *.sln file,but how do I rename the folder that
is called WindowsApplication1, the cmdline rename worked, but VS didn't like
the outcome, what is the right method.

Is that the project directory? If you change the location of the
project, you may have to manually edit the sln file too.

Q#2, Can someone point to some psuedo code on how to do some multitaking on
FileIO.FileSyste.CopyDirectory function. I have ~ 30 folders that amt to 2GB
and it is very slow via the non-async transfer. Wondering if I can improve
the responce back to the GUI while this 'directory copying" is being
performed.

Have a look at the BackgroundWorker class.


Mattias
 
Back
Top