Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > Building a windows form application to import .wma files from digital voice recorder device
 

Building a windows form application to import .wma files from digital voice recorder device

Hi,

I am having windows forms application. There was a button on the forms. I need to write a method on that button click that have to do the following

1) First check for the new device we inserted.

2)In that digital voice recorder device, we have 5 folders named A,B,C,D and E. So if it found the device, it copies all .wma files from all the folders from the device into our local machine and delete all .wma files in the device.

Please any one help me regarding this application....

Thanks in advance

nareshchowdary  Thursday, August 28, 2008 8:41 PM

Hi!

In the button click event handler (which will apper if you double click the button in your IDE), you'll have to do the following:

1. verify if the device is inserted: http://forums.msdn.microsoft.com/en-US/csharpgeneral/thread/09912cee-4d2d-4efd-82a0-da20024b868b/

2. copy the data from your folder: http://msdn.microsoft.com/en-us/library/system.io.file.copy(VS.71).aspx

Regards,

Lucian Baciu  Sunday, August 31, 2008 10:40 AM

Hi!

In the button click event handler (which will apper if you double click the button in your IDE), you'll have to do the following:

1. verify if the device is inserted: http://forums.msdn.microsoft.com/en-US/csharpgeneral/thread/09912cee-4d2d-4efd-82a0-da20024b868b/

2. copy the data from your folder: http://msdn.microsoft.com/en-us/library/system.io.file.copy(VS.71).aspx

Regards,

Lucian Baciu  Sunday, August 31, 2008 10:40 AM

Hi naicul,

Thanks for giving reply. I really didn't understand the code and the functions they used and I need help in read and write the .wma files from my usb drive to the local machine.If you don't mind, please explain me eloborately. I really stuck on this for last 2 weeks. Plz help me.....

Thanks in advance

nareshchowdary  Tuesday, September 02, 2008 7:57 PM
nareshchowdary wrote:

Hi naicul,

Thanks for giving reply. I really didn't understand the code and the functions they used and I need help in read and write the .wma files from my usb drive to the local machine.If you don't mind, please explain me eloborately. I really stuck on this for last 2 weeks. Plz help me.....

Thanks in advance

First try and see if this code works for you: http://forums.msdn.microsoft.com/en-US/csharpgeneral/thread/09912cee-4d2d-4efd-82a0-da20024b868b/.

If it is, come back and tell us. If not, tell us what isn't working. Do you recieve an error?

Lucian Baciu  Wednesday, September 03, 2008 7:57 AM

You can use google to search for other answers

Custom Search

More Threads

• Wanted : Developers to convert Terrarium to .NET 2.0 and enhancements in their free time.
• sql server
• OTP folder in win xp
• I am new, can anyone help me?
• Problems Creating an Installer Package
• Default Date - Outlook,Calendar,Look,Feel
• Local Stats
• where can i find tutorials or ebooks about advanced and proffessioal .Net programming techniques or ways
• Where would you place the business logic?
• A Bug in TaskVision ?!? ( for those puzzled about selections in DataGrid )