08-20-2002, 07:16 PM
this thing is kinda weird, hope u guys can help me!
look i downloaded a free source ocx, compiled it and started using it in my project.
when i finished it i made a installation file that sends the ocx to c:\windows\system
but when i run the app, it comes with a 429 error: ocx license not valid
i don't know why that happens ...
if i unregister the ocx, remove all remaining stuff from the registry and register it again it will work again.
i need to fix this error asap.
if u need any extra info just ask me, and please help meeeee =]]]]
08-20-2002, 08:00 PM
What did you use for making your installation program?
08-20-2002, 08:17 PM
the weird thing is that i used at least 5 ocx files, and the only one causing trouble is this ...
the ocx may not support automatic registration.... youll notice in setup factory (cuz i use that too) on the file properties, there is an option (i forget exactly cuz i dont have it installed right now) to automatically detect and register the self-registration.... or something to that affect
either way, you can push some test button and see if it supports automatic registration or not... if it doesnt, then you should probably just install it to the program directory, and/or create an after installation script to run a program....regsvr32 -s %AppDir&\file.ocx
then see how it goes
08-20-2002, 11:18 PM
Thanks for your help, i'll keep trying that
btw, u say the ocx doesn't support automatic registration. i have the source of the component, can that be changed?
(hope it can, hope it can ...) lol
08-21-2002, 07:43 AM
You need to make sure the component doen't contain any other
licensed ActiveX controls. If it does, you might need to check the
Require License Key on the General tab of the project properties,
and include the .vbl file in the setup/install package.
08-21-2002, 09:35 AM
even doing that, it doesn't work!
i don't undertand what's happening !!! VB IS NUTS!!!
08-21-2002, 09:49 AM
What controls go into making this OCX?
08-21-2002, 04:17 PM
if u mean what controls form this ocx, i must say, two rich text boxes and one picturebox
08-21-2002, 04:42 PM
Just out of curiosity, on the second tab (Make) of the project
properties, do you have the Remove information about unused
ActiveX controls checked?
08-22-2002, 06:19 AM
I guess mayb u didn't include the microsoft Richtext.ocx stuff...check the setup project n see wheter is included if not included then include it n test again...i hope it works...any problem contact me through icq...k?
08-22-2002, 02:32 PM
No, it can't be a missing OCX causing a licensing error. That would
cause a totally different error.
08-22-2002, 11:17 PM
Mayb could be the MSRichText.ocx has some errors...try unregistering the MSRichText.ocx then delete it and re-install msvb6.0...