Solved

VB6 Control Listing

Posted on 2011-09-06
5
212 Views
Last Modified: 2012-05-12
I wish to delete a control from a very large project.  Is there a way to list all places in the project where the item is used?  I thought I'd removed all traces of it but still receive the error "Can't remove control or reference; in use"  
Thank you for your help.
0
Comment
Question by:KimD2
  • 3
  • 2
5 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 36488847
Ctrl_F       ??????
0
 

Author Comment

by:KimD2
ID: 36488916
One of the controls is SSCALA32.ocx.  Over the years it has been used many times throughout the project and named a number of different things.  I am looking for a way to list all the places where it has been used so I can delete it.  I'm not sure how to accomplish that using Ctrl_F.
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 250 total points
ID: 36488961
Okay, sorry I misunderstood. How about opening the frm files in NotePad and looing for the name of the control?
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 36488967
That should be 'looking'.
0
 

Author Closing Comment

by:KimD2
ID: 36489008
Worked perfectly!  Thanks for your prompt response.  I appreciate it!
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

948 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