Cancel
Showing results for 
Search instead for 
Did you mean: 

SetDisplay throwing an Exception if Windows Session is Locked

Valued Contributor
Valued Contributor

Dear Forum,

 

I am wondering if anyone else has had an issue running an NXOpen application when the windows session is locked.   My application works fine as long as the windows session is unlocked and the display is active.  If I lock my computer and run the application NXOpen seems to fail when it trys and runs this line of code:

 

status1 = theSession.Parts.SetDisplay(myWorkPart, False, False, partLoadStatus1)

 

 

1 REPLY 1

Re: SetDisplay throwing an Exception if Windows Session is Locked

PLM World Member Legend PLM World Member Legend
PLM World Member Legend

Hi @wej0901 

 

I would like to understand that how do you run a program when you have lock the computer?

Is the program runs in an external mode(*.exe)?

 

or 

 

you are executing the application in current nx session and lock the computer.