Thank you. It is a very explainable tutorial for C# file system.
@mikusz34 жыл бұрын
Oh boy, I just can't wait to "remake" the Volkov/Norton Commander on Visual Studio. That'd be awesome.
@SnatchDreams3 жыл бұрын
That's cool 😎
@JohnnySix3 жыл бұрын
This was very cool, really like the explanation of the image-list for the icons. It'd be cool if windows forms had a control out-the-box though. :)
@SnatchDreams2 жыл бұрын
happy that you liked it :)
@Hai-v1w11 ай бұрын
How did you get that icon pack?
@SnatchDreams11 ай бұрын
I used free resources from flaticon.com
@annaovchinnikova3303 Жыл бұрын
How to create delete, rename, remove buttons for files and folders in this example? and a box where i can search files or folders using name or extension?
@johanvancoppenhagen27953 жыл бұрын
Very informative. Thanks for taking the time to make this video. How easy would it be to add a search function to this?
@SnatchDreams3 жыл бұрын
To find files? Yes it's kinda easy to implement
@jackofalltrades12494 ай бұрын
Hi Is this also possible in c# WPF? do you have any tutorial for WPF? Thank you!
@avectresormt3 жыл бұрын
Hello , where to get those icons 20:43
@SnatchDreams2 жыл бұрын
most of them are from flaticon.com
@DogeCharger3 жыл бұрын
Very useful tutorial! I'm working on an AES File Safe program using C# and was wondering how I could display a directory and show the files within. Thanks!
@shreyashmutyalwar3 жыл бұрын
Damn, i was thinking of that too
@SnatchDreams3 жыл бұрын
Glad it was helpful!😍
@ankushj4129 Жыл бұрын
I have done this exactly like it is in the video, but the pdf files cannot be opened, plz suggest me
@SnatchDreams Жыл бұрын
Please let me know the error that you are getting while trying to open pdf files. Please share details via mail Or reply to this comment. I hope u have an pdf reader installed on ur windows.
@lestermanguiat44634 жыл бұрын
It is for external storage only?
@swixx89103 жыл бұрын
when he put D: you can change it to whatever your main drive is d is usally a usb or something like thay C is a ssd and E is a hdd
@SnatchDreams3 жыл бұрын
You could put any drive.. I didn't use C: because it requires the app to ran an administrator
@SnatchDreams3 жыл бұрын
D drive is my second partition related to work 😇 and u answered correctly for his question bro thank you 😍
@xandro83093 жыл бұрын
Why in the function goBack() you didn't use the path = Path.Combine(path,"@..\\")
@lechampi22373 жыл бұрын
I really liked your video on the file manager but I have a problem is that nothing is executed when I code maybe Because I have a hard drive E: instead of D: .
@БезумныйПетя Жыл бұрын
NotSupportedException. In this FileAttributes fileAttr = File.GetAttributes(filePath + "/" + currentlySelectedItemName); I don't know why Visual Studio get me this error System.NotSupportedException: "This path format is not supported."
@wojtekgame3 жыл бұрын
Will you add a part 2 of the VB one to make more icons and making it openable in places
@SnatchDreams3 жыл бұрын
I will try to do one bro 😊
@wojtekgame3 жыл бұрын
@@SnatchDreams (it will be openable in notepad and edge)
@SnatchDreams3 жыл бұрын
U mean when u double click the file? The process or application in which the file is to be open is completed decided by Windows not by us.. So if u double click a txt file it would open in notepad or ur default text editor .. Same with other extensions
@wojtekgame3 жыл бұрын
@@SnatchDreams Yes and with a open in box if it's like a .txt file or .url files and they show icons than a paper icon
@SnatchDreams3 жыл бұрын
Icons can be customized and even we show the icons that actually windows uses for those extension itself... For the tutorial simplicity I limited it to few custom icons
@le_Bizarre2 жыл бұрын
Thanks. Is it possible to do the same with the newer .NET instead of of the .NET framework?
@SnatchDreams2 жыл бұрын
Sorry bro Didn't understand ur question
@le_Bizarre2 жыл бұрын
@@SnatchDreams At the beginning of the video you started a .NET framework project, but now we have .NET 6 framework, so can we use the same code?
@SnatchDreams2 жыл бұрын
Yes bro you should be able to use the same code.. If find any functions got deprecated kindly let me know 😇 I will be happy to help u with
@anjalisaxena11542 жыл бұрын
I tried the code u explained in first 11 mins and executed but not showing any list of directories in listView.... what cud be the issue as i followed the same steps and code that you explained.
@SnatchDreams2 жыл бұрын
Could share a code snippet of urs
@anjalisaxena11542 жыл бұрын
@@SnatchDreams using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.IO; using System.Diagnostics; using System.Threading.Tasks; using System.Windows.Forms; namespace File_Manager { public partial class Form1 : Form { private string filePath = "D:"; private bool isFile = false; private string currentlySelectedItemName = ""; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { TxtFilePath.Text = filePath; loadFilesAndDirectoies(); } public void loadFilesAndDirectoies() { DirectoryInfo fileList; try { fileList = new DirectoryInfo(filePath); FileInfo[] files = fileList.GetFiles();// GETS ALL THE FILES DirectoryInfo[] dirs = fileList.GetDirectories();// GET ALLT THE DIRECTORIES for (int i = 0; i < files.Length; i++) { listView1.Items.Add(files[i].Name); } for (int i = 0; i < dirs.Length; i++) { listView1.Items.Add(dirs[i].Name); } } catch (Exception e) { } } public void loadButtonAction() { filePath = TxtFilePath.Text; loadFilesAndDirectoies(); isFile = false; } private void BtnGo_Click(object sender, EventArgs e) { loadButtonAction(); } private void listView1_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e) { currentlySelectedItemName = e.Item.Text; } } }
@SnatchDreams2 жыл бұрын
Hi ji could u send the same snippet over mail snatchdreams@gmail.com. and before that try adding a print statement to print the length of dirs and files array also add a print statement inside the catch block to see of any exception is happening. We discussion this over email.. Going through such a big snippet over comments is quite difficult 😇 thank you
@anjalisaxena11542 жыл бұрын
@@SnatchDreams sorted out as i did not specify "Form1_Load in Load Event".. thanks
@SnatchDreams2 жыл бұрын
Happy it worked 😇 thanks for letting me know
@AmanKumar-bi4jl3 жыл бұрын
Sir, can i view images using this approach?
@SnatchDreams3 жыл бұрын
Yes bro we can.. U mean thumbnail preview right?
@AmanKumar-bi4jl3 жыл бұрын
@@SnatchDreams yes, But thumbnail preview is not good for large amount of data, whan i load thousand plus large size image then it throw out of memory exception, also rotate potrait image in landscape . Are you have any solution for this?
@SnatchDreams3 жыл бұрын
Instead of loading everything manually actually we can directly use the thumbnail used by windows instead of having a custom icons that we use.. I will try to share the code for that in one or two days please send a mail
@AmanKumar-bi4jl3 жыл бұрын
@@SnatchDreams Sir, I basically want to create image gallery with check box
@diyhub2986 Жыл бұрын
This is Amazing! the tutorial is very clear! +1. Btw. is it possible to filter the files that you want to view? ex. only MP3 files will be listed in listview. Thank you so much!
@kacchanmissions26284 жыл бұрын
May I ask how to define the File Type? Because the one showing in the File Type is File extension. Nice videooo!
@SnatchDreams3 жыл бұрын
Thank you bro 😍 .. Could u make ur question more clear so I could help u out if u are still stuck.. Sorry about late reply
@ElektrischInkorrekt8 ай бұрын
Have to do some research. With the parts I copied into my project it didn't work yet. (It didn't open the D:\ - Directory, instead it opened the Debug-Path)
@ElektrischInkorrekt8 ай бұрын
Nevermind. This seems to work as intended. If you don't enter the correct string, the function will try to generate a relative path starting from the project-root-Direktory (e.g. the Debug-Path). I was needing the backslash and needed a ten year old stackoverflow-question to solve it.
@serhanguney4924 жыл бұрын
I just installed VS 2019 to my MacBook and I'm a beginner. Looked everywhere and researched over an hour but I can't find the designer page hence can not create a form. Can you please help me ?
@f1shyv1shy354 жыл бұрын
Serhan Guney VS 2019 for MacBooks is not for developing windows applications.
@robylplays3 жыл бұрын
visual studio on mac isn't for developing windows applications you should go check other mac apps
@ahmadshada98674 жыл бұрын
Hi bro thank you so much ,i need to ask you ,about i can't show user folder such as User directory in C drive in my tree view that's i digging recursively on it please help me
@payback2crashes4 жыл бұрын
right click on your project, click on add and create an application.manifest file in your project and then go to RequestedExecutionLevel then, change the asInvoker to highestAvailable and that should be it. It will auto run as the highest permissions an app can have in windows.
@fade33025 жыл бұрын
Lessgo 🔥🔥
@SnatchDreams5 жыл бұрын
yeeeeeeeee
@jithinmv65165 жыл бұрын
Professor paul :)
@sanainamdar30923 жыл бұрын
Hi.can you develop file manager in aap.net mvc c#
@SnatchDreams3 жыл бұрын
U mean ASP. Net 😇
@jerome14714 жыл бұрын
my teacher doesn't know how to code so she told us to go here.
@SnatchDreams3 жыл бұрын
😇
@bloodmoonsolareclipse3 жыл бұрын
9:46 Gullable
@jahaandaryanani28304 жыл бұрын
For me Process.Start() doesnt work
@kayrakocak98274 жыл бұрын
I'm in the same trouble
@SnatchDreams4 жыл бұрын
What exactly is the error shown .. could you inbox me the screen shot of the error
3 жыл бұрын
put ; at the end
@BoxcarRider46 Жыл бұрын
@@SnatchDreams it doesn't open the file
@bloodmoonsolareclipse3 жыл бұрын
7:59
@themyaerikou43662 жыл бұрын
Ounded birds episode 55 with greek subtiles
@cilginpro88824 жыл бұрын
file path text box error
@Core0343 жыл бұрын
Noo I making programs in c++
@SnatchDreams3 жыл бұрын
Great 🤩 Happy Coding
@Core0343 жыл бұрын
@@SnatchDreams thanks!
@ednamusa85394 жыл бұрын
Need help pliz
@ednamusa85394 жыл бұрын
How can I create a desktop chat application using c# in visual studio...showing active users,create group .. something just like watsapp
@SnatchDreams4 жыл бұрын
Hiii .. I its too big project to do.. If i could get all your support . I will start making the videos for the part by part..
@marak-pc-project25734 жыл бұрын
Please source code
@SnatchDreams4 жыл бұрын
Sorry for the inconvenience .. I have added to source code link in the description
@maskedredstonerproz4 жыл бұрын
source code plzzz!!
@SnatchDreams4 жыл бұрын
I have added the source to github repo and put the link to in the description