I want to make a buttom where the client can be closed. Is there a command for that?
I want to make a buttom where the client can be closed. Is there a command for that?
I have used the following script in a button on a graphic to close the ViewApp:
dim wProcess as System.Diagnostics.Process;
wProcess = System.Diagnostics.Process.GetCurrentProcess();
wProcess.CloseMainWindow();
I have used the following script in a button on a graphic to close the ViewApp:
dim wProcess as System.Diagnostics.Process;
wProcess = System.Diagnostics.Process.GetCurrentProcess();
wProcess.CloseMainWindow();
This might require Admin rights. Not sure, so check before using it in an environment where th operator does not have local admin rights.