Hello Tracy,

Yes, the new EXE is a VFP9 as top level form with screen=off

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Tracy Pearson
Sent: Monday, December 05, 2011 11:18 AM
To: [email protected]
Subject: RE: RUN an EXE 

Kent Belan wrote on 2011-12-05: 
>  I tried ShellExecute, but I get the same result.
>  
>  The new EXE starts behind the application.
>  
>  Any way for the new EXE to force itself to be in focus ?
>  
>  I used to use this code in the main forms Init method:
>  
>  Declare integer SetForegroundWindow in User32.dll Integer
>  SetForegroundWindow(this.HWnd)
>  
>  But this is not working, maybe because I am on W7/64 computer ?
>  
>  Thanks,
>  Kent
> 

Kent,

Is your EXE a Top-Level form with the CONFIG.FPW setting: Screen=off

Or is the _Screen visible?

Tracy Pearson
PowerChurch Software


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/C7577E497D114447BA394D0EDF572E30@LaptopW7
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to