CassandraR posted a solution that would work in VB5/6.
Looks to me like you are using VB.NET. In this case the syntax you would use (I believe) would be:
Code:
Label1.Text = MyVariable
It might be more helpful for you to post future questions in the VB.NET forum (Forum796), as this is a dedicated forum for the language I believe you are using.
Hope this helps
HarleyQuinn
---------------------------------
Get the most out of Tek-Tips, read FAQ222-2244 before posting.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.