🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.ms-access
Article #246

exit program and log off as xp user

#246
From: Ini
Date: Mon, 26 Jan 2004 13:11
15 lines
2091 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: <bv33mn$qc5$1@news2.tilbu1.nb.home.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!213.51.129.3.MISMATCH!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,3729be0514657520,start
X-Google-Attributes: gid1053fc,public
X-Google-Thread: f51ba,3729be0514657520,start
X-Google-Attributes: gidf51ba,public
X-Google-Thread: 110e3b,3729be0514657520,start
X-Google-Attributes: gid110e3b,public
X-Google-Thread: ff0ac,3729be0514657520,start
X-Google-Attributes: gidff0ac,public
X-Google-Thread: 10b997,3729be0514657520,start
X-Google-Attributes: gid10b997,public
X-Google-ArrivalTime: 2004-01-26 05:11:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!not-for-mail
From: "Ini" <ini@ini.myweb.nl>
Newsgroups: comp.databases.ms-access,comp.lang.basic.visual.misc,dk.edb.programmering.basic.visual-basic,es.comp.lenguajes.visual-basic,it.comp.lang.visual-basic
Subject: exit program and log off as xp user
Date: Mon, 26 Jan 2004 14:11:50 +0100
Organization: @Home Benelux
Lines: 18
Message-ID: <bv33mn$qc5$1@news2.tilbu1.nb.home.nl>
NNTP-Posting-Host: cc91542-a.hnglo1.ov.home.nl
X-Trace: news2.tilbu1.nb.home.nl 1075122711 27013 212.120.101.44 (26 Jan 2004 13:11:51 GMT)
X-Complaints-To: abuse@home.nl
NNTP-Posting-Date: Mon, 26 Jan 2004 13:11:51 +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