Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 July 8th, 2004, 01:36 PM
Authorized User
 
Join Date: Jul 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a file browser

Hello everyone and thanks for your help in advance. I am developing an application that requires file browser functionality. I am running into problems in that some folders will have both subfolders and files. I realize that DirectoryItems returns an array of all items in the folder. But I need to be able to differentiate between folders and files. I know that I can use the GetDirectories and GetFiles methods, but wasn't sure if there was a better way to go about this. Any help would be greatly appreciated. Thanks.

 
Old July 8th, 2004, 01:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

did you try the filesystemobject???

also what version of VB are you using??

HTH

Gonzalo
 
Old July 8th, 2004, 01:50 PM
Authorized User
 
Join Date: Jul 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am using VB.Net







Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open fdf file through browser in vb technoyogi VB How-To 2 March 15th, 2006 03:22 PM
File Browser window Figgis Access 2 November 20th, 2005 01:49 PM
PHP File Doesn't Open in Browser kara333 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 November 29th, 2004 11:40 AM
open a pdf file in browser viren_balaut Pro JSP 0 January 12th, 2004 01:27 PM
Sending "file:" to the browser DeepBlue03 Classic ASP Basics 3 June 26th, 2003 02:05 AM





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