I am trying to learn how to search through a hard drive and look for a file extension, is there a tutorial that has been written that shows how to do this? I have a form with a button, and a checkedlist box. I would like to have the program search though a hard disk and output all the files that have the inputted extension. How is this done? What about directories that have access denied error message comes up like c:\system volume information? How do I skip that directory? John:confused: I want how to search hard drives!
RBCC
Posts
-
Hard Drive search in VB.net -
Rotating Diceclass dice dim adie1 as int16 dim adie2 as int16 property die1 as int16 get return adie1 end get set sdie1=value end set 'What I am trying to is to make sure that the class is self-contained' ' it can roll the die on the form and count the value of the die private function count_die (die1 as int16, die2 as int 16)as int16 dim total as int16 total=die1+die2 return total public sub getFirstRoll (die1 as int16, die2 as int16)as int16<-- returns array dim firstroll()as int16 redim firstroll(rolls) firstroll(rolls)= count_die(die1,die2) rolls=rolls+1 return firstroll 'test rolls! I am avidly interested in graphics and ado.net
-
Checkedlistbox controlHow do I create the code of a form with two checkedlistboxes and a value for each of the checks. So when the user clicks a checkbox on one form the rest of the check choices become grayed out and the other one becomes selectable and then the user can only pick one of them? John I am avidly interested in graphics and ado.net
-
Rotating DiceI am building a dice game, with rotating dice. The dice will have 1-6 dots on each side. I am also building a class to play the game, but can't figure out how to send a message to roll the dice in the class without the class knowing about the simulating rolling dice, how is this done?:confused: I am avidly interested in graphics and ado.net