G
Guest
A Thread is created on form1 that addresses a sub in another class. When
attempting to invoke and sub on the main form I recieve an error about a
Window Handler needing to be created first.
Is there a special procedure that is needed to be followed while invoking a
sub from and different class in which the thread was created? How is this
accomplished?
Code from classX(not the class with the form):
Invoke(New Form1.BUNYDelta(AddressOf Form1.DeltaProperty), _
Form1.AssetProgressBar1, "Maximum",
"Form1._InventoryDB_BUNY_DataSet.tbl_Asset.Count", "State")
attempting to invoke and sub on the main form I recieve an error about a
Window Handler needing to be created first.
Is there a special procedure that is needed to be followed while invoking a
sub from and different class in which the thread was created? How is this
accomplished?
Code from classX(not the class with the form):
Invoke(New Form1.BUNYDelta(AddressOf Form1.DeltaProperty), _
Form1.AssetProgressBar1, "Maximum",
"Form1._InventoryDB_BUNY_DataSet.tbl_Asset.Count", "State")