CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10
  1. #1
    Join Date
    May 2005
    Posts
    26

    List all Data Types

    Hi Everybody,

    I want to ask how can I list all standard Data Types, Classes, Collections, and Controls which are loaded currently in a VB IDE session.

    For clarification, consider for example you opened a VB6 & from References you added Microsoft DAO 3.6 Object Library, then you added Microsoft Windows Common Controls 6.0. I should get all the primitives data types (Integer, Byte, Boolean, ...), all classes exist in DAO Library, all standard controls (Label, TextBox, ...), and all controls exist in Microsoft Windows Common Controls 6.0.

    Thanks in advance.

  2. #2
    Join Date
    Jul 2007
    Posts
    71

    Smile Re: List all Data Types

    I don't know the reason why you want this.

    anyway, you can view all the classes that are used in vb IDE by pressing "F2" key.

    and also you can view all the properties and function that are used in a particular control, dll or any other combonents here. (by pressing "F2")
    Last edited by pragashan; July 20th, 2007 at 12:22 PM.

  3. #3
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: List all Data Types

    Quote Originally Posted by pragashan
    I don't know the reason why you want this.

    anyway, you can view all the classes that are used in vb IDE by pressing "F2" key.

    and also you can view all the properties and function that are used in a particular control, dll or any other combonents here. (by pressing "F2")
    It is known as Object Browser and will list anything that has been referenced.

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: List all Data Types

    Read 3 chapters, or post. If it's answered, it's PARTY TIME!

    F2 would be for chapter 3-8.

    ps: Please tell me I'm wrong...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    May 2005
    Posts
    26

    Re: List all Data Types

    Thanks for replying guys, but i think nobody understand what i want exactly.

    Actually, I'm developing an Add-in and for a specific reasons i need to list all Data Types, Classes, and controls in a combobox.

    I hope it is clear now.

  6. #6
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: List all Data Types

    You could edit the vpb file to see what the progam has in it.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  7. #7
    Join Date
    May 2005
    Posts
    26

    Re: List all Data Types

    I think VBP file is not enough. Also what about the projects that didn't saved yet!

  8. #8
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: List all Data Types

    Take a ook at what MZtools gives you for free.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  9. #9
    Join Date
    May 2005
    Posts
    26

    Re: List all Data Types

    Exactly I want like what MZTools give in its Comboboxes when you try to add a Procedure.

    'dglienna' I don't know if you want to clarify the idea or you want told me to use this Tool.

    Any way I want to know how to implement this, because I need to use it in one of my projects also because it is interested point for me & I'd like to know how it can be implemented regardless if I need it in a specific project or not.

  10. #10
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: List all Data Types

    Well, nothing that I know of.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

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