[?] Exiting WinCC runtime with a click button

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

[?] Exiting WinCC runtime with a click button

Post by rogermanrique » Thu Jan 03, 2008 6:41 pm

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 » Fri Jan 04, 2008 6:51 am

Try with : DeactivateRTProject ()

good luck!

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

Post by rogermanrique » Sat Jan 05, 2008 6:41 pm

it worked very fine :D

thank you very much

Post Reply