Writing an app using VB6 isn't dependent on the OS you are using as your development platform (eg. - your computer). It is dependent on the references you make to external dynamic linked libraries (dll's). This is actually called a "dependency". The dependency issue works like this: If you use WinME to build a program and you decide to use a class from someone else's dll, you must make a reference to that dll before you can even instantiate and use the class in your code. Any computer thatyou try to move your code onto (via installation or however) MUST have a compatible version of that dll or the program will not run.
If you decide you want to write a VB program that is dependent on a Microsoft class (at least an MS class that isnot considered "internal" to VB) then you should be using a Windows API call to define the call to the system. Because Microsoft anticipated many programmers wanting to use some of their OS calls, they make the OS's as backwards compatible as they possibly can. You should be able to find a pretty good listing of Win API calls at www.vbapi.com/ref/index.html
If you are getting an error like the one above, I believe my first step would be to backup my computer and reinstall VB on my development computer and try to rebuild the installation. I don't believe the problem has anything to do with you developing on one platform and installing on another as the API is designed to insulate you from the OS so that unless you make an API call that is no longer supported or that never existed in an earlier version of Windows, then just using 3rd party dll's shouldn't give you a kernel32.dll error.
Hope this helps,