SendKeys problem - datagrid app. shuts down after updating by sendkeys 
Author Message
 SendKeys problem - datagrid app. shuts down after updating by sendkeys

Help someone!
Strange problem this.  To update or enter a record into the datagrid I can
manually hit the Enter key to select a cell, and then the Down Arrow to move
to the next record - which works.  If I put this code in an Update button,
the application updates, but then shuts down.

Sendkeys "{ENTER}{DOWN}"

If I put a DOEVENTS command between the two, I get "Out of stack space"
which I think is a known bug, so that doesn't work either.

If anybody can help it will be much appreciated.
Thanks
Stan



Thu, 25 Apr 2002 03:00:00 GMT  
 SendKeys problem - datagrid app. shuts down after updating by sendkeys
Hi !

I think the Error "Out of stack space" is a recursive Call, in your code or
in
the code of the Grid.

I dont know your grid, but cant you use a refresh function like
"grid.refresh" ?
Maybe you must first refresh the Datacontrol, the Grid is bound to.

Best Regards

Norman


Quote:
>Help someone!
>Strange problem this.  To update or enter a record into the datagrid I can
>manually hit the Enter key to select a cell, and then the Down Arrow to
move
>to the next record - which works.  If I put this code in an Update button,
>the application updates, but then shuts down.

>Sendkeys "{ENTER}{DOWN}"

>If I put a DOEVENTS command between the two, I get "Out of stack space"
>which I think is a known bug, so that doesn't work either.

>If anybody can help it will be much appreciated.
>Thanks
>Stan



Fri, 26 Apr 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem with redrawing when sending keys to a 16-bit app with the SendKeys instruction

2. Problem with redrawing when sending keys to a 16-bit app with the SendKeys instruction

3. Shut down, how to intercept shut down?

4. Problem shutting down VB App after establishng connection

5. Shutting down an NT app from another app

6. sendkeys substitute for {DOWN}?

7. Sendkeys slowing down as a loop grows?

8. How can I slow down SendKeys

9. SendKeys to Another apps Active Window

10. Clipboard Paste to other app without SendKeys

11. Using Shell, AppActivate and Sendkeys to control DOS app from VB

12. SendKeys to MS-DOS App using VBA/Excel

 

 
Powered by phpBB® Forum Software