AnsweredAssumed Answered

vrf Locking a file

Question asked by paul.fowler on Feb 26, 2002

Hi Warren,

How about a bit of ActiveX?

Using the FileSystemObject contained in the MS Scripting Runtime library
(scrrun.dll on my system), you could set and clear the Read Only attribute
of your file programmatically.

On my system (WinNT), trying to write to a ReadOnly file from VEE returns
Error 702 (Cannot open file <name>: Permission Denied)

Regards
Paul

---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes