Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run-time error '424' Object required
Message
 
To
18/12/1998 11:31:42
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00168633
Message ID:
00168960
Views:
22
>>>I've built a simple text box validation OCX. Its in the DB programming in VB5 in 21 days. After compiling the OCX. I made some changes to the OCX and I attempted to bring the form back. At this time it said "Version 2.9 of c:\vbTest\CUSTOMERVALIDATION.OCX is not registered. The control will be upgraded to version 4.0."
>>>
>>>After pressing OK I'm getting the above run-time error. How do I register the OCX or is there something else I'm forgetting to do. I was actually able to get the OCX to work the first time. It was only after making changes that I was unable to bring back the form.
>>>
>>>TIA
>>>
>>>Dan
>>
>>If you open your ActiveX control project and your client application project in the same instance of VB (only one copy in memory containing both project at the same time) you should not have any problem.
>>
>>If you do not open your client application at the same time as your ActiveX control, recompiling it re-register it.
>
>I have to admit, I am very new to VB. I only know how to keep one project open at a time. If I open one I'm forced to close the other.
>
>Dan

If you choose "Add project..." from the File menu (instead of "Open project...") you will have two (or more) project open at the same time in the same instance of VB.

When you run you project, the project that appears in bold in the Project Explorer window will start. To change it, simply right-click (in the Project Explorer Window) on the project that you want to start and then from the popup menu, choose "Set as startup".

When you will save your project, you will be asked if you want to save the group. If you save your project group, you can reload the entire group instead of opening a single project with one click.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform