Windows service

anuj7700

New member
Joined
Jan 4, 2003
Messages
2
Location
Pune
Hello all
I have a VB6.0 application(with full source code) that i want to convert into a Windows service using Visual studio.Net tools.How do i make this conversion, Any Ideas...........
Also if i have just .exe of any application how can i convert it tio a Windows Service.
Early replies shall be solicited
 
My advice would be to rewrite it in .NET, not to attempt to convert it automatically. When you have a service in .NET, you inherit from a class which has the necessary events (Start, Stop etc). Its up to you to decide how your program responds to these events.
 
Thanks Divil
I am going to port the existing Vb 6 application to VB.Net and then attach additional classes derived from ServiceBase etc to convert it into Windows Service.However there are a lot of migrating issues can u tell me where to look for resog these issues
 
I dont have any urls to specific articles, but I know Microsoft has a few on their site with regards to migrating from VB6 to VB.NET. Also, in the MSDN documentation for VB.NET there are quite a few pages on the differences between the two, and the newer equivalents.

If you get stuck on any specific issues, you can always post here, too.
 
Back
Top