Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2005 > Visual Basic 2005 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 17th, 2008, 10:03 AM
Registered User
 
Join Date: Apr 2007
Location: Sheikhupura, Punjab, Pakistan.
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
Reply With Quote
  #2 (permalink)  
Old January 17th, 2008, 03:20 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
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.
Reply With Quote
  #3 (permalink)  
Old January 20th, 2008, 10:22 AM
Authorized User
 
Join Date: May 2007
Location: Accra, Ghana, Ghana.
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"

Reply With Quote
  #4 (permalink)  
Old January 22nd, 2008, 03:17 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

dextergaisie, you really should read the question more carefully...
Reply With Quote
  #5 (permalink)  
Old January 28th, 2008, 02:24 AM
Registered User
 
Join Date: Apr 2007
Location: Sheikhupura, Punjab, Pakistan.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.