Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starting a form with parameters
Message
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00520228
Message ID:
00520288
Vues:
13
>I want to open/start a vb form and send some parameters to the form. I need to know (specifically) how this is done. When I tried to add a parameter to the load or initialize methods I received an error message. I don't want to open the form and set a property - I just want the form to receive a parameter once when opened and it will not be changed again. I bet this is very simple and I am just missing something quite basic.

You can't overload any built-in events /methods in VB.

What you need to do is basically create a Public method in the form. See this FAQ: http://www.levelextreme.com/wconnect/wc.dll?UniversalThread~?2,33,Forum=21,29,790
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform