Solved

Delete property of MFC Activex Control

Posted on 2003-11-14
3
385 Views
Last Modified: 2013-11-20
Hi,

I am building an MFC ActiveX control with one property (set/get method) and one method. It was working great. Then I deleted the property using class wizard, and manually deleted the get/set methods for that property. Now I build that control, there is no error at all. But when I tested it in Activex Control Test Container, it did not work. And to my surprise, the deleted property and its get/set methods still appear in the function list. Is it some ActiveX control version problem or what? Anyone has any idea?

Thanks,
Cindy
0
Comment
Question by:CindyZhou
  • 2
3 Comments
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 9754363
Do you have an older copy of your ActiveX control installed and registered on your PC (eg. in system directory)?
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 9754454
Assuming your property is XYZ you could use the FindInFiles tools to search for XYZ to make certain you have removed all traces of the property.
0
 
LVL 48

Accepted Solution

by:
AlexFM earned 200 total points
ID: 9754707
ActiveX Control Container has function File - Register Controls which allows to register/unregister ActiveX controls. Run this function and unregister your control. Rebuild the project and try to test control again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now