Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 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 November 12th, 2003, 02:48 AM
Authorized User
 
Join Date: Aug 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to wenzation
Default Filenames and directories listing into database.

Hi, i really panick cos i duno how to start actually... i'm totally new to vb.net, my problem lies within vb.net and access2000. Can you guys help?

I have a empty access database called "Kdrive", a table called "Files" and two rows of data called, "filename" and "directory"..

I need to do a windows form that consist of just an update button.
The update button is supposed to look through a folder, go into its sub folders and sub folders within this subfolders.
[ eg: K:\folder\subfolder\subfolder\files ]

After it looks through all the files, it needs to extract all the filenames and the fullpaths to these files and then update all of them into the kdrive database.

However, this command needs to tally the existing data in database with all the files in kdrive.

Can u guys lead me through? i really need to get this done.. at least give me some hints? i really got no idea how to go about doing this thingy.. very sad:(

i'm a beginner, hoping to learn more.. please help... thanks a lot
__________________
i\'m a beginner, hoping to learn more.. please help... thanks a lot
 
Old November 14th, 2003, 09:34 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You will need to use the ADO.NET data objects to access the database. You will also need to use the System.IO namespace objects to access the file structure. Specifically, I believe it's the Directory object and the File object. If you look in the MSDN, you can find examples on all of these objects.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing 8-10 and Listing 8-16. Asp.Net BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 February 6th, 2008 01:11 PM
Filenames/Database Comparison scubasteve Access 7 July 16th, 2006 02:39 AM
Listing Directories and Subdirectories digant_vania General .NET 0 March 22nd, 2006 06:02 AM
Problem listing database tables raphaelsenra Pro VB Databases 0 January 6th, 2005 11:38 AM
Listing and limiting items from a database RPG SEARCH ASP.NET 1.0 and 1.1 Basics 11 August 3rd, 2004 04:37 PM





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