Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2004

Tip: Looking for answers? Try searching our database.

Startup key

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Wally - 19 Oct 2004 11:46 GMT
Hi all. I've wrote, using VB.NET a windows service that starts automatically
at power ON. It works well.
Now I need that my service write a key in the registry for running an
application as soon as a user log on Windows.
I want that this application starts at logon of each user.
In which registry key I have to write the application path?
Are there VB.NET examples?

Thanks in advance

VV
scorpion53061 - 19 Oct 2004 12:02 GMT
Windows has a few possibillities to autostart a program
when you login to windows.

- via the startup menu
- via the registry

You can use this last one in your Setup project to deploy
your application so that the registry settings will be
added when you install the application.

Registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\Run

In this Key you create a new DWORD and give it a name.
The value should be the executeable that you want to start
when you logon to Windows.

User:
\Software\Microsoft\Windows\CurrentVersion\Explorer\LogonUserName

Why post this to the api newsgroups?

> Hi all. I've wrote, using VB.NET a windows service that starts
> automatically
[quoted text clipped - 8 lines]
>
> VV
Jeff Johnson [MVP: VB] - 19 Oct 2004 14:42 GMT
> Hi all. I've wrote, using VB.NET a windows service

Please do not crosspost between "classic" and .NET groups. The *.vb.* groups
are for VB6 and earlier. The .NET groups have "dotnet" in their names.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.