Never tried it but...

http://stackoverflow.com/questions/6391902/how-to-start-an-application-on-startup