ActiveX EXE performance

null
MichaelJCAsked:
Who is Participating?
 
MirkwoodConnect With a Mentor Commented:
To verify if your statement is right.
Goto control panel/system/performance and set boost to none. Now all applications are threated equal.

Furthermore these two functions
Declare Function SetPriorityClass Lib "kernel32" Alias "SetPriorityClass" (ByVal hProcess As Long, ByVal dwPriorityClass As Long) As Long

Declare Function GetCurrentProcess Lib "kernel32" Alias "GetCurrentProcess" () As Long

0
 
TheAnswerManCommented:
Instead of using events.
Modify a Public Property of the Class.

and reference it with a timer of the
Parent Application.
0
 
MichaelJCAuthor Commented:
I get roughly the same performance.  Since I am not raising very many events, this shouldn't affect performance any more than a timer polling the property.  I think it has more to do with the fact that the ActiveX .EXE is running in the background.
0
 
a111a111a111Commented:
Do you have some DoEvents in your code?
0
 
MichaelJCAuthor Commented:
Oddly enough, even with the events today it appears that it is running the same speed whether it is standalone or through automation.  Maybe something was hosed up yesterday.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.