Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters
Message
From
22/08/2001 10:47:28
 
 
To
22/08/2001 10:27:18
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00547258
Message ID:
00547276
Views:
10
>Hello,
>
> Is it possible to pass parameters to a form in VB 6.0? If so how is it done?
>
>Thanks
>
>Jim

There are several approaches to this. One is to declare custom properties (Property Let/Get) of your form that you would set values before showing the form. Another is using public module variables, which are not the best way because it's available to any piece of code in your project. And yet another way is to define a public Sub in your form that receives the parameters, stores them in form level variables and then shows the form.

Any one of these should work, take your pick.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform