Reflections Wait Host Issues
Reflections Wait Host Issues
(OP)
Hi all
Reflections doesn't recognize Legacy Attachmate macro wait host times. It tends to hesitate as it works through a macro for upwards of 45 seconds. I've attached a macro dropping in suggested code from Reflections knowledge: https://support.microfocus.com/kb/doc.php?id=70214...
I get run time errors and I'm not even sure this is what is causing the hesitation though according to the KB article is seems likely.
Thank you for any help!
Reflections doesn't recognize Legacy Attachmate macro wait host times. It tends to hesitate as it works through a macro for upwards of 45 seconds. I've attached a macro dropping in suggested code from Reflections knowledge: https://support.microfocus.com/kb/doc.php?id=70214...
I get run time errors and I'm not even sure this is what is causing the hesitation though according to the KB article is seems likely.
Thank you for any help!
RE: Reflections Wait Host Issues
Please post your code, as I and other, may not have Attachmate loaded.
FYI, I always wrote my code in Excel VBA. The WAIT technique I found most sucessful (using Extra) was lowering the g_HostSettleTime to 100, as I recall and the using WaitForCursor in a loop...
CODE
Skip,
for a NUance!
RE: Reflections Wait Host Issues
I did provide my code as an attachment and the knowledge base article where Reflection directly addresses this subject and provides different options such as wait for cursor, or keyboard enabled.
Problem is as you will see in the attached code sample, I've tried using their options and still can't get it to work. I'm sorry, it this case I'm not ready to convert to VBA.
I'm really stuck on this one and I provide around 75 macros to at least 300 people! Can you give me an alternate code that will make either of the Reflection suggestions work in my code?
Thanks!
RE: Reflections Wait Host Issues
Unfortunately, I don’t have any Attachmate application on my PC.
Unfortunately, I took my asynchronous problem and used Excel VBA along with my own solution (using WaitForCursor in a loop) to 1) eliminate asynchronous data skipping and 2) running at, what seemed to be, optimum speed.
Skip,
for a NUance!