Sunday, September 23, 2007

FM20.DLL

Deployment of visual basic application in Windows Vista operating system. Conduct functionality test on the application. As windows XP user will eventually upgrade to Vista OS, therefore legacy visual basic application must be verified to be able to support new operating system.
Problem encountered, “Error 7 - Out of Memory” is due to Microsoft redistribution of the Microsoft Forms 2.0 Controls, Fm20.dll. Users must have the Fm20.dll on their system in order for the visual application to execute. However users must have Microsoft office installed which comes along with the Fm2.0.dll. As an alternative to having your end users install Microsoft Office, you can have them freely download and install the Microsoft ActiveX Control Pad, which also installs the Fm20.dll.
The best resolution is to remove FM20.DLL from the project. An alternative is to deploy the application only to machines with Microsoft Office 97 or later installed. To do this, remove the reference to FM20.DLL from the PDW or Setup Wizard file list. This prevents the install wizard from installing it. Note in your product documentation that installing the appropriate version of Microsoft Office on the target machine is a pre-requisite to installing your application.

No comments: