Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a form before it shows
Message
De
04/05/1999 12:36:27
 
 
À
03/05/1999 17:47:13
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00214765
Message ID:
00215026
Vues:
24
>I have created a basic .EXE file that updates some registry entries.
>
>I declare some public functions to create/update the keys, and in the form_load event I iterate through some code to create/update the entries. At this point my task is complete.
>
>How do I get the window (form) to close at this point?
>
>Or am I using the right type of project for the task?
>
>Thanks in advance...
>Michael


Put your code in the Sub Main in a BAS module.
Change the startup object the Sub Main in the project properties.
You don't need a form at all.
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform