Services Template

  • Thread starter Thread starter billsahiker
  • Start date Start date
B

billsahiker

Using vs2005 Professional edition, I created a new VB project by
selecting the Services Template. It generated two items: Service1.vb
with the OnStart and OnStop methods and Service1.VB[Design]. It seems
to be missing two items. Service1.designer.vb, which has generated
code for the New constructor and some other code, and
Setting.Designer.vb, which also has some generated code, both appear
in a completed sample services application. Are they supposed to be
added automatically by the template? If not, how do I add those items?
 
Using vs2005 Professional edition, I created a new VB project by
selecting the Services Template. It generated two items: Service1.vb
with the OnStart and OnStop methods and Service1.VB[Design]. It seems
to be missing two items. Service1.designer.vb, which has generated
code for the New constructor and some other code, and
Setting.Designer.vb, which also has some generated code, both appear
in a completed sample services application. Are they supposed to be
added automatically by the template? If not, how do I add those items?


I assume they are generated automatically but hidden in the solution
explorer because they are automatically generated files which should not be
altered by hand. Nevertheless you can make them visible by choosing the
appropriate button from the toolbar above the solution explorer.
 
Back
Top