newbie VB 2005 & Multitasking

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
 
M

Mattias Sjögren

#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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top