C# Tutorial – How to make a File Explorer | FoxLearn

34
2



How to make a file explorer in C# Windows Forms Application. This is the best way to learn c# for beginners

Website:

Advanced File Explorer using C# and Windows Forms
How to create an Explorer-like folder browser control?
Opening a folder in explorer and selecting a file C#
Create a File Explorer in winforms app C#
How to add browse file button to Windows Form using C#
Walkthrough: Creating an Explorer Style Interface with the ListView C#

Nguồn:https://wijstaanvooronzegrondrechten.org/

34 COMMENTS

  1. I can say that Fox learn is always a lifesaver when it comes to needing stuff you cant find any were else;D or atleast really good tutorials on a subject.

  2. You made my dream come true… thanks so much… congrats on your 53K! You deserve 1M. I am not lying like others, your the best.

  3. Hello, I have a one problem. I do what you show and have a statement 'The name "fbd" does not exist in the current FileExplorer context'. Can you help me why?

    hier you find the code in this folder: https://grupaignis987-my.sharepoint.com/:f:/g/personal/t_myszak_grupaignis_pl/EgbaIndM5lJGh0t23-ayjYUBFasNOo3F8he2V2oV7Wspfg?e=HN3d0Q

  4. I see all of these people asking for the code, if you just copy and paste you're not learning anything. If you don't you're still learning even though it doesn't seem like it, so instead of just asking for the code, can you just write it? It's not that hard.

  5. My source (with a bit of improvement on the navigation) :
    using System;

    using System.Collections.Generic;

    using System.ComponentModel;

    using System.Data;

    using System.Drawing;

    using System.Linq;

    using System.Text;

    using System.Threading.Tasks;

    using System.Windows.Forms;

    namespace Explorer

    {

    public partial class FileExplorer : Form

    {

    public FileExplorer()

    {

    InitializeComponent();

    }

    private void FileExplorer_Load(object sender, EventArgs e)

    {

    mainFileExplorer.Navigate("C:/");

    pathTextBox.Text = "C:/";

    }

    private void goButton_Click(object sender, EventArgs e)

    {

    using(FolderBrowserDialog fbd = new FolderBrowserDialog() { Description = "Select your folder path" })

    {

    if(fbd.ShowDialog() == DialogResult.OK)

    {

    mainFileExplorer.Url = new Uri(fbd.SelectedPath);

    pathTextBox.Text = fbd.SelectedPath;

    }

    }

    }

    private void bkButton_Click(object sender, EventArgs e)

    {

    mainFileExplorer.GoBack();

    }

    private void fwdButton_Click(object sender, EventArgs e)

    {

    mainFileExplorer.GoForward();

    }

    }

    }

  6. there's tons of problem while using this method.
    since there's no any code can help further access the file in this webbrowser.

  7. Hu thanks a lot for the video , when i open any folder it opens on my windows explorer and not on my actual program , how to fix that ?

  8. How to change webbrowser backcolor?
    I tried this method : webBrowser.DocumentText = "<html><body style = 'background-color:" + "#575757"+ "'></body></html>";
    But I can not see file list. Only see #575757 color .
    Help me please.

LEAVE A REPLY

Please enter your comment!
Please enter your name here