bigr1822 Posted January 20, 2009 Posted January 20, 2009 I hope I can ask this question without having to explain too much info. I am trying to create a poor mans PDM. Company will not invest. I am programming in VBA wanting to change windows file properties states. I am able to make those changes, but really can only make the software know the windows property changed, is by closing the file down and reopening it. Problem is the software crashes on me when doing this. So here is my question. Does anyone know of a way, after you attempt to open a drawing that is set to read only, you select "YES" to opening it Read Only, Update the software to make the file "Normal" or "Write Acces". I can make that change, but the active drawing still says "Read Only". PLEASE HELP!! Quote
Lee Mac Posted January 20, 2009 Posted January 20, 2009 This may be a silly suggestion that has already been tried, but I'll state it anyway - have you tried right-clicking the file before opening it, going to properties and un-ticking the "read-only" box? Or, if you have a whole folder full of them, you can right-click the whole folder and apply the changes throughout. Hope this helps somewhat. Quote
bigr1822 Posted January 20, 2009 Author Posted January 20, 2009 Idealy, that would be the easiest way, but would be a problem with our QA procedures. Like I said earlier, it a poor mans PDM. This program does a lot more. I just did not want to try and explain all of it. It would take me forever to write. Anyway, thanks for the response, but I can not do that. Quote
wizman Posted January 20, 2009 Posted January 20, 2009 once youve changed the file's state in your program, still it will be read only unless close and open again, Try calling express' revert function at end of your program to refresh the state. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.