Solved

Delete property of MFC Activex Control

Posted on 2003-11-14
3
372 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 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

18 Experts available now in Live!

Get 1:1 Help Now