pHoEnIxFuRy
Messages postés67Date d'inscriptionmercredi 17 juillet 2002StatutMembreDernière intervention18 juillet 20061 22 juil. 2002 à 13:13
Dans le Form Load :
Dim hWndDeMonForm As Long
Dim ret As Long
Set wsh = CreateObject("WScript.Shell")
wsh.RegWrite "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\NomDuProg", "CheminDuProg.exe"
hWndDeMonForm = GetWindow(Me.hwnd, GW_OWNER)
ret = ShowWindow(hWndDeMonForm, SW_HIDE)