.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 27th, 2005, 10:24 PM
MrMoo MrMoo is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 1 MrMoo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 45 sec
Reputation Power: 0
Unhappy TreeView + Drives

I am tinkering with VB.Net and wanted to add a Treeview to my program. I have added the treeview to my program and everything is running ok but the program that I saw originally added a dummy node to every Logical Drive it found, thus causing the drives to all have + signs next to them. I do not want to do this, I would like the program to figure out if the drive contains any files or folders, and if it does then add an empty node so that the + sign shows up.

The only problem I have is that when I scan the A drive with no disk in it I get a Disk not accessible error/warning message and I was wondering if there was a work around so I would not get this error or even if there is a way I can suppress it.

I was thinking of send keys or something similar to send the command to cancel but was hoping there was a different way to do this or something similar.


Thanks for any help, direction or words of wisdom you can provide.

Sorry if this is a newb question or one that has been asked before.

Moo

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > TreeView + Drives


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT