>>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)
>> MyBase.New()
>>' do whatever with the received parameters here
>>
>> 'This call is required by the Windows Form Designer.
>> InitializeComponent()
>>
>> 'Add any initialization after the InitializeComponent() call
>>
>> End Sub
>>
>>
>>Would that work for you?
>
>Yes it would :)
>I give you the stars but you have to know that when I have read your message I was trying to use the New event by myself!!
><g>
>
>Thanks!
>
>Franco
I am glad to help anyways! :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison