Showing results 1 to 3 of 3

Thread: Get Project handle for a specific Zenon Project

  1. #1
    Join Date
    09.03.2015
    Posts
    34

    Default Get Project handle for a specific Zenon Project

    Hi,

    I am currently evaluate the possibility to get the Project handle out of a running Zenon project on another computer. I have to read and write variable values to that runtime.

    Thanks.

    Horst

  2. #2
    Join Date
    09.03.2015
    Posts
    34

    Default Re: Get Project handle for a specific Zenon Project

    Okay. How can I "connect" to a runtime from within a C# program (not VSTA!) ??

    I can use ApplicationED to "connect" to an open Zenon Editor on the local machine - but I am not able to connect to a runtime. I guess it is the Application object?

  3. #3
    Join Date
    20.08.2009
    Posts
    293

    Default AW: Re: Get Project handle for a specific Zenon Project

    Quote Originally Posted by nollh View Post
    Okay. How can I "connect" to a runtime from within a C# program (not VSTA!) ??

    I can use ApplicationED to "connect" to an open Zenon Editor on the local machine - but I am not able to connect to a runtime. I guess it is the Application object?
    Hi,

    your guess is right:

    private zenOn.Application applicationRT;
    applicationRT = Marshal.GetActiveObject("zenOn.Application") as zenOn.Application;

    Regards,
    Bernhard

Similar Threads

  1. VisualBasic Project into Zenon
    By jyo in forum VBA
    Replies: 1
    Last Post: 16th June 2014, 11:04
  2. Replies: 2
    Last Post: 10th May 2013, 16:40
  3. Can zenon handle 800,000-word-tags?
    By sunnamkung in forum zenon Supervisor
    Replies: 1
    Last Post: 26th March 2012, 23:22
  4. Replies: 12
    Last Post: 25th November 2010, 10:54
  5. how can be save the project that consist of the sub project?
    By michael_k in forum zenon Supervisor
    Replies: 1
    Last Post: 6th March 2010, 12:31

Posting Rules

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