Showing results 1 to 6 of 6

Thread: Using IE11 with ZENON 6.51 web client

  1. #1
    Join Date
    02.07.2012
    Posts
    2

    Default Using IE11 with ZENON 6.51 web client

    Hello,

    On our plant is installed a Zenon web server with 25 view only web clients.
    On all Windows 7 computers, IE11 is installed.
    On few of those computers when VBA is activated an error occured at activeX startup and ZENON client will not start.
    On other computers the web client starts. But on few objects a VBA script is used and will launch a simple MsgBox but when I try to launch this script, MsgBox doesn't appear.
    So I have done this chek :
    - Opened the VBA editor on those computers
    - Activated the breakpoint before the MsgBox line
    - Launched the script
    - Do "F8" to see the activated yellow line

    When MsgBox line is activated the MsgBox window will not appears and no debug error will appears.

    So I have two questions :
    - How do I configure IE11 to enable VBA on Web clients ?
    - Why MsgBox will not appears ?

    Best regards,

    Emmanuel

  2. #2
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Using IE11 with ZENON 6.51 web client

    using Internet Explorer it is not possible to display Message boxes triggered via VBA.
    this information will is documented in the help documenatation from zenon 7.20 on.

    Message boxes triggered via VBA itself should be avoided anyway as in certain situation the application itself (in this case zenon resp. WebClient - Browser application) can be halted for the time the message is displayed (i.e. when an action is required).

    It is recommended to use other mechanism to inform the operator instead:
    - i.e. writing the message into the CEL (via method WriteCelString()
    - i.e. writing the mesage on a string variable which value is shown via the "Dynamic Text" element

    regards,
    herbert


  3. #3
    Join Date
    02.07.2012
    Posts
    2

    Default Re: Using IE11 with ZENON 6.51 web client

    Thanks for this reply.
    I will investigate to replace MsgBox.
    Best regards,

    Emmanuel

  4. #4
    Join Date
    20.08.2009
    Posts
    293

    Default AW: Using IE11 with ZENON 6.51 web client

    You could also call a screen switch function in VBA to open a zenon screen (configured as dialogue/popup) instead of displaying a message box.

  5. #5
    Join Date
    27.08.2008
    Posts
    50

    Default Re: AW: Using IE11 with ZENON 6.51 web client

    As we are using the Runtime menus in our old projects we also have VBA issues with IE11.

    Disabling the Data Execution Prevention or Memory Protection Mode with the Group Policy Editor also doesn't work to get the VBA working.

    WebClient Version also 6.51.

    Are there any solutions or do we have to get rid of all client VBA functions?

  6. #6
    Join Date
    30.05.2007
    Location
    Salzburg
    Posts
    879

    Default Re: Using IE11 with ZENON 6.51 web client

    Für IE >= 10 (in Hilfe >= 7.11 )
    Handbuch -> zenon Web Server, Web Server Pro und Web Server Pro Light -> Projektkonfiguration

    Andere Browser und Internet Explorer ab Version 10 (Windows 8)

    DEP muss komplett abgeschaltet werden, da der Browserprozess nicht explizit ausgenommen werden kann. Dies wird aus Sicherheitsgründen nicht empfohlen.

    Um DEP abzuschalten:

    starten Sie die Kommandozeile mit Administratorrechten
    führen Sie folgenden Befehl aus:
    bcdedit.exe/set {current} nx AlwaysOff
    starten Sie den Rechner neu
    Die Einstellung kann mit dem Befehl bcdedit.exe/set {current} nx AlwaysOn wieder rückgängig gemacht werden.


    gruß,
    herbert


Similar Threads

  1. zenon Web-Client 7 -> Web-Server 6.22 slow startup
    By kicker in forum Webserver/Webclient
    Replies: 1
    Last Post: 24th September 2013, 21:11
  2. Re: The web client does not open the zenon project...
    By sidramsatyal in forum Webserver/Webclient
    Replies: 2
    Last Post: 18th September 2013, 23:23
  3. Verbindungsproblem von Web-Client zu zenon-Projekt
    By markh in forum Webserver/Webclient
    Replies: 3
    Last Post: 27th September 2011, 00:17
  4. The web client does not open the zenon project...
    By shahrzad in forum Webserver/Webclient
    Replies: 10
    Last Post: 8th October 2008, 13:32
  5. Replies: 0
    Last Post: 18th September 2007, 14:01

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •