Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Windows Service with a thread

$
0
0

Hi I have a windows service written using .Net 4.0 that on the whole works fine, at the end of this services I want it to start an asynchronous processes and this is not working. 

if I call the function normally it works fine. 

i do not get any errors but the processes does nor run anyone have any idea's why 

the code to start the processes is quite simple 

Dim t As New System.Threading.Thread(AddressOf import.StartImport)
t.Start()


Regards Dagz


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>