|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Threading a formIn VB.Net we have nice simple threading as follows:
Thread1 = New Threading.Thread(AddressOf DoSomething) The only problem so far I've come across is that the addressof must be a pointer to a sub. It won't accept a form. My question is how do I thread a form. It does not need to have control of other forms in other threads at this stage. Thanks, Adam Adam Honek wrote:
> My question is how do I thread a form. It does not need to have control of Someone please correct me if I'm wrong, but will below not work?> other > forms in other threads at this stage. Private Sub LaunchForm() Dim NewForm As New Form1 Form1.Show() End Sub ....and pointing addressof here. -- Greets, Arkadiusz 'Winger' Slusarczyk Republic of Ireland
How to extract multiple occurrences of a substring
Best Practices Replacement code for Threading.Thread.Sleep VB2005 Control Arrays Enumerating MDIList Menu Item at Run-Time Textbox data entry validation Regex.Replace SQL Server reporting services... COM usage problem? Wait while processing dialog boxes (threading?) |
|||||||||||||||||||||||