Solved

VB6 Control Listing

Posted on 2011-09-06
5
215 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 47

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 47

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 47

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

713 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