title image


Smiley Von Kanonen und Spatzen...
...versuch's mal so:

'

Option Explicit

Private Const SW_MINIMIZE = 6

Private Declare Function ShowWindow Lib "user32" _

(ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

Private Declare Function IsIconic Lib "user32" (ByVal hwnd As Long) As Long



Private Sub Command1_Click()

Dim AnwID

AnwID = Shell(Environ("ProgramFiles") & "\Microsoft Office\Office\OUTLOOK.EXE", 6)

Do Until IsIconic(AnwID) = 1

ShowWindow AnwID, SW_MINIMIZE

Loop

End Sub

'



Gruß, Bastian

geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: