Vb code in factorytalk se

rejoe.koshy

Member
Join Date
Dec 2011
Location
kolkata
Posts
193
Hey guys,
I need to run a vb code in FTV SE at regular intervals of time ie every 5 mins (example).
I tried using the instruction --Application.OnTime (Now) + TimeValue("00:05:00"), "button_release" at the end of the code but it returned an error.

The same code works perfectly with excel vba ..is there any other way to do it??


Pls help
 
Last edited:
Hey guys,
I need to run a vb code in FTV SE at regular intervals of time ie every 5 mins (example).
I tried using the instruction --Application.OnTime (Now) + TimeValue("00:05:00"), "button_release" at the end of the code but it returned an error.

The same code works perfectly with excel vba ..is there any other way to do it??


Pls help


At the end of button_release sub, do you call your interval sub?
 

Similar Topics

Hello guys, can anyone help me with FactoryTalk View Studio. I need to use a Global Object that contains VBA Macros in different displays, but it...
Replies
1
Views
1,646
I have a plant with multiple areas, users, codes, etc. I have an auto logout command that triggers if a supervisor logs in and walks away. I use...
Replies
5
Views
4,787
Hi, I have a question regarding FactoryTalk view studio. I have a page with bunch of editable variables and it works perfectly, it means that as...
Replies
1
Views
4,841
Hi, I'm new here. I need help, about how create users in Factorytalk by code VB. it's possible? Thanks:)
Replies
0
Views
1,180
Is there a simple way to call a DLL with a COM interface from VB code in SE?
Replies
1
Views
2,434
Back
Top Bottom