From: ketia on 3 Mar 2010 21:43 Dim wsThread As ThreadStart = New ThreadStart(AddressOf readFile.Read_File) Submitted via EggHeadCafe - Software Developer Portal of Choice Creating a WPF Custom Control http://www.eggheadcafe.com/tutorials/aspnet/32d63678-2798-465e-ad29-c0b45fb68b78/creating-a-wpf-custom-con.aspx
From: Armin Zingler on 3 Mar 2010 22:25 Am 04.03.2010 03:43, schrieb ketia kem: > Dim wsThread As ThreadStart = New ThreadStart(AddressOf readFile.Read_File) Show us (signature of) readFile.Read_File. -- Armin
From: Göran Andersson on 5 Mar 2010 03:10 ketia kem wrote: > Dim wsThread As ThreadStart = New ThreadStart(AddressOf readFile.Read_File) The ThreadStart delegate has no parameters and no return value, so the signature of the Read_File method has to be something like: Public Sub Read_File() -- G�ran Andersson _____ http://www.guffa.com
|
Pages: 1 Prev: create long folder in vb.net 2008 Next: Datacontext and reject partial changes |