🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #761

Re: Spegnere il computer

#761
From: Fr4nc3sc0
Date: Mon, 14 Mar 2005 11:55
20 lines
1651 bytes
"acet" <olseretoglispam@tiscalinet.it> ha scritto nel messaggio
news:422ab3ec$0$32332$5fc30a8@news.tiscali.it...
> Vorrei sapere se esiste un modo per spegnere il computer attraverso dei
> comandi in VB e in caso affermativo conoscere il relativo codice.
>

Public Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long,
ByVal dwReserved As Long) As Long
Public Const EWX_LOGOFF = 0
Public Const EWX_SHUTDOWN = 1
Public Const EWX_REBOOT = 2
Public Const EWX_FORCE = 4


> Grazie a chi mi risponder�
Prego figurati, � un piacere :-)

2 dita a V
Fr@nc3sc0
Technical Details
Message-ID: <d13u3m$mke$1@newsreader.mailgate.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.imp.ch!news.imp.ch!130.59.1.10.MISMATCH!news-zh.switch.ch!switch.ch!news.mailgate.org!newsreader.mailgate.org!not-for-mail
References: <422ab3ec$0$32332$5fc30a8@news.tiscali.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,de122eec70caf172
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news.imp.ch!news.imp.ch!130.59.1.10.MISMATCH!news-zh.switch.ch!switch.ch!news.mailgate.org!newsreader.mailgate.org!not-for-mail
From: "Fr4nc3sc0" <nontidicolamia@email.no>
Newsgroups: free.it.visual-basic
Subject: Re: Spegnere il computer
Date: Mon, 14 Mar 2005 12:55:55 +0100
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 22
Sender: f.sorrentino@tin.it
Message-ID: <d13u3m$mke$1@newsreader.mailgate.org>
References: <422ab3ec$0$32332$5fc30a8@news.tiscali.it>
NNTP-Posting-Host: 83.103.45.26
X-Trace: newsreader.mailgate.org 1110801334 23182 83.103.45.26 (14 Mar 2005 11:55:34 GMT)
X-Complaints-To: abuse@mailgate.org
NNTP-Posting-Date: Mon, 14 Mar 2005 11:55:34 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478