Home > Software engineering >  VB program prompts activex component can 't create the object
VB program prompts activex component can 't create the object

Time:09-22

VB development of a program in a computer open normally, some computer open suggests the following error activex component can 't create object

For half a day, didn't find the problem, reinstall the system is still the same, before to ask the prawns ~ ~

CodePudding user response:

This kind of question:
Your own code:
1. Look at the "wrong" computer, isn't it lack some ActiveX DLL, or "third party software is normal,"
2. The "source" or put out!

If it is someone else's program ": who, who will go to find!!!!!!

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL

CodePudding user response:

First in your development machine running vb packaging and deployment wizard, run after installation package is a support directory, put all the DLL ocx were distributed to your users, such as on the program executable directory, exe right click on the user's computer point, choose compatibility, choose Windows xp, basically can be opened
  • Related