Click to See Complete Forum and Search --> : Registering problem with Activex component


Ravindra Khatri
November 12th, 1998, 06:41 AM
Dear Friends,

I have one problem to create EXE file of Visual Basic V5.0.

Actually I have used MSFLEXGRID and mschart Objects in my project.

So When I Create EXE File of my project and run it on Standalone

PC Having Windows 95 , after copying following 2 DLL Files:

1) msvbvm50.dll

2) vbrun300.dll,


It gives me following err:

ERROR No 429: ActiveX Component can't Create Object.


and if I run it on Standalone PC having WIN95 and VC++ 5.0, it

gives me error :

ERROR NO 339: Component 'mschart.Ocx" not Currectly registered:File

is missing or invalid.


If I copy "mschart.ocx" on that computer, my project does work.

But I think that "To run EXE of VB , we only need Above 2 DLLs and

the OCX files.


So I am Seeking your help. Kindly Send me solution.


With Regards

From



Ravi

DragonDigital
November 12th, 1998, 10:16 AM
If I understand you correctly, you are saying the program does not work if you do not copy across the OCX? All OCX's that you use must be copied across and registed!!! Do you register the OCX on the second computer?


The fastest way of doing all of this, is to use the Application Setup Wizard to generate all the files you need.