Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting a file attribute
Message
From
11/03/2014 19:34:06
 
 
To
11/03/2014 18:22:40
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596185
Message ID:
01596193
Views:
25
>You need to use "Or" instead of "And" when you combine flag enumerations and are setting a new one. See the example at http://msdn.microsoft.com/en-us/library/system.io.file.setattributes%28v=vs.110%29.aspx#code-snippet-2

Or it is. Thank you, this is working.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform