Hey Every1..
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!
afaque01
0
Newbie Poster
Recommended Answers
Jump to PostYou can assign the Form1 value to a Form2 value by this:
Form 1
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 …
Jump to PostHi,
You can write Public get set property for that NUM and access
All 6 Replies
RenanLazarotto
0
Posting Whiz in Training
Pgmer
50
Master Poster
Featured Poster
RenanLazarotto
0
Posting Whiz in Training
@Kui
0
Newbie Poster
codeorder
197
Nearly a Posting Virtuoso
vanzhyme
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.