External program check

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
User avatar
Edmund
Posts: 92
Joined: Thu Nov 29, 2012 2:27 pm

Re: External program check

Post by Edmund »

Hi GoranW!

If you want to start other applications on a panel you cant use the user32.dll becuse it don´t exists. But there is a code.dll instead.

Have a look at this post first and see if it helps, if not let us know.

http://beijerinc.com/support/ix/forum/v ... a918#p2838

Best Regards
Edmund Andersson

AITECH AB

Part of Beijer Integrator Group

J.Fo
Posts: 2
Joined: Tue Jun 04, 2013 7:21 am

Re: External program check

Post by J.Fo »

Hi Edmund

im kind of new with this and really need some help :)

This isnt same problem as the head line, but i have 2 T15C screens and working with ix2.0

I want to be able to take the control of the other screen using Remote Desktop Connection. So i saved the connection, put it in the Windows file, and used the Run action in ix. At first it works, but the "connection" ends up behind the ix program and i cant reach it, altough i can see it in my toolbar and if i close the ix program its visible.

Can i in someway make it appear on top of everything so i can start the connection and then get back to the program when i am done ?

i can also press the button many times and for everytime it starts a new "connection". how can i stop that if i only want it to start once ?

Best regards Jesper

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: External program check

Post by mark.monroe »

You can set whether or not the iX project is always on top.
Snap 2013-06-04 at 08.20.32.png
Snap 2013-06-04 at 08.20.32.png (67.95 KiB) Viewed 12115 times
In C# you should be able to detect whether or not a particular application is running on the screen. Then you can use an if statement to decide whether or not to launch your Remote Desktop Application.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

J.Fo
Posts: 2
Joined: Tue Jun 04, 2013 7:21 am

Re: External program check

Post by J.Fo »

Thank´s it worked great now.

/Best regards Jesper

jmkowol
Posts: 13
Joined: Wed Jul 31, 2013 10:23 am

Re: External program check

Post by jmkowol »

Is there a way to Open a "note pad" application on a T7A HMI?
The reason why I am asking is that down the road I might need to edit a NC program code as Txt file in the HMI environment and using an already existing Editor would help ding so.
Any Ideas?
At this moment it is not a "hot topic" for me but this could happen sooner than later.

Greetings
Would appreciate any ideas.

J

User avatar
Edmund
Posts: 92
Joined: Thu Nov 29, 2012 2:27 pm

Re: External program check

Post by Edmund »

Have a look at this old thread and post #3, it starts Wordpad.

http://beijerinc.com/support/ix/forum/v ... f=4&t=1308
Edmund Andersson

AITECH AB

Part of Beijer Integrator Group

Post Reply