Problem with getting List to tree view control in - WeOnlyDo Discussion board

Problem with getting List to tree view control in (wodSFTP / wodSFTP.NET / wodSFTPdll)

by computermarshal, Wednesday, November 23, 2005, 09:48 (6754 days ago)

I get list of files ,
sftp.ListDir( /html );
Then I try to add it to treeview control ,
treeview.Nodes.Add( dirname );
But it give me exception.

The action being performed on this control is being called from the wrong thread. You must marshal to the correct thread using Control.Invoke or Control.BeginInvoke to perform this action.

What the hack is with the control. How to solve this.
Plz Plz Plz.. help me.


Complete thread: