Solved

Delete property of MFC Activex Control

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
notReplace  challenge 53 131
has77  challenge 9 85
Fibonacci challenge 11 124
Annoying "thing" blocks my view 4 100
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

803 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