Hello!
WinCCOA 3.14, any patch, OS Windows-family
When WebClient starts within browser via http://.... function works fine.
When WebClient starts with command line:
>Siemens\\Automation\\WinCC_OA\\WebClient\\3.14\\bin\\WinCCOAWebClient.exe - server 111.222.111.222:1443
function gets result like for Standard UI.
Is there 100%-way determine a mode - WebClient or not?
isInBrowser() function
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: isInBrowser() function
Try the 'getActiveHttpServerUrl' function, when it is not empty then it gets its files (panels, libraries, pictures, etc.) from the server.
- vladimir
- Posts:25
- Joined: Thu Jan 23, 2014 1:34 pm
Re: isInBrowser() function
I check it:
When start WebClient within web-browser:
7.3.2017 9:11:3.487 isInBrowser:TRUE
7.3.2017 9:11:3.489 getActiveHttpServerUrl:http://172.111.111.111:1443/
When start WebClient via command line:
7.3.2017 13:41:59.414 isInBrowser:FALSE
7.3.2017 13:41:59.415 getActiveHttpServerUrl:http://172.111.111.111:1443/
When STD UI:
7.3.2017 13:41:59.414 isInBrowser:FALSE
7.3.2017 13:41:59.415 getActiveHttpServerUrl:
Its works!
Thanks.
When start WebClient within web-browser:
7.3.2017 9:11:3.487 isInBrowser:TRUE
7.3.2017 9:11:3.489 getActiveHttpServerUrl:http://172.111.111.111:1443/
When start WebClient via command line:
7.3.2017 13:41:59.414 isInBrowser:FALSE
7.3.2017 13:41:59.415 getActiveHttpServerUrl:http://172.111.111.111:1443/
When STD UI:
7.3.2017 13:41:59.414 isInBrowser:FALSE
7.3.2017 13:41:59.415 getActiveHttpServerUrl:
Its works!
Thanks.