VS 2005 interface question
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 13 of 13

Thread: VS 2005 interface question

  1. #1
    Join Date
    Nov 2001
    Posts
    251

    Arrow VS 2005 interface question

    In MSVC++ 6.0, you could right-click on any source file, like stdafx.cpp, select "Properties", and it would always give you the
    full filepath (e.g. "C:\whatever\stdafx.cpp") of the file.

    But in VS 2005, if you do the same thing, sometimes it brings up a useless configuration page. Is there a way to find out the
    filepath of a source file? I can't find anything in the docs about it. Kind of driving me nuts.

  2. #2
    Join Date
    Jul 2002
    Posts
    2,505

    Re: VS 2005 interface question

    There is also Properties window, which is shown for every selected object (like control on a dialog template, class etc.). Select file in the Solution Explorer, and open Properties window.

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,291

    Re: VS 2005 interface question

    I couldn't test it in VS2005, but in VS2008 it is working exactly as Alex F wrote.
    Victor Nijegorodov

  4. #4
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,055

    Re: VS 2005 interface question

    Quote Originally Posted by Alex F View Post
    There is also Properties window, which is shown for every selected object (like control on a dialog template, class etc.). Select file in the Solution Explorer, and open Properties window.
    That doesn't show the full path though. The only way I know to do it is to open the file then choose Save As...

  5. #5
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,012

    Re: VS 2005 interface question

    If you hover the mouse over the file tab above the code editor, you get a tool tip displaying the full path.
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

  6. #6
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,291

    Re: VS 2005 interface question

    Quote Originally Posted by GCDEF View Post
    That doesn't show the full path though. The only way I know to do it is to open the file then choose Save As...
    It sounds like there is a good reason to move to VS2008:
    Attached Images Attached Images  
    Victor Nijegorodov

  7. #7
    Join Date
    Nov 2001
    Posts
    251

    Re: VS 2005 interface question

    Quote Originally Posted by Alex F View Post
    There is also Properties window, which is shown for every selected object (like control on a dialog template, class etc.). Select file in the Solution Explorer, and open Properties window.
    Sorry, can you be more specific? I can't find anything called "Properties window" in 2005 or 2008. There is something called "Properties Manager",
    but that doesn't give me anything useful.

    And right-clicking on a .cpp source file, and selecting "Properties", still gives me a useless configuration page in 2008.

  8. #8
    Join Date
    Aug 2000
    Location
    New York, NY, USA
    Posts
    5,525

    Re: VS 2005 interface question

    Quote Originally Posted by VictorN View Post
    It sounds like there is a good reason to move to VS2008:
    There are many reasons to move to VS2008, but this is not one of them:
    Attached Images Attached Images  
    Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
    Convenience and productivity tools for Microsoft Visual Studio:
    FeinViewer - an integrated GDI objects viewer for Visual C++ Debugger, and more...

  9. #9
    Join Date
    Nov 2001
    Posts
    251

    Re: VS 2005 interface question

    Right-click "Properties" in 2005 or 2008.
    This is all I get. Sorry, I don't see where you're getting that dialog. I'm stumped.
    Attached Images Attached Images  
    Last edited by Syslock; July 8th, 2009 at 08:17 PM.

  10. #10
    Join Date
    Dec 2006
    Posts
    25

    Re: VS 2005 interface question

    Are you right clicking on your project or solution?

  11. #11
    Join Date
    Jan 2007
    Posts
    90

    Re: VS 2005 interface question

    here you go!!


    regards
    Attached Images Attached Images  

  12. #12
    Join Date
    Nov 2001
    Posts
    251

    Re: VS 2005 interface question

    Deepak, you're da man!

    The "Properties Window" is in both 2005 and 2008.
    Found it hiding under View -> Other Windows -> Properties Window too.
    Last edited by Syslock; July 9th, 2009 at 02:57 AM.

  13. #13
    Join Date
    Jan 2007
    Posts
    90

    Re: VS 2005 interface question

    or your could use hot key ATL+enter

    regards
    deepak

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center