473,408 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Changing the service name on a VB service?

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...

--

Sync

Aug 12 '07 #1
6 4286
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...
The *approved* way would be anyway that works. :)
Aug 12 '07 #2
On Aug 12, 10:29 am, "Mr. Arnold" <MR. Arn...@Arnold.comwrote:
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...

The *approved* way would be anyway that works. :)

Oh that's right-- I forgot this is Microsoft, where the only good
standard is a dead standard.... :-)

--

Sync

Aug 22 '07 #3

<kd***@hotmail.comwrote in message
news:11*********************@q3g2000prf.googlegrou ps.com...
On Aug 12, 10:29 am, "Mr. Arnold" <MR. Arn...@Arnold.comwrote:
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...

The *approved* way would be anyway that works. :)


Oh that's right-- I forgot this is Microsoft, where the only good
standard is a dead standard.... :-)
Due to the dumb question you asked, you wouldn't know what a *standard* was
if it hit you up side your head.

Who are you kidding?

Maybe should limp over to Linux with Perl , Rails or Java.

<g>

Aug 23 '07 #4
You know, it's pretty disappointing to see all the jerky people in the
MS newsgroups who would rather insult people than help them. Perhaps you
came out of the womb with expert level developer knowledge, but most
other people did not, and had to start out somewhere. Typically, it
involved asking people for help.

That's what this guy did, until a few people started in with the
bashing. If you don't want to offer ACTUAL help, why bother even
posting?? If you insist on flaming people who just want help, just join
a flaming newsgroup, and stop cluttering up my newsreader with
ridiculous posts that NO ONE wants to read.

And another thing. One of the good things about Linux newsgroups is that
a LOT more people are willing to go out of their way to help each other.
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
Mr. Arnold wrote:
>
<kd***@hotmail.comwrote in message
news:11*********************@q3g2000prf.googlegrou ps.com...
>On Aug 12, 10:29 am, "Mr. Arnold" <MR. Arn...@Arnold.comwrote:
>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...

The *approved* way would be anyway that works. :)


Oh that's right-- I forgot this is Microsoft, where the only good
standard is a dead standard.... :-)

Due to the dumb question you asked, you wouldn't know what a *standard*
was if it hit you up side your head.

Who are you kidding?

Maybe should limp over to Linux with Perl , Rails or Java.

<g>
Aug 23 '07 #5
TP
Hi,

Right-click on the service code file (for example, service1.vb) and
choose View Designer. In the Properties window, change the
ServiceName property as needed.

The above is the "approved" method you were referring to, and
follows the convention used for editing properties of other
components.

-TP

kd***@hotmail.com wrote:
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...
Aug 23 '07 #6

"Steve" <ln********************@gmail.comwrote in message
news:uq*************@TK2MSFTNGP06.phx.gbl...
You know, it's pretty disappointing to see all the jerky people in the MS
newsgroups who would rather insult people than help them. Perhaps you came
out of the womb with expert level developer knowledge, but most other
people did not, and had to start out somewhere. Typically, it involved
asking people for help.
Do you think I care?
>
That's what this guy did, until a few people started in with the bashing.
If you don't want to offer ACTUAL help, why bother even posting?? If you
insist on flaming people who just want help, just join a flaming
newsgroup, and stop cluttering up my newsreader with ridiculous posts that
NO ONE wants to read.
SOB, you can kiss my BEHIND while you're at it too, and you can go join the
DAM* NG .
>
And another thing. One of the good things about Linux newsgroups is that a
LOT more people are willing to go out of their way to help each other.
You can take every O/S running, every PROGRAM LANUAGE ever created, every
COMPUTER ever built and I'll help you can stick IT you know where.
>
Steve C.
MCAD,MCSE,MCP+I,CNE,CNA,CCNA
Take all that CRAP out from under your name, it means nothing. You can put
the LONE RANGER there, because that's all you're playing, and then you can
kiss my BEHIND.

Who the HE** you think you are talking to me about anything? You don't
control anything other than worthless a** life. You control that you SOB.

Aug 24 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Emanuel Marciniak | last post by:
Hi all, We have the form which uses checkboxes for several fields and the target action points to outside webservice. Unfortunatelly they do not support checkboxes. How to pass it as a radio...
9
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
1
by: Nick via .NET 247 | last post by:
I have a similar problem trying to use web services with awindows form application. I currently use a static web referencein my project. What I am trying to do is to programaticallychange the url...
4
by: Matt Colegrove | last post by:
I'm working on a web app that is published to a hosting service. I'm developing it on my local PC with VS 2005 and SQL Express. The hosting service DB is SQL Server 2000. I have two...
1
by: =?Utf-8?B?a2lwYWFkdW1hQGdtYWlsLmNvbQ==?= | last post by:
Hello all . I have a WS in the local machine that call another WS in a remote computer. in this call i send some integers and 3 by-reference strings The remote WS looks like that : void...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
6
by: NetworkElf | last post by:
I am trying to write a little utility and it needs to check the startup type of a given service on a remote machine and, if it is disabled, set it to manual. I have found out how to do this on the...
0
by: titojermaine | last post by:
The problem is that after reducing MSDTC security to "No Authentication", it mostly seems to work correctly, except that after a brief period of inactivity (a few minutes), the first attempt to use...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.