Pages

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:

  1. Anonymous4:38 PM

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

    ReplyDelete
  2. Anonymous8:15 AM

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

    ReplyDelete