-
I created a Activex Dll and placed it on a network drive. I then created a program that referenced the dll and placed it on the same network drive.
I had to go back and add some things to the Dll, but when I run the program, I receive the 'Run-time error 429 ActiveX component can't create object.'
Do I have to re-compile my program again???
I don't want to do that each time I update the Dll, so it there a way to avoid this problem???
Thanks.
-
Is your project set to project compatibility? If it is, you will have to recompile the application that references the dll because VB creates a new CLSID everytime. If you change it to binary compatibility, it keeps the same CLSID. The error 429 is that it cannot create the object OR the obeject interface has changed. I think your error is because of the second part. If you do create as binary compatible, you need to make a sub directory and place a copy of the dll there. Set the binary compatible option and select the copy of the dll. If you don't you get a linker error.