Hello all,
I'm writing a routine and have come across a slight snag. I have this code:
Code:
(if (not (vl-catch-all-apply 'vla-open (list dbxDoc dwg)))
(progn
;;do my stuff here
(vla-saveas- dbxDoc dwg)
)
)
This works really well until I come to a file that is Read-Only . It will do as I expect when the file is Read-Only when someone has it open, but if it's file attribute is Read-Only, it doesn't catch it . Does any know a way around this or how to check to see if a file has a Read-Only attribute ?
TIA