Hello,
Lot of customer have some problem using Timer ActiveX with new version of PcVue and OS.
The fact is with Windows XP and older version of PcVue these Timer work well but after a migration (From 8.0 to 9.0 and XP to W7) these Timer use a lot of ressources (CPU,...).
Do you have any same feedback, solution,...?
Thanks a lot
I know that there is a problem when you declare the Timer direct in object thisproject.
(I believe you are not notified on change, or s.th. like that)
But if the timer is declared in a mimic : i never met some problem.
I hope, it will help you, colloc.
Brice, what do you mean by "these Timer use a lot of ressources (CPU,...)."?
Do you have some figures?
To be sure: Are you talking about the Timer we find in the VBA references on Arc Informatique Common Controls?
Hi,
I don't have any figures sorry but I asked to my Customer and it is the AITimer that I talked about.
I will keep you informed.
OK.
On my side I have no feed back about this ActiveX because I always forbid my customer to use it!
I always recommend using the AI Common Controls that is window less.
Nico can you develop what you mean with AI Common Controls? I don't know at all how it works.
It can be very interesting for Essilor project.
OK.
PcVue provides a component library called Arc Informatique Common Controls.
So far this library contains only 1 ActiveX: AITimer.
You must use this component when you need a permanent timer instead using the old one needing to be inserted in a mimic.
How to use it?
1. Add the AI Common Control library in VBA. Tools / References / Arc Informatique Common Controls 1.0
2. Use the following code. Example: Use a permanent timer triggering every 1s
Dim WithEvents oTimer As AIComCtl.Timer
Private Sub fvProject_StartupComplete()
Set oTimer = New AIComCtl.Timer
oTimer.Interval = 1000
oTimer.Enabled = True
End Sub
Private Sub oTimer_Timer()
Debug.Print Now
End Sub
That's all folks!
PS: If I am not mistaken, this component is available since the 8.0 :whistle:
Thank you !
And may I know what you are waiting to make a kb article? 👿
ok thank you Nico.
I think if my customer still have the same problem, I will advice your solution.
Thank you !
And may I know what you are waiting to make a kb article? 👿
Sorry Ludo, I thought everybody knew this ActiveX.
Now it's done: KB657


