|
-
Mar 21st, 2000, 05:48 PM
#1
Help me..... I have tryed to use the createfile api
to set the file sttributes. but.... It wont work.
I have used the api,. discoverd on the VB API web site.
Could somebody send me or show me the solution for it.
I need to set the Archive and Hidden and Readonly attributes of a file.
-Kayoca Mortation 
-
Mar 21st, 2000, 05:54 PM
#2
Lively Member
there's a standard vb function called
SetAttr
I think that's what you need...
-
Mar 21st, 2000, 05:59 PM
#3
Lively Member
sorry, it's a STATEMENT, not a function...
for example:
SetAttr varFile, vbHidden + vbReadOnly
-
Mar 21st, 2000, 06:06 PM
#4
Ohhh yes thank you.. :)
And just thinking i was looking the hard way... 
-Kayoca Mortation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|