Discussion Locked

Installation of vb6's program

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

If I develop the program in VB6 with Window ME Operating System. Can I install and run smoothly in the lower version O/S like win95, win98 ? As I know the version of kernel32.dll in WIN ME is different from WIN98. What can I do to solve this problem?

Somemore, when the installation is running an error occur ,because the some of the system file in the current machine is out of date e.g. kernel32.dll(like mentioned above), due to this problem the file msftqws.pdw cannot be create and that the installation cannot be complete. T Q :)

7 replies

by mtadeu

The only way i know to run 2 diferent op's in the same system is to make another disk partition! You should know how to use FDISK! You must remove your primary partition in order to allocate the space you want on both disk partitions, then, just format them and install both op's!

Best luck,
Miguel Tadeu

by kevin.riggs

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,

by dushy_ant

I hope you know the working of Package and Deployment Wizard.
This wizard includes all the files which are required to run an Application used for the development of a VB Program.

Well, as per I know, the VB program is not related to kernel32.dll at all.So probably the reason for the error in installation is something else.

This discussion is closed to new replies.