Jump to content

Recommended Posts

Posted

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!!

Posted

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. :)

Posted

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.

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...