Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bring window to front screen
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01482415
Message ID:
01482422
Vues:
113
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform