I can check out a file, update and save the file data card, but when i try to check in, my programm crashes and says : "The file is open in another application".
the programm was running fine, i have alredy made changes to 1000 files. It simply crashed on one file. I can't check in or undo check out manually either, even with the admin rights.
The programm crashes on the unlockfile, so i can,t even use the return codes to exit the sub. Is there a way to see if the file is opened in another application in order to skip this file??
Thank you
I found the solution to my problem in Knowledge base. Solution ID S-015191.
https://customerportal.solidworks.com/eservice_enu/start.swe?SWECmd=InvokeMethod&SWEMethod=GotoRecord&SWEService=SWGotoRecord&ViewName=SW+Solution+Preview+View+eService&BusObject=Solution&BusComp=Solution&Id=1-912B3S&SRN=
The Variable interface stays open in the sub, and so it can't check it in. The above method explains how to release it prior to checking in.