Results 1 to 4 of 4

Thread: Getting project/group information at runtime

  1. #1

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Getting project/group information at runtime

    I have a test harness project which I use to test a number of other projects. What I am looking for is a way of getting the task harness to discover, at run time, the name of the other project in the project group.

    If this doesn't make sense to you reply anyway and I'll try to provide a better explanation.
    This world is not my home. I'm just passing through.

  2. #2

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Re: Getting project/group information at runtime

    I've got half an answer to my own question:-

    Assuming that the .vbg file is in the same directory as the .vbp then I can use Dir("*.vbg") to get the name of the Group file and get the information from there.

    What I was really hoping for though was, for example, an IDE object that I could have interrogated for information about the IDE.

    If anybody has any ideas let me know.
    This world is not my home. I'm just passing through.

  3. #3
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Getting project/group information at runtime

    An Add-In can access plenty of info about projects, references, components.. but i don't think a compiled exe could do the same. Maybe you can do it by seaching in the project files.

    Edit: (I didn't see your 2nd post)

  4. #4
    PowerPoster jcis's Avatar
    Join Date
    Jan 2003
    Location
    Argentina
    Posts
    4,430

    Re: Getting project/group information at runtime

    Quote Originally Posted by trisuglow
    What I was really hoping for though was, for example, an IDE object that I could have interrogated for information about the IDE.
    And that's an ADD-IN, you can create an Add-In project in VB IDE. I think you can find tutorials about Add-Ins in the Forums.

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