Well guys I've given a laptop to some elderly people for free "there poor",and I wrote an app that gets the microsoft updates automaticly for them,there was an issue with auto update,but I was trying to make the program start using the registry.
Seems much more pro to me and I don't fully understand using the registry method in a application.
Could some of you guys post a simple working registry code that works.
I tried google and msdn,but I either don't understand it or the code example found dont work.
I understand that most people think registry things are mostly malicious but my case is not.Would be greatly appreciated.
I understand that most people think the registry things are is mostly malicious
No but seriously, you don't need to handle the registry from your program if you just want to put it into autostart - windows comes with programs to do that.
It's not about viruses or no viruses - the registry itself is the problem. It shouldn't even exist. I don't think there are many newer programs that actually use it.
If you want to add something to autostart, as I said, you can do that with programs that already exist.
That being said, if you're interested you can read more about that on http://msdn.com - accessing the registry itself shouldn't be a problem if you have the permissions.
That's not what I said. I don't even know if newer windows versions still have a startup batch, so if you really want a program to run on startup you'll probably have to do it through some registry entry. What I'm saying is that there's not much a point in learning about it because the registry is pretty much just an artifact of when people thought it was a good idea.