Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bring window to front screen
Message
From
23/09/2010 18:16:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01482415
Message ID:
01482486
Views:
53
good stuff Sergey - thanks so much.
k

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform