cross thread

  1. nineclicks

    Beginner trying cross threading...

    Private Sub TreeView1_AfterSelect(sender As Object, e As TreeViewEventArgs) Handles TreeView1.AfterSelect ListView1.Items.Clear() For Each Thing As String In Directory.GetFiles(e.Node.Tag) Dim fi As FileInfo = New FileInfo(Thing) With...
  2. D

    Question Access main form from second thread running in a module

    I was a vb6 user, done a few projects only with forums help. Now i am moving to vb.net(vb2010) and i have some trouble. Lets say we have a form(form1), a module(mod1) and a textbox on the form1. i want to start a Sub (DoWork) in the module but in a new thread. Dim Thread1 As...
Back
Top