473,500 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copying Contents of Drive to Folder

How do I copy all the contents of a cd drive (All files and subfolders) to a
folder? If possible, I'd like to implement a progress bar control to tell
users how much the app has copied.
Nov 20 '05 #1
3 1023
* "Jason Moss" <pc******@sbcglobal.net> scripsit:
How do I copy all the contents of a cd drive (All files and subfolders) to a
folder? If possible, I'd like to implement a progress bar control to tell
users how much the app has copied.


You can use p/invoke on 'SHFileOperation'. A C# sample can be found
here:

<URL:http://www.palmbytes.de/content/dotnet/dl/shellfileoperation.zip>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Is it possible if someone can provide this info in steps? I don't use C#,
so how would the above link apply to VB.NET?

-Jason
Nov 20 '05 #3
Jason did the email help ?
"Jason Moss" <pc******@sbcglobal.net> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
How do I copy all the contents of a cd drive (All files and subfolders) to a folder? If possible, I'd like to implement a progress bar control to tell
users how much the app has copied.

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
7167
by: jenny | last post by:
Hi, I am trying to find a VB way that would create a folder on all existing drives - the folder name would be the same on each drive. ie c:\backup, d:\backup, etc. But the folders would only be...
3
3015
by: Raghul | last post by:
hi I am having a problem. I want to copy a file from the folder and paste it or move it to another folder. Is it possible in python? Actually I need to implement this in the zope for my site. When...
3
3617
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore...
8
2930
by: Abhishek | last post by:
Hi there ! Can somebody help me understand how i can display the contents of a drive ( for example E:\ drive). I want to display all the contents of the CD-ROM by clicking a button on a form. The...
4
2029
by: Michael Nemtsev | last post by:
Use Win2003 Server and VS 2003. When I'm trying to debug COM+ lib, I've stumble over ShadowCopying feature, when my dll being copied in temporary folder, and I can't step in my dll. No breakpoits...
3
1338
by: Jeries Shahin | last post by:
Hi I am trying to copy files from a folder on a Novel machine, the folder is in the UMC format (i cannot map a network drive for some business reasons). Upon copying, it fires an IOException...
2
7963
by: Jerad Rose | last post by:
I have a fairly simple C# console app which copies files from a network folder to a local folder. When the app resides on my local C: drive, it runs just fine. However, when the app resides on a...
2
958
by: rodchar | last post by:
hey all, how do you programatically get the filenames of a disc in a CD R/RW Rom Drive? thanks, rodchar
1
2237
by: skygremlin | last post by:
I am trying to write a simple VB app to copy all directories and files off a thumb drive to a directory on a pc. I have a couple things I am trying to automate. Final Build will: - Have...
0
7207
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7242
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6914
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7401
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3114
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3112
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1434
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
686
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
318
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.