Pausing Code Execution - How? 
Author Message
 Pausing Code Execution - How?

Hi All,

I am using the shell command to start a terminal program
called InfoConnect23.

Then I am using send keys to start a session and logon.

The problem is that the VBA code does;'nt wait for info
Connect32 to finish loading before sending the keys!!

AFAK InfoConnect32 is not ActiveX compatiable.

I was wondering if maybe I could use the fact that
when InfoConnect32 starts it comes up with "NO
USER LOGGED ON"?

Cheers

- Al



Thu, 13 Oct 2005 17:44:06 GMT  
 Pausing Code Execution - How?

Hmmm. I would tend to use an OnTime command with a healthy delay in
this situation.


yarn:

Quote:
>Hi All,

>I am using the shell command to start a terminal program
>called InfoConnect23.

>Then I am using send keys to start a session and logon.

>The problem is that the VBA code does;'nt wait for info
>Connect32 to finish loading before sending the keys!!

>AFAK InfoConnect32 is not ActiveX compatiable.

>I was wondering if maybe I could use the fact that
>when InfoConnect32 starts it comes up with "NO
>USER LOGGED ON"?

>Cheers

>- Al

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.

Products:   http://www.geocities.com/word_heretic/products.html
Spellbooks: 735 pages of dump left and dropping...

The VBA Beginner's Spellbook: For all VBA users.



Thu, 13 Oct 2005 22:43:48 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Pausing Code Execution

2. Pausing code execution while another form open

3. Pause code execution while form is open

4. Pausing code execution to wait for user response

5. Pause execution of VBA Code and Restarting!

6. *********PAUSING EXECUTION OF CODE!!!???PLEASE HELP!!???************

7. *******PAUSING EXECUTION OF CODE************

8. Pause VB Execution for seconds?

9. ***Getting Access 2.0 to pause in the execution of a module

10. Pausing program execution

11. Pause event execution

12. Making a pause in the execution of a form

 

 
Powered by phpBB® Forum Software