Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error on Close from Task Bar
Message
De
05/11/1998 12:00:17
 
 
À
05/11/1998 08:47:17
Jody Cairns
OAO Technology Solutions
Moncton, Nouveau-Brunswick, Canada
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00154754
Message ID:
00154869
Vues:
17
>>I have a small VB6 app that runs locally on users' desktops. When the user exits the application I do some procesing and saving of current settings to a data file on the way out.
>
>At what point do you do the processing and saving of the current settings? In the UnLoad event of the form? I don't know if it is different in VB6, but in VB5 both the UnLoad and QueryUnload events appear to fire when the application closes whether minimized or not. If you don't have the code in your UnLoad event, that's where it probably should go.
>
>jody

Hi Jody,

I'm actually firing it in the QueryUnload which turns out is ok. I tracked it down to the form dimensions/position being altered when the form is minimized resulting in my trying to set and store invalid form dimensions and position.

Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform