modified OCX will not work on a target computer

R

Rich Giles

I have a simple ocx I created years ago that does only two things.
1) ctlDate: Verifys that the entry is a valid date and displays a
veification message if the date is over 100 days from today.
2) ctlPhone: Forces numbers into a phone number format.

I recently added a ctlDate2 which checks for dates greater than 375 days
from today.

I distrubuted this control with an update of one of my programs that
uses this ocx. In the distrubution package the old ocx is unregistered
via regsvr32 /u and the new one is registered via regsvr32. When I open
a form on a target computer that uses this control I get an error 50003.
If I simply copy over the new ocx with the old one, I don't get the
error. So the registration process does not seem to change anything.

The ocx is compiled version 1.0 without steping and is binary
compatible.

What am I not doing? Or, what am I doing wrong?

Thanks

Rich Giles
 
F

Family Tree Mike

Rich Giles said:
I have a simple ocx I created years ago that does only two things.
1) ctlDate: Verifys that the entry is a valid date and displays a
veification message if the date is over 100 days from today.
2) ctlPhone: Forces numbers into a phone number format.

I recently added a ctlDate2 which checks for dates greater than 375 days
from today.

I distrubuted this control with an update of one of my programs that
uses this ocx. In the distrubution package the old ocx is unregistered
via regsvr32 /u and the new one is registered via regsvr32. When I open
a form on a target computer that uses this control I get an error 50003.
If I simply copy over the new ocx with the old one, I don't get the
error. So the registration process does not seem to change anything.

The ocx is compiled version 1.0 without steping and is binary
compatible.

What am I not doing? Or, what am I doing wrong?

Thanks

Rich Giles


Are you using VB 6? I don't think that creating OCX files is possible in
VB.net.
 
R

RG

I'm sorry, I did not notice that I had placed this in the .Net area.
I have reposted the question in another area. I would delete this but I
don't know how.

Rich
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top