Send text from form1 to form2 ,Dont work

ssalomon

New member
Joined
Apr 3, 2005
Messages
3
Location
Iceland
Programming Experience
Beginner
Hi
Hope somone can help me please


I am tray to send info from Listview1 to orderform.Orderform.txtCustomerID.Text

--- > in Orderform I use this in Button to call SearchCustOrderform
Dim SearchCustOrderform As New SearchCustOrderform
Me.AddOwnedForm(SearchCustOrderform)
SearchCustOrderform.Show()


the orderform is already open so I can not use Orderform.Show
then I open another form

in SearchCustOrderform I DoubleClick on listview to send Customer ID to
Orderform.txtCustomerID.Text
but it dont work ??

this is the code I use
Orderform.txtCustomerID.Text = ListView1.SelectedItems(0).SubItems(0).Text

If I use orderform.show then this work but orderform is already open and the SearchCustOrderform is on the top of orderform
thets way I can not use orderform.show then I open new orderform :)




 
Top Bottom