Solved

VB6 Control Listing

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

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 45

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 45

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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 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…

759 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

22 Experts available now in Live!

Get 1:1 Help Now