Showing results 1 to 2 of 2

Thread: VSTA ProjectAddin not being executed?

  1. #1
    Join Date
    10.12.2014
    Posts
    1

    Default VSTA ProjectAddin not being executed?

    I'm trying to implement OnlineContainer functionality to perform certain actions if a variable received from the PLC is changed. I've copied and implemented the code from the tutorial in this forum. However, the code isn't being executed. I've tried adding messageboxes and putting breaks in the code, but even InternalStartup isn't being executed.

    Any ideas what could be wrong?

  2. #2
    Join Date
    24.07.2008
    Location
    Salzburg
    Posts
    88

    Default AW: VSTA ProjectAddin not being executed?

    Hi pbo,

    sorry for the late reply.

    Are you testing on your development machine or on your RT machine?

    Maybe some of the following zenon6.ini entries are not activated on your RT machine:
    [VSTA]
    LOADED=1
    CSHARP=1
    ON=1
    [VBA]
    EIN=1
    EVENT=1
    ?

    Maybe obvious but you should make sure that you open the VSTA editor with the project add-in and not with the workspace add-in.

    Regards,
    Konstantin
    Last edited by konstantinf : 3rd March 2015 at 15:33

Similar Threads

  1. How can i duplicate VSTA ProjectAddin
    By ekium in forum VSTA
    Replies: 2
    Last Post: 16th October 2013, 08:56
  2. Replies: 1
    Last Post: 3rd August 2010, 10:02
  3. The event OnElementCreated is not executed
    By markclemens in forum VBA
    Replies: 0
    Last Post: 21st February 2008, 14: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
  •