I am trying to register my program as a service, so I used the sample code that is supplied by this site to do that (http://www.vb-world.net/tips/tip135.html)
I get this error when I run my program using this code:

run-time error '451':
Can't find DLL entry point RegisterServiceProcess in kernel32

So I looked at the comments, and someone else had this same problem, and the response to this was:

Try Looking in the Win32 API instead of the Kernal API.

But how do I do that?