Friday, June 27, 2008

Locate current opened file in solution explorer

To locate current opened file in solution explorer you can use this macro:


Sub LocateInSolutionExplorer()
DTE.ExecuteCommand("View.TrackActivityinSolutionExplorer")
DTE.ExecuteCommand("View.TrackActivityinSolutionExplorer")
End Sub

2 comments:

Anonymous said...

Thanks a lot! This saved me a whole lot of nerves today. Cheers Tom

Anonymous said...

Bonjour I'd love to thank you for such a great quality forum!
Was thinking this would be a perfect way to make my first post!

Sincerely,
Sage Brand
if you're ever bored check out my site!
[url=http://www.partyopedia.com/articles/over-the-hill-party-supplies.html]over the hill Party Supplies[/url].