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.
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.
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)
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.