Solved

VB6 Control Listing

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

791 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