Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
OpenFileDialog can't see partitions in My Computer
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Chris
14y
3.4k
1
Reply
Hello!
I'm learning to create windows applications in C#. I use Net Framework v3.5 compiler csc.exe. I tried to make a simple notepad and everything was ok until I wanted to use FileOpenDialog. I write:
OpenFileDialog dlgOpen=new OpenFileDialog();
dlgOpen.Filter="Text Files (*.txt)|*.txt|Microsoft Word Files|*.doc|All Files (*.*)|*.*";
dlgOpen.ShowDialog();
It works ok, but I don't know why it doesn't show partitions and drives in My Computer window. Screen:
(Sorry for Polish names, I'm a Pole. "Otwieranie" - "Opening", "Mój Komputer" - "My Computer")
What have I done wrong? Help, please.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Parse()
add image to picture box