🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.3rdparty
Article #41

Terminating a program (newbie question)

#41
From: David Elford
Date: Sun, 09 Aug 1998 00:00
10 lines
1127 bytes
I just wanted to know about terminating a program properly. I'm aware that
using the END statement will terminate a vb program, but what about when you
click the x button in the top right corner of a form? I'd like to be able to
prompt the user with an option to save their work before exiting. I can get
a message box to appear by placing code in the form_terminate() function,
but i can't stop it from terminating.

Any ideas would be appreciated.

Dave
Technical Details
Message-ID: <6qir1v$uq$1@nswpull.telstra.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 110e3b,c80a42a5f0abeb0e
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f5f6f,c80a42a5f0abeb0e
X-Google-Attributes: gidf5f6f,public
X-Google-Thread: 108062,c80a42a5f0abeb0e
X-Google-Attributes: gid108062,public
From: "David Elford" <elford@bb.com.au>
Subject: Terminating a program (newbie question)
Date: 1998/08/09
Message-ID: <6qir1v$uq$1@nswpull.telstra.net>
X-Deja-AN: 379279559
Organization: Telstra Internet Browse Server
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.misc,cz.comp.lang.basic.visual