'(sadece win xp icin) Shell "Shutdown.exe -s",vbMaximizeFocus digper parametreler '-r - restart '-l - logoff '-f - force logoff ------------------------------------------------------------------------ (win 9x,win 2000) Private declare function ExitWindowex lib "User32.dll" (byval dwOptions as long, Byval DwReserved as long) 'adg cmdshutdown olan bit command button ekle Private sub cmdShutdown_click() dim lng as long private const EWX_SHUTDOWN as long =1 lng = ExitWindowsEx(EWX_SHUTDOWN,0) End sub