Wrox Programmer Forums
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 17th, 2008, 10:03 AM
Registered User
 
Join Date: Apr 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asadullah Send a message via Yahoo to asadullah
Default USB's Data Copier!

Hi!
I am new to VB.Net. I want to develop an application which may copy all the data or some specific data from the USB Drive as it is plugged into the system. All this action should take place invisibly. Can anyone please help me starting the project and some details.
Thanks.
Muhammad Asad Ullah Bhatti,
GC University, Lahore,
Pakistan.

GAUHER Is Always Light
 
Old January 17th, 2008, 03:20 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I believe you are going to find that it is necessary to make your app respond to system messages in the Windows system.
 
Old January 20th, 2008, 10:22 AM
Authorized User
 
Join Date: May 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello use the file system object method.

like dim fso as filesystemobject

example:

Dim fso As FileSystemObject
Dim target_folder As Folder

    ' Copy the folder.
    Set fso = New FileSystemObject
    fso.CopyFolder txtCopySource.Text, _
        txtCopyDestination.Text, _
        (chkOverwriteFiles.Value = vbChecked)
    MsgBox "Ok"

 
Old January 22nd, 2008, 03:17 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

dextergaisie, you really should read the question more carefully...
 
Old January 28th, 2008, 02:24 AM
Registered User
 
Join Date: Apr 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to asadullah Send a message via Yahoo to asadullah
Default

Thanks All!
I am done with my project. The only thing I want to add more is hiding/showing the main form. For this, I think I need sending messages to inactive window as Keyloggers do. For this if you please can help me. I am unable to find any solution over the internet yet. Thanks.
Muhammad Asad Ullah Bhatti
GAUHER Is Always Light!

GAUHER Is Always Light





Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in e-mail structure sending data from data tiawebchd General .NET 3 May 5th, 2008 08:07 AM
Data Binding - Editing GridView Row Data desk_star BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 7 December 30th, 2007 11:07 AM
Transfering data from csv file to data base g_vamsi_krish ASP.NET 1.0 and 1.1 Professional 2 May 16th, 2006 11:58 PM
Fill data set from data reader sunil menghani ADO.NET 3 March 29th, 2005 07:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.