PDA

View Full Version : :huh Please Help me..Installer problem


Linda123
09-20-2006, 07:31 AM
Hii all,

My name is Linda and I am new in this set up factory. I want to make an installer for my VB application. I tried with set up factory. Even if I select my exe file to load in to project, it shows that "the following controls could not be located. They may not be registered properly", followed my ocx names. After that I tried with tools >> scan dependency variable and then build the installer. But while i installed in another system it shows an error "Failed to activate control "vb.usercontrol" this control may be incompatible with your application. Make sure you are using the version of the control that was provided with your application".....Please tell me how make installer with ocx…

Any reply will be appreciated..


Regards
Linda

Brett
09-20-2006, 08:44 AM
The way to do it is to include the OCX file in your project. Then double-click it and set its destination to be %SystemFolder%. Then go to the Advanced tab and check the boxes that say "Shared/System File" and "Register COM Interfaces"

You may need to bring along other DLLs if the OCX depends on them. See the documentation for your OCX control for re-distribution details.