Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Starting a form with parameters
Message
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00520228
Message ID:
00520288
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform