473,396 Members | 1,996 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,396 software developers and data experts.

Set a username and password for an existing service?

How can I set a username and password for a service that already exists in
VB .NET?

Any sample code would be greatly appreciated.

Thanks in advance.

Scott
Nov 21 '05 #1
1 1117

Jan. 10, 2005

You could use the Services tool in the operating system. After you
open the tool you could right click the service and click on the logon tab.
There you can specify the account and password. I think you are wanting to
know how to do it from within VS.Net, though. Assuming you haven't deployed
it yet, you could change the Account property in the installer class for the
service. If you change it to User, then when the end user runs InstallUtil,
it will ask for the account name and password in which to run the service
under. I hope this helps and makes sense! :)
Joseph MCAD

"Scott Lezberg (Deltek)" wrote:
How can I set a username and password for a service that already exists in
VB .NET?

Any sample code would be greatly appreciated.

Thanks in advance.

Scott

Nov 21 '05 #2

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

Similar topics

7
by: Candice | last post by:
Please somebody help! I've deleted my admin username and password which was initially set at test. Now I can't log into my website as the administrator. How do I put Username and Password back so...
1
by: Scott Lezberg \(Deltek\) | last post by:
Does anyone have any sample code on how to change a username/password for an existing Windows service? Thanks Scott
0
by: Kirk | last post by:
The following C# web service works fine until you uncomment the lines setting UserName and Password. Then, Process.Start throws an Access is Denied Exception. This is with .NET 2.0, of course...
2
by: Anthony Biondo Jr | last post by:
I have seen examples of people saying that in the soap header you can pass a username and password. Is there a reason why putting username and password information in the header would be better...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.