Plz Tell me how can i access The Value In form1 in form2...
Well i meant In Form1 theres an object named NUM in which i have Stored Few values Now i want to use this Object NUM in form2 so that i can display its value in Form2.. ima unable to access it in form2..
Can Any 1 tell me How to Access it ... Its an VB.net Project!
Jump to Post
You can assign the Form1 value to a Form2 value by this:
Private Class Form1 Private myCoolForm1Value As Integer = 6 End Class
Form 2, one Button
Private Class Form2 Private myCoolForm2Value As Integer Private Sub Button1_Click(ByVal sender As System.Object, ByVal …
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.