Home All Groups Group Topic Archive Search About

Passing Variables to a Thread Procedure

Author
20 Sep 2006 5:22 PM
Gabe Matteson
Is there a way to pass variables to a thread procedure?

I have a procedure that is called

Private Sub rAllStats(ByVal sDir As String, ByVal blnNotAccessed As Boolean,
ByVal QueryTime As DateTime)

I want to have this procedure created inside a thread procedure so when this
is run, users can do other things inside the application.. any ideas?
thanks.

Author
20 Sep 2006 5:34 PM
Spam Catcher
"Gabe Matteson" <gmattesonATinqueryDOTbiz> wrote in
news:OfaZliN3GHA.4632@TK2MSFTNGP03.phx.gbl:

> Is there a way to pass variables to a thread procedure?

Pass variables via properties before you start the process.

Show quoteHide quote
> I have a procedure that is called
>
> Private Sub rAllStats(ByVal sDir As String, ByVal blnNotAccessed As
> Boolean, ByVal QueryTime As DateTime)
>
> I want to have this procedure created inside a thread procedure so
> when this is run, users can do other things inside the application..
> any ideas? thanks.
>
>
>