CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Add in

  1. #1
    Guest

    Add in

    Hello,
    I was wondering if anyone know of an addin that will show me what controls are on what forms in my project.
    The reason for this is that a while ago I tried to remove a component from a project I was working on to be told that it was in use couldn't be removed.
    After a long time of searching i found that one of the people that had worked on the project had added it to a form and shrunk it down to the size of a full stop.
    I realise now that I can do a "find in files" search on my project folder but an add in to VB would be very handy.
    Cheers.


  2. #2
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Re: Add in

    Uhmm nope I don't know an add-in which does it, but you write your own, you can enum all files in the project and filter out the forms, and of each form, enum all controls. I don't think it's very hard to do. (at least not to get it basically working)

    Crazy D :-)
    "One ring rules them all"

  3. #3
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Add in

    You don't need an Add-In to do this. The 'Properties' window in VB5/6 contains a combo-box with the name / type of all the controls on the form. You can cycle through each of these and they'll be selected in turn. If you can't see the control, then set it's top / left properties to 0 and change the width, height appropriately.

    (Quick hint/tip: if it's behind some other control, right-click on one of the 'sizing-boxes' and select 'bring-to-front')


    Chris Eastwood

    CodeGuru - the website for developers
    http://codeguru.developer.com/vb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured