How do I make/create a windows program to automatically run at startup and keep it running and polling in the background?
You probably want to create a 'windows service'. Google for tutorials and guides on that.
Define "polling". Polling what? As the_edd said, services are probably what you want.