Solved

Delete property of MFC Activex Control

Posted on 2003-11-14
3
437 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

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: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

628 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