How do I 'navigate' to a path in C#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Josh Argent
    New Member
    • Dec 2010
    • 28

    How do I 'navigate' to a path in C#?

    Okay, I'm making my C# application and it uses the open file dialog. The only problem is that when the user navigates to another path it will then use that path as it's defualt path. I want to be able to navigate to the programs 'working directory'. Is that possible? Thanks in advance :
  • bentleyw
    New Member
    • Feb 2008
    • 32

    #2
    Hello again, Josh. For this one I think what you want is to set the InitialDirector y of the OpenFileDialog to Application.Sta rtupPath, or whatever folder path you like.

    Comment

    • Josh Argent
      New Member
      • Dec 2010
      • 28

      #3
      Thanks again bentleyw! :)

      Comment

      Working...