Showing results 1 to 5 of 5

Thread: VBA And Multiple Monitors

  1. #1
    Join Date
    11.04.2008
    Posts
    40

    Lächeln VBA And Multiple Monitors

    Hi,

    I am loading the picture name from a database and using the picture switch with index to load the correct picture.

    What I also need to do is assign which monitor it display it on.

    VBA code to used so far ;

    thisProject.Variables.Item("Screen1").Value = "scrRight"
    thisProject.RtFunctions.Item("Function 0").Start

    Where Function 0 is the screen switch with index.

  2. #2
    Join Date
    11.04.2008
    Posts
    40

    Rotes Gesicht Re: VBA And Multiple Monitors

    Any Help Please??

  3. #3
    Join Date
    20.08.2009
    Posts
    293

    Default Re: VBA And Multiple Monitors

    Hi,

    could you please precise your question?

    Could you also show some more code with comments what is not working?

    Regards,
    Bernhard

  4. #4
    tobiassedlmeier Gast

    Default Re: VBA And Multiple Monitors

    Hi,

    I didn't try it but isn't it possible to change the Monitor in the function with

    thisProject.RtFunctions.Item("Function 0").DynProperties("PictSwitch[0].Monitor") = "1"
    thisProject.RtFunctions.Item("Function 0").Start

    1 = monitor 1
    0 = monitor 0



    Quote Originally Posted by allmendinger View Post
    Hi,

    I am loading the picture name from a database and using the picture switch with index to load the correct picture.

    What I also need to do is assign which monitor it display it on.

    VBA code to used so far ;

    thisProject.Variables.Item("Screen1").Value = "scrRight"
    thisProject.RtFunctions.Item("Function 0").Start

    Where Function 0 is the screen switch with index.

  5. #5
    Join Date
    11.04.2008
    Posts
    40

    Lächeln Re: VBA And Multiple Monitors

    Will try and let you know, thanks

Similar Threads

  1. Multiple monitors
    By prasadkh in forum zenon Supervisor
    Replies: 18
    Last Post: 21st June 2018, 08:00
  2. Client having 2 monitors
    By shikra in forum zenon Supervisor
    Replies: 1
    Last Post: 12th May 2010, 19:21
  3. Multiple Monitors
    By allmendinger in forum zenon Supervisor
    Replies: 6
    Last Post: 16th October 2009, 07:13
  4. multiple monitors splitted around the plant
    By flajoso in forum zenon Supervisor
    Replies: 2
    Last Post: 19th September 2008, 09:54
  5. Multiple monitors on Vista
    By micko in forum zenon Supervisor
    Replies: 2
    Last Post: 23rd May 2008, 11:33

Posting Rules

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