Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there any way to pass a variable to another form apart from using global variables?

apart form global pass variables
0
Posted

Is there any way to pass a variable to another form apart from using global variables?

0

On the target form, place a text box, label, or any other control that you prefer and set that control’s visible property to False. Then place the value of your variable in the text (or caption, etc.) property of this control. Another method is to use the .Tag property which is never used by VB itself. You can place any string you want into the .Tag property of a form or control.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123