[?] Exiting WinCC runtime with a click button

ProTool, WinCC flexible, WinCC, PP/OP/TP/TD/MP
rogermanrique
Posts: 3
Joined: Thu Jan 03, 2008 6:31 pm
Location: Brazil

[?] Exiting WinCC runtime with a click button

Post by rogermanrique »

I'm trying to put a button to exit the wincc runtime.
I've already tried the "ExitWinCC()" command, but it closes all the applications and the last time I tried to open it back, there was an error window.

Does anyone knows if it's possible to put a command to shut down only the runtime window?
if it is, how it's done.

Thank you very much
votuandktd
Posts: 58
Joined: Sun Aug 13, 2006 12:51 pm
Location: Vietnam

Re: [?] Exiting WinCC runtime with a click button

Post by votuandktd »

Try with : DeactivateRTProject ()

good luck!
rogermanrique
Posts: 3
Joined: Thu Jan 03, 2008 6:31 pm
Location: Brazil

Post by rogermanrique »

it worked very fine :D

thank you very much