Cor,
I know how to use OpeFileDialog, and that was not the
question. If you take a look at the code supplied, it
opens a new explorer window in a separate process. The
functionality I am trying to achieve is something similar
to what happens when you click on FindTarget button in
File Properties explorer dialog box, when a folder
containing the file is opened and the file is selected.
It has nothing to do with opening a standard dialog.
P.S. the reason that I created a separate post in VB is
that the code there is in VB (and not C#) which makes it
easier for VB community to read (at least it made for me
when I only did VB).
Hope you can still help me with my problem (in either
language).
Kind regards,
Sergey
-----Original Message-----
Sergey,
Any reason that you don't use the stand OpemFileDialog
for that?
Users are seldom happy with extraordinair behaviour of
programs.
http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpref/html/frlrfsystemwindowsformsopenfiledialogclasstop
ic.asp
Just my thought,
Cor
.