Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Problem with AppActivate.

Hi,

Please see the following code that I am using:
-----------------------------------------------
AppActivate ("App1 ")
Do
Sleep 2000
Loop Until UCase(Left(GetWinInfo, 9)) = "App1 "
-----------------------------------------------

After this piece of code, I basically send some user input/action
on to the new window using SendKeys function.

If the application with the title "App1 " is minimised (not focus) then
my code is not working but if it has focus then it works. Is there
anything that I need to modify in the code above so that the
application window should be shown and my Sendkeys should work.

I hope I have explained it properly.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Problem with AppActivate.

Can someone please look into this.

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
appactivate Philip Kopf Excel Programming 2 August 23rd 04 05:08 AM
appactivate Philip Kopf Excel Programming 3 August 23rd 04 05:06 AM
Running a .bat file via AppActivate Kevin Excel Programming 1 April 10th 04 10:53 PM
AppActivate problem when called twice SuperJas Excel Programming 0 March 3rd 04 06:41 AM
AppActivate trouble... David Kay Excel Programming 1 December 11th 03 12:17 AM


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"