🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.misc
Article #326

Re: Why this does not work?

#326
From: Duane Bozarth
Date: Sat, 23 Nov 2002 17:06
14 lines
1903 bytes

Mirco Soderi wrote:
> snip irrelevant code...
>
> ' *** TURN OFF PC ***
> Const EWX_SHUTDOWN = 1
> Dim ResLon As Long
> ResLon = ExitWindowsEx(EWX_SHUTDOWN, 0&)
> ' *** END TURN OFF CODE ***
> 

Probably a lack of privileges or some such...did you check the return
code?
Technical Details
Message-ID: <3DDFB59E.EF2EC4A0@swko.dot.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <XIKD9.44568$744.1603397@news1.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94ee,7d442923ed2ccc4f
X-Google-Attributes: gidf94ee,public
X-Google-Thread: 107824,7d442923ed2ccc4f
X-Google-Attributes: gid107824,public
X-Google-Thread: 115e07,7d442923ed2ccc4f
X-Google-Attributes: gid115e07,public
X-Google-Thread: 106fd2,7d442923ed2ccc4f
X-Google-Attributes: gid106fd2,public
X-Google-Thread: 110e3b,7d442923ed2ccc4f
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 10b997,7d442923ed2ccc4f
X-Google-Attributes: gid10b997,public
X-Google-Thread: 111c14,7d442923ed2ccc4f
X-Google-Attributes: gid111c14,public
X-Google-Thread: 108062,7d442923ed2ccc4f
X-Google-Attributes: gid108062,public
X-Google-ArrivalTime: 2002-11-23 09:07:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: Duane Bozarth <dp_bozarth@swko.dot.net>
Newsgroups: comp.lang.basic.visual.misc,cz.comp.lang.basic.visual,fj.comp.lang.visualbasic,free.it.programmazione.visualbasic,free.it.visual-basic,it.comp.lang.visual-basic,japan.comp.lang.visual-basic,no.it.programmering.visual-basic
Subject: Re: Why this does not work?
Date: Sat, 23 Nov 2002 11:06:38 -0600
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <3DDFB59E.EF2EC4A0@swko.dot.net>
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: en-US,en,pdf
MIME-Version: 1.0
References: <XIKD9.44568$744.1603397@news1.tin.it>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@supernews.com
Lines: 14