Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing values between forms
Message
From
28/09/2006 09:24:20
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
28/09/2006 06:20:27
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01157776
Message ID:
01157821
Views:
15
In addition to Einar's response, you can also add a property to frmB.
Public Class frmB

    Dim testValue As String

    Public Property Test()
        Get
            Return testValue
        End Get
        Set(ByVal value)
            testValue = value
        End Set
    End Property

End Class
And you could call your form like so:
Dim frmB1 AS New frmB
frmB1.Test = "Value I want to pass in"
frmB1.Show
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform