Article View: free.it.visual-basic
Article #597Re: Spegnere il pc
From: Giovanni
Date: Fri, 28 Oct 2005 13:08
Date: Fri, 28 Oct 2005 13:08
30 lines
2234 bytes
2234 bytes
"ZonaRossa" <00000@null.ci> ha scritto nel messaggio
news:skp8f.6284$hC1.3495@tornado.fastwebnet.it...
>
> "ZonaRossa" <00000@null.ci> ha scritto nel messaggio
> news:Ghp8f.6280$hC1.1170@tornado.fastwebnet.it...
>>
>> "Giovanni" <giovxxxx@virgilio.it> ha scritto nel messaggio
>> news:43620ed8$0$13360$4fafbaef@reader2.news.tin.it...
>>> Esiste un comando da inserire alla fine di una routine che spegne il pc?
>>> Grazie
>>
>>
>>>Ecco, Puoi fare cosi...................
>> ###########################################################
>> Dim ZonaRossa As Object
>>
>> Set ZonaRossa = CreateObject("Shell.Application")
>> ZonaRossa.ShutdownWindows
>> Set ZonaRossa = Nothing
>>
>> ###########################################################
>>
>> SCUSA AVEVO SBAGLIATO HA SCRIVERE LA VARIABILE AVEVO SCRITTO "objshell"
>>ma ci puoi mettere anke il tuo nome se vuoi
>> _________________________
>> by ZonaRossa
Scusa temo di non aver capito puoi riscrivere tutto il codice corretto?
Grazie
Technical Details
Message-ID:
<436222cc$0$29544$4fafbaef@reader1.news.tin.it>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feeder.news.tin.it!spool.news.tin.it!not-for-mailReferences:
<43620ed8$0$13360$4fafbaef@reader2.news.tin.it> <Ghp8f.6280$hC1.1170@tornado.fastwebnet.it> <skp8f.6284$hC1.3495@tornado.fastwebnet.it>Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,6da2bb0fbcb3dab4 X-Google-Attributes: gidf94ee,public X-Google-Language: ITALIAN,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feeder.news.tin.it!spool.news.tin.it!not-for-mail From: "Giovanni" <giovxxxx@virgilio.it> Newsgroups: free.it.visual-basic References: <43620ed8$0$13360$4fafbaef@reader2.news.tin.it> <Ghp8f.6280$hC1.1170@tornado.fastwebnet.it> <skp8f.6284$hC1.3495@tornado.fastwebnet.it> Subject: Re: Spegnere il pc Date: Fri, 28 Oct 2005 15:08:25 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response Lines: 32 Message-ID: <436222cc$0$29544$4fafbaef@reader1.news.tin.it> Organization: TIN.IT (http://www.tin.it) X-Comments: Please send technical notifications to newsmaster@tin.it NNTP-Posting-Host: 82.56.4.160 X-Trace: 1130504908 reader1.news.tin.it 29544 82.56.4.160:3429 X-Complaints-To: Please send abuse reports to abuse@tin.it