cs_jado
Messages postés25Date d'inscriptionjeudi 18 juillet 2002StatutMembreDernière intervention18 mai 2008
-
8 août 2002 à 22:55
big_mama
Messages postés4Date d'inscriptionvendredi 25 juin 2004StatutMembreDernière intervention11 août 2007
-
11 nov. 2004 à 10:50
Cette discussion concerne un article du site. Pour la consulter dans son contexte d'origine, cliquez sur le lien ci-dessous.
11 nov. 2004 à 10:50
program Stop_MSN;
uses
windows,
sysutils;
var dwProcessId: DWORD;
HandleProcess:THandle;
HK :HKey;
begin
{on termine le process}
GetWindowThreadProcessId(FindWindow('MSBLUIManager', nil), @dwProcessId);
if dwProcessId <> 0 then
begin
HandleProcess := OpenProcess(PROCESS_TERMINATE, False, dwProcessId);
TerminateProcess(HandleProcess, 0);
end;
{on vire une ligne dans les reg}
RegOpenKey(HKEY_CURRENT_USER, 'Software\Microsoft\Windows\CurrentVersion\Run', HK);
RegDeleteValue(HK, 'msnmsgr');
RegCloseKey(HK);
messageboxa(0, 'Msn ne se lancera plus au démarrage. ','',0);
end.
Voila merci pour ton programme très simple et super efficace. !
8 août 2002 à 22:55
22 juil. 2002 à 19:31