--- azizpeshawar <[EMAIL PROTECTED]> wrote:
hello,
Add a reference to your project named "Microsoft
Scripting Runtime",
Declare a variable as
Dim a as New File System Object.
then use the Dir() command in Vb to find the file in
specified path
eg. If Dir(FilePath)<>"" then
a.attributes=vbhidden 'Check it not sure.
endif
i think this will help u.
Bye
Sutjit
> How to hide a folder or/and a file through vb 6
> coding?
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/