>If I try to access an objects value on Form1 from Form2 quoting the namespace, I get the error:
>
>'.FormMain.txtChartNo.Text' is inaccessible due to its protection level.
Re: How do I pass parameters from Form1 to Form2?
' form1
dim frm as form2 = new form2
frm.str = "you value"
frm.show()
' Form2
public str as string
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only