Visual Basic 2008

November 3, 2009 at 18:33:27
Specs: Windows XP


I have designed an application which creates an event log of the system.

I want the application to startup every time the OS boots up.

I need some code to change the registry keys to enable the application to startup automaticaly.
Is there a possibility to hide processes from taskmanager.

Programming is like Teaching a Honest Child

See More: Visual Basic 2008

Report •

November 4, 2009 at 19:28:01
i think you need to have the program run reg.exe via shell:


shell ("reg import "+k+" startup"),0

i'm not familiar with where Xp puts its registry startup programs, but in winME its at the value assigned to "k" above.
the safest method would be to use regedit to add the logger program, then export the startup information, then use that as the import file on subsequent runs. Not sure why you would need to edit the registry each time however, but you must have reason for wanting to do that.

Report •

November 8, 2009 at 21:29:51
Thanks nbrane

Report •

Related Solutions

Ask Question