'declare your string variable user in for "base"
Public userName As String
'in the code behind for form 'Base" and before launching "Editor" form
Dim frmEditor1 As New frmEditor
frmEditor1.userName = userName
frmEditor1.ShowDialog()
Note that you have to define the variable username as public in the "editor"
form too.
I hope this will give you a hint. There are other ways of doing it too, but
I believe this serves the purpose too.
"Xero" <jeff_@_chezjeff_._net(remove_underscores_and_this )> wrote in message
news:8A**********************************@microsof t.com...
Hello. I am using vb.net.
There are two forms in my program, 'base' and 'editor'.
In the form 'base', there is a string varible called 'user'.
How can I copy this piece of information to the form 'editor'?
Thanks.
--
Xero
http://www.chezjeff.net
My personal web portal