Google Answers Logo
View Question
 
Q: Unhide the hiden folder on diskette by Visual Basic 6.0 codes. ( No Answer,   5 Comments )
Question  
Subject: Unhide the hiden folder on diskette by Visual Basic 6.0 codes.
Category: Miscellaneous
Asked by: yana-ga
List Price: $3.00
Posted: 19 Oct 2002 09:42 PDT
Expires: 18 Nov 2002 08:42 PST
Question ID: 85151
Hi! I have on diskete hiden folder,when I click in the DriveListBox
"A:" folder does not ShowUp.So I need the code in Visual Basic 6.0 to
resolve this problem.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Unhide the hiden folder on diskette by Visual Basic 6.0 codes.
From: probonopublico-ga on 19 Oct 2002 10:48 PDT
 
Can't you look at it with Norton Utilities?
Subject: Re: Unhide the hiden folder on diskette by Visual Basic 6.0 codes.
From: yana-ga on 20 Oct 2002 14:26 PDT
 
Hi! ID - 85151
I did not get the answer for my question
Subject: Re: Unhide the hiden folder on diskette by Visual Basic 6.0 codes.
From: omniscientbeing-ga on 20 Oct 2002 21:10 PDT
 
Did you try View->Folder Options->check Show All Hidden Files?
Subject: Re: Unhide the hiden folder on diskette by Visual Basic 6.0 codes.
From: fluttervertigo-ga on 29 Oct 2002 21:06 PST
 
I'm starting to see why people are getting frustrated on other posted
problems...questions are posted dealing with programming issues and
people are telling them how to do it manually (which isn't much of an
answer when you stop and think about it).

To examine or manipulate file (or directory) options, use one of the
following functions: setattr(), getattr(), fileattr().

These functions were added in VB 3.0 and are still available in V 7.0
(.Net).

I don't qualify as an "official answerer" (expert?) so I'll do the
best I can do to supply an answer (as though I were).

The machine I'm writing this from is not completely up (new mobo, cpu,
etc. etc. - just a remote proxy and cable modem to give me online
access.) - I haven't reinstalled any software or compilers, just 200+G
of open disk space spinning empty.  So if you need code instead of
just the function name(s), I'll try to remember to track this problem
down to ensure it's completed (with or without an "expert")
Subject: Re: Unhide the hiden folder on diskette by Visual Basic 6.0 codes.
From: slk-ga on 30 Oct 2002 17:43 PST
 
You need to use the DIR function. Let's say you want to list all files
on drive A: whether they are hidden or not :

Dim MyFile as string




' Myfile contains the first file name
' Call Dir again without arguments to return the next file 
' in the same same directory.
MyFile = Dir


' Display the names in C:\ that represent directories.
MyName = Dir("A:\*.*", vbHidden)   ' Retrieve the first entry.
Do While MyName <> ""   ' Start the loop.
     Debug.Print MyName   ' Display entry only if it
   MyName = Dir   ' Get next entry.
Loop

' this example will print all of the file names in the debug window,
of course
' you could do something else with them. Use GetAttr function to
examine
' attributes if you ONLY want to see hidden ones.  Hope this helps!

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy