🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

exit VB and log off as XP-user

#443
From: Ini
Date: Mon, 26 Jan 2004 08:42
15 lines
1763 bytes
Hi,

I'm using VB6 and Windows XP. For an user on my computer (my 3 year old
daughter) I wrote a program in VB. For reasons of security the program
automaticly starts as she logs in on her user-account.

Now I'm wondering if it's possible to automaticly log off at the moment the
VB-program is ended
I now use a command-button with the "End"-statement, so you return to the
desktop. Can I use another command or do I need to call an external command?
If so, how?

Thanks,

Ini
Technical Details
Message-ID: <bv2jt7$m4o$1@news1.tilbu1.nb.home.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!sunsite.dk!newshub1.home.nl!home.nl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1053fc,d56cfcf3b231c003,start
X-Google-Attributes: gid1053fc,public
X-Google-Thread: f51ba,d56cfcf3b231c003,start
X-Google-Attributes: gidf51ba,public
X-Google-Thread: 110e3b,d56cfcf3b231c003,start
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 10b997,d56cfcf3b231c003,start
X-Google-Attributes: gid10b997,public
X-Google-ArrivalTime: 2004-01-26 00:42:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!sunsite.dk!newshub1.home.nl!home.nl!not-for-mail
From: "Ini" <ini@ini.myweb.nl>
Newsgroups: comp.lang.basic.visual.misc,dk.edb.programmering.basic.visual-basic,es.comp.lenguajes.visual-basic,it.comp.lang.visual-basic
Subject: exit VB and log off as XP-user
Date: Mon, 26 Jan 2004 09:42:14 +0100
Organization: @Home Benelux
Lines: 17
Message-ID: <bv2jt7$m4o$1@news1.tilbu1.nb.home.nl>
NNTP-Posting-Host: cc91542-a.hnglo1.ov.home.nl
X-Trace: news1.tilbu1.nb.home.nl 1075106535 22680 212.120.101.44 (26 Jan 2004 08:42:15 GMT)
X-Complaints-To: abuse@home.nl
NNTP-Posting-Date: Mon, 26 Jan 2004 08:42:15 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165