By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,609 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

controls create on one thread cannot be parented to a control on different threa

P: n/a
Hi

I have one application in VB.NET using the concept of
mutithreading.In that application when we click on one
button some will be displayed by the threads in the
listbox.Actually i downloaded this code,Now i want to
change that data into datagrid.But while i am trying to
display data in datagrid it gives error like "controls
create on one thread cannot be parented to a control on
different thread".How can i shift my data from listbox to
datagrid.If any one knows please let me know thanks in
advance.

Mamatha
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
http://support.microsoft.com/default...b;en-us;318604

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Mamatha" <ma***********@yahoo.com> wrote in message
news:08****************************@phx.gbl...
Hi

I have one application in VB.NET using the concept of
mutithreading.In that application when we click on one
button some will be displayed by the threads in the
listbox.Actually i downloaded this code,Now i want to
change that data into datagrid.But while i am trying to
display data in datagrid it gives error like "controls
created on one thread cannot be parented to a control on
different thread".How can i shift my data from listbox to
datagrid.If any one knows please let me know thanks in
advance.

Mamatha

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.