Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bring window to front screen
Message
 
 
To
23/09/2010 02:23:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01482415
Message ID:
01482422
Views:
114
This message has been marked as the solution to the initial question of the thread.
Try
oWSH = CreateObject( "WScript.Shell" )
oWSH.AppActivate( oMailItem.Application.ActiveInspector.Caption )
>i am running outlook automation - when the email has been prepared and ready to send, i would like the email to appear as the front window - but VFP pops up in front of the email - as a temporary solution i minimize the VFP screen thus:
>
>_SCREEN.WINDOWSTATE=1
>
>
>in my outlook automation i am using the following code.
>
>IF tlOpenEmail
>     .display() 
>     olNormalWindow = 0
>
>     loInspector = .GetInspector()
>     loInspector.WindowState = olNormalWindow
>endif
>
>
>what is the line of code i would add to bring the email to the front window?
>
>thanks for any suggestions.
>k
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform