|
by: StGo |
last post by:
How can i read/write file's custom attributs(like subject,author...) in
C#???
Thanks :))
|
by: John R. |
last post by:
How do you set the following file attributes:
Compressed
Encrypted
Normal
ReparsePoint
SparsePoint
You CAN'T set these using FileInfo.Attributes or File.SetAttributes. It
doesn't work for these file attributes.
|
by: Next |
last post by:
Hello,
I am trying to uncheck the archive box and check the compress box for a
given file.
I am having trouble. It seems I can uncheck the archive box but nothing I've
tried will check the compress box.
Would someone point me in the right direction? I have no idea what I am
doing wrong.
|
by: John Grandy |
last post by:
How to remove "Read Only" status on a file on a remote server?
My goal is to delete the file, but
System.File.Delete(\\machine1\c$\folder1\file1.txt)
is giving me an "Access is denied" error.
My log-on account is member of MACHINE1's local Administrators group.
|
by: Blue Man |
last post by:
Anybody has idea how to save value in web.config file during runtime?
ConfigurationSettings.AppSettings.Add("test","test value");
won't work, it will cause and error : the file is read only during rumtime.
|
|
by: Debbie Carter |
last post by:
Would anyone know how to read the file attributes of a file on the hard
drive to check if the file is encrypted or not? I have searched Visual
Studio Help and MSDN and the samples I have found do not work.
Any help would be appreciated.
I am using VB.NET
|
by: Tony Hedge |
last post by:
Hello,
1.1 .NET running on Windows XP...
I have read only files on my local machine. I want to use the above
SetAttributes to check OFF the readonly attribute for some of those files
because they must be writeable.
How the heck is that done??? There is a ReadOnly constant to set a file to
read only, but no constant to set a file to NOT read only (i.e. writeable).
Any help is appreciated. :-)
|
by: Bruce Lawson |
last post by:
Hi All,
I've modified a simple Aspnet program from a text to show file information,
including attributes and I keep getting an error which I cannot seem to
solve; here's the important parts:
Imports System
Imports System.IO
Imports System.IO.DirectoryInfo
Imports System.IO.File
Imports System.IO.FileAttributes
............
|
by: =?Utf-8?B?V2F5bmUgR29yZQ==?= |
last post by:
Hi
I want to achive 2 things.
First I would like to compress an existing file on my harddrive.
I can easily find out if a file is compressed or not by using
"File.GetAttributes".
But no matter what I do I simply can't set the compressed attribute using
"SetAttributes".
I have no problem setting the attributes "Read-Only", "Archive" or "Hidden"
using "SetAttributes"!
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|