Hi Nick,
>You can do it this way:
>Dim frm As New myform("foo", "bar")
>* Form's Constructor
> Public Sub New(ByVal myString1 As String, ByVal myString2 As String)
This worked great for me. I am a little puzzled in that C# doesnt seem to require (or like) that you specify if the parameter is being passed by value or reference. This is my code:
FORM 1
string brv;
brv = "this is the ref var contents";
assn assn2 = new assn("todd",99,brv);
assn2.Show();
FORM 2
public assn(string toddstring, int ninetynine, string byrefvar)
Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson
Great advice from a questionable source...