473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Uncheck Read Only

Is there a way via code to check the Read Only attribute of a file and uncheck
it if it is checked?

Thanks!

Heather
Nov 12 '05 #1
2 2072
GetAttr() and SetAttr() should do what you need.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Heather" <ha******@cseducationalsystems.org> wrote in message
news:73*******************@newsread1.news.atl.eart hlink.net...
Is there a way via code to check the Read Only attribute of a file and uncheck it if it is checked?

Nov 12 '05 #2
On Thu, 13 Nov 2003 00:16:03 GMT, "Heather"
<ha******@cseducationalsystems.org> wrote:

Use the GetAttr and SetAttr functions.
-Tom.
Is there a way via code to check the Read Only attribute of a file and uncheck
it if it is checked?

Thanks!

Heather


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Aamir | last post by:
what is the shortest way to uncheck all the checked items in a CheckedListBox. I have coded a method as follows that takes the CheckedListBox and the CheckedItems collection as arguments and loops...
1
by: Karl Irvin | last post by:
Is there a command or routine that would allow me to uncheck the Read-Only attribute of an external file?
1
by: walkerhunter | last post by:
I have the three embedded Ruby(erb) check_boxes below: Patient #1<%= check_box("patient", '1', {}, "yes","no") %></br> Patient #2<%= check_box("patient", '2', {}, "yes","no") %></br> Patient...
1
by: zlf | last post by:
Hi, After setting DataGridViewCheckBoxColumn's TrueValue and FalseValue, I found I assign either TrueValue or FalseValue to a DataGridViewCheckBoxCell, it will be checked. What is the problem? How...
5
by: kid | last post by:
Hi, I have 5 checkbox elements, i.e: ( 1 ) a ( 2 ) b ( 3 ) c ( 4 ) d ( Check/Uncheck all )
12
by: swebster | last post by:
I need to zero in on a specific section of my jsp form during a hide to uncheck the checkboxes in that section. Currently, anything I try either unchecks all checkboxes on the form or doesn't work...
1
by: sva0008 | last post by:
Hi, I want a checkbox in such a way that if it is uncheck the user can check it. but if it is checked the user should not be able to uncheck it . can anyone please help. Regards
1
by: Anuj | last post by:
Hi, since sometime I'm stuck in a problem where I want to check or uncheck all the checkboxes. If I'm choosing name for the checkbox array as 'chkbx_ary' then I'm able to check/uncheck all the...
14
by: dragon52 | last post by:
Hi Everyone, Not sure the following is possible to do. The standard MS Access user interface has checkboxes on a number of menu pages, such as Tools/Options/View. I have been asked to find a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.