Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. help me

help me

Scheduled Pinned Locked Moved C#
helptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sarojkumarjena
    wrote on last edited by
    #1

    How to open a dialog where I can browse the files

    M N 2 Replies Last reply
    0
    • S sarojkumarjena

      How to open a dialog where I can browse the files

      M Offline
      M Offline
      mikone
      wrote on last edited by
      #2

      System.Windows.Forms.OpenFileDialog myofd = new System.Windows.Forms.OpenFileDialog(); myofd.ShowDialog();

      1 Reply Last reply
      0
      • S sarojkumarjena

        How to open a dialog where I can browse the files

        N Offline
        N Offline
        Nader Elshehabi
        wrote on last edited by
        #3

        Hello Beside what Mikone has already said, I suggest the following if you want to implement file browsing in your Application: 1- You might want to take a look at FolderBrowseDialog class. 2- Populate a TreeView or a ListView with folders using methods provided in Directory class 3- If you want to implement Windows Explorer itself in your application, you can make a WebBrowser control, and set the URL to @"file:\\\C:\" to browse C: drive.

        Regards:rose:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups