Solved

VB6 Control Listing

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

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