Hello Everyone
I have a one installed application in my C folder(C:\\W8R1.5\\W8R1.5.exe) I want to open this application from WinCC OA by clicking on a button?
How to Run External Application From WinCC OA
- chandra
- Posts:32
- Joined: Fri Oct 06, 2017 12:25 pm
How to Run External Application From WinCC OA
- flindecke
- Posts:69
- Joined: Wed Jun 24, 2015 1:54 pm
Re: How to Run External Application From WinCC OA
You can use WinCC OA API system for this case.
Further details are explain in the help. Search for "system*".
With regards
Frank
Code: Select all
string output;
string errorOutput;
int errCode = system("C:\\W8R1.5\\W8R1.5.exe", output, errorOutput);
if (errCode == -1) {
DebugTN("Failure");
} else {
DebugTN("Succeeded", output, errorOutput);
}
With regards
Frank
- chandra
- Posts:32
- Joined: Fri Oct 06, 2017 12:25 pm
Re: How to Run External Application From WinCC OA
Hi
It is working
Thank You Very Much for your fast reply.
It is working
Thank You Very Much for your fast reply.