Hello,
I am trying to run a code which has an access to some folder that
contains files and folders,the strange thing is that this folder becomes
read only ,I change it before running the debugging to no read only (it
and all the things it contains) but it comes to be read only again
before i manipulate this folder. How comes?
Thanks
*** Sent via Developersdex http://www.developersdex.com *** 2 2233
On Jul 16, 12:36*am, csharpula csharp <csharp...@yaho o.comwrote:
Hello,
I am trying to run a code which has an access to some folder that
contains files and folders,the strange thing is that this folder becomes
read only ,I change it before running the debugging to no read only (it
and all the things it contains) but it comes to be read only again
before i manipulate this folder. How comes?
Thanks
*** Sent via Developersdexht tp://www.developersd ex.com***
I have the same problem, kinda, and not from programming. I believe
it has to do with the 'permissions' set in Windows XP at the
"administra tor" level. I code from PowerUser level, but if I code
from Administrator level all files become Read Only. So perhaps check
the permissions at the admin level.
RL
Folders, by default, or NEITHER read-only nor writable. If you look
closely, that is not a two state check box - it is a three state box. Clear
is writable, checked is read-only, and gray (which is what you will see) is
neither. The option is only there so you can, using explorer, set the
read-only check box, and then select apply to all contents, and change all
the files in the folder to read-only. Next time you look at the folder, that
check box will be gray.
In short, the setting of the folder has no impact on your ability to
write files into that folder.
"csharpula csharp" <cs*******@yaho o.comwrote in message
news:uB******** ******@TK2MSFTN GP05.phx.gbl...
>
Hello,
I am trying to run a code which has an access to some folder that
contains files and folders,the strange thing is that this folder becomes
read only ,I change it before running the debugging to no read only (it
and all the things it contains) but it comes to be read only again
before i manipulate this folder. How comes?
Thanks
*** Sent via Developersdex http://www.developersdex.com ***
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rich |
last post by:
Hi,
I'm having problems with changing the Read Only properties.
Running Winxp and i cannot get the "read only" to clear off a folder.
The folder is one that i want to change the data in and it won't
let me.
I have two accounts on the main system and cannot change the
properties from either administrator account.
I have tried renaming the folder and putting it back into the program
and it still won't work. All files in the folder are...
|
by: Chen Zhuo |
last post by:
Hi,
I need to write some code to test whether a folder has read/write
permission. The idea is to try to read sub-directories in this folder,
if succeed, then test whether it's read-only. Any exception thrown means
we don't have permission to access this folder:
bool IsDirectoryAccessible(string path)
{
try
|
by: manokumar |
last post by:
hiye, i notice that some if not all of my folders in winxp
pro. are set as read only and its giving me some problem
with development. so as the natural thing, i unchecked the
read only option and click apply then click ok. and when i
right click on the same folder again JUST TO MAKE SURE the
read only option is checked AGAIN. so again, unchecked,
and again its check and the cycle repeats. anyway, i'm the
administrator to this computer. so...
|
by: Mitchell S. Honnert |
last post by:
Is there a way, given the full path of a folder on a network, that one can
programatically tell if you have Read access to that folder?
I have an application where the user is able to select a number of search
folders using the standard dialog control. There shouldn't be an issue with
the search folder being on a local drive or a network drive. But if you
don't have Read access to the folder, there's trouble. The user can see the...
|
by: shank |
last post by:
I borrowed the below code from http://www.brainjar.com/asp/dirlist/ and
cannot get it to read my folder files. I don't get any errors or any output
to screen. I have the below folder permissions set to browse. Without using
the below page, I can browse the files. What did I miss?
thanks!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<% set fs = CreateObject("Scripting.FileSystemObject")
set folder = fs.GetFolder("c:\inetpub\wwwroot\bs\aa\")...
| |
by: Bill Fallon |
last post by:
I have a VS2005 VB.Net windows form application deployed to a share drive.
The windows explorer security permissions for this application (.exe) file
is set for Everyone with List Folder/Read Data not allowed. This is done so
that users cannot take away a copy of the .exe file. When I execute the
..exe from the client computer I get .Net Framework Initialization Error,
Unable to find a version of the runtime to run this application. The...
|
by: paquer |
last post by:
Database Users need to have Read/Write etc... permissions to the
folder where the Database resides in order to create the lock file.
I have read only users.
I have set up the Shortcut that links to the 'Workgroup Info File'
with permissions for said database.
Within this 'WIF' File I have "Read Only" user's who are only provided
access to the DB only so they can view the data.
Now if I give them full permissions to the folder where...
|
by: Jim |
last post by:
I have the following piece of code:
Directory.CreateDirectory(myDir);
DirectoryInfo lDir = new DirectoryInfo(myDir);
lDir.Attributes = FileAttributes.Normal;
When this code runs, my directory is created fine, but my directory is
always read only. At first I thought it was something with using
DirectoryInfo. However, I also ran the following line of code:
|
by: alivip |
last post by:
Is python provide search in parent folder contain sub folders and files
for example folder name is cars and sub file is Toyota,Honda and BMW and Toyota contain file name camry and file name corola, file name honda contain folder accord and BMW contain file name X5
Is there way to enter name of parent folder(cars) and search in all sub folder(Toyota,Honda and BMW) and files ?
how can I intgreat cod to be user interface (buttun ,text box...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: 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...
| |