K
kdd21
Hi,
Just got my first service written in VB-- works fine but the event log
was showing the start stop entries as Service1 so I went in to change
it, but changing the servicename properties in the ProjectInstaller
section seemed to have no effect on the event log. I finally found
that in *.Designer.vb there is an InitializeComponent Sub that was
still setting Me.Servicename = "Service1". However, there were
cautions not to edit it in the code editor, but to edit it in
"component designer."
So just how do you call up the "component designer" to edit this? Out
of frustration I finally edited it in the code editor because I
couldn't see where else I could edit it otherwise. That did fix the
event log naming issue, and I'm off and running, but it would be nice
to know the "approved" means of editing the servicename setting in
InitializeComponent...
Just got my first service written in VB-- works fine but the event log
was showing the start stop entries as Service1 so I went in to change
it, but changing the servicename properties in the ProjectInstaller
section seemed to have no effect on the event log. I finally found
that in *.Designer.vb there is an InitializeComponent Sub that was
still setting Me.Servicename = "Service1". However, there were
cautions not to edit it in the code editor, but to edit it in
"component designer."
So just how do you call up the "component designer" to edit this? Out
of frustration I finally edited it in the code editor because I
couldn't see where else I could edit it otherwise. That did fix the
event log naming issue, and I'm off and running, but it would be nice
to know the "approved" means of editing the servicename setting in
InitializeComponent...