G
Guest
I am using the FileSystemWatcher and think that I need to use invoke on the
code below:
Private Sub dirMon_InformationMessageEvent(ByVal InformationMessage As String)
Me.txtActivity.Text = (InformationMessage & Me.txtActivity.Text)
End Sub
The program fails when I am trying to update the textbox as shown so that
the user can see the progress. Is there an easy way that I can use Invoke
and pass the InformationMessage variable, as this contains the message for
the user to see.
code below:
Private Sub dirMon_InformationMessageEvent(ByVal InformationMessage As String)
Me.txtActivity.Text = (InformationMessage & Me.txtActivity.Text)
End Sub
The program fails when I am trying to update the textbox as shown so that
the user can see the progress. Is there an easy way that I can use Invoke
and pass the InformationMessage variable, as this contains the message for
the user to see.