-
Debug an Active X control,
Hi,
I build a mydatagrid.ocx active x control, and use it in the forms of main
project .exe. There is no project group setup here.
I want to be able to debug into the mydatagrid.ocx, but unsuccessful.
According to the Microsoft document, I set up the startup program in
ActiveX control project. It loaded the exe correctly, but when I try to
open forms, nothing happen for one form, and "Runtime error 399, component
mydatagrid.ocx or one of its component not correctly registered"
Has anybody done this before?
Thanks in advance.
Pat
-
Re: Debug an Active X control,
Pat,
You probably need to compile your ocx. When you compile it the compiler will
register the componet. If your user interface is complete you should copy
your ocx to another directory (I call mine 'compatible') and set the
compatible option of your project to that file. As long as you don't make
changes that break compatibility you should be able to work with both
projects in a project group with no problem. Any time you need to break
compatibility you must recompile and reset your compatible options.
Gary
"Pat" <pwang@uclink.berkeley.edu> wrote in message
news:3c9cbb77@10.1.10.29...
>
> Hi,
> I build a mydatagrid.ocx active x control, and use it in the forms of main
> project .exe. There is no project group setup here.
>
> I want to be able to debug into the mydatagrid.ocx, but unsuccessful.
> According to the Microsoft document, I set up the startup program in
> ActiveX control project. It loaded the exe correctly, but when I try to
> open forms, nothing happen for one form, and "Runtime error 399, component
> mydatagrid.ocx or one of its component not correctly registered"
>
> Has anybody done this before?
>
> Thanks in advance.
> Pat
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks