DIGIT-ARC read-only archive · snapshot: July 23, 2026

C# 2008 project help

10 posts · originally from https://geek.digit.in/community/threads/c-2008-project-help.124783/

S
sinoop_joy Original post #1
Mar 1, 2010 at 7:27 PM
Can any one tell me the code to get all files and folder(with sub dir n files) ?

I want to show it as a tree view+list view with folders only shown in a tree view and the sub directories and files of selected treeview node in the listview..(Same as in Windows Explorer)...
krishnandu.sarkar
Mar 2, 2010 at 8:47 PM
*www.codeproject.com/KB/cs/TreeViewFileExplorer.aspx

*www.codeproject.com/KB/cs/my_explorer.aspx

*www.c-sharpcorner.com/UploadFile/n...11292005230454PM/WindowsExplorerinCSharp.aspx

Take a look at those links. Those are actually what you wants with source code download :)

Enjoy :)
S
Mar 2, 2010 at 9:45 PM
Thank u...
Will try it out..
S
Mar 5, 2010 at 11:44 PM
K...
Thank u 4 the links...

Bye the way,how to make a drop down box as in the attached image
(For the Volume Field...)
arpanmukherjee1
Mar 5, 2010 at 11:55 PM
^ use combo box

ComboBox Class (System.Windows.Forms)
krishnandu.sarkar
Mar 6, 2010 at 9:32 PM
Yes combobox supports icons. Insert combobox and select the option at top right corner of the combobox. U'll find all the options there.
S
Mar 7, 2010 at 8:14 AM
Any examples ?

Also,how can we identify 2 CDs(or DVDs) uniquely ? Is there any Serial no or any other Ids ?
How to implement that in C# ?
S
Apr 1, 2010 at 7:55 PM
Why no reply guys ? I also want help on some other questions.... How can we traverse a tree (in a treeview) ? How to save a file(create a file) using savedialog box(I want ot save the currently active database to a format...) ? How to open the saved file using openfiledialog ?
arpanmukherjee1
Apr 9, 2010 at 5:42 PM
if you can manage get hold of CD that comes with C# Black Book of Dreamtech publication.

many examples and projects to get you started..

the questions you ask are basic and u must solve them urself. use MSDN on the internet

database as a whole cannot be written to a file using c# methods. c# Save method is for binary or a file stream only.
use data base connection using OLEDB or ODBC using the inbuilt server.