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(); |
(Sorry for Polish names, I'm a Pole. "Otwieranie" - "Opening", "Mój Komputer" - "My Computer")
What have I done wrong? Help, please.

Kirtan PatelRank #292 · 8.6K reputationPosted Oct 18, 2009, 10:03 AM EDT
it could be virus activity i think :)
Chris3 reputationPosted Oct 19, 2009, 6:17 AM EDT
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 19, 2009, 7:19 AM EDT
thanks for figuring out it will help me in future when i will face this type of problem
cheers :)