Hi

I am looking for a way to define the starting position for a common dialog box in C#, specifically for an instance of the class FolderBrowserDialog. I can't find a way to do this with managed code and I haven't had any luck with an unmanaged code solution either. I would appreciate help in implementing either one of these methods

Thanks for your help
Jeannie

Re: Defining the start position for a dialog box by Ed

Ed
Tue Feb 10 18:30:06 CST 2004

I don't think there is a way to do that in managed code.

"Jeannie" <anonymous@discussions.microsoft.com> wrote in message
news:C7509683-5B41-4371-8120-0C957ACA2196@microsoft.com...
> Hi,
>
> I am looking for a way to define the starting position for a common dialog
box in C#, specifically for an instance of the class FolderBrowserDialog. I
can't find a way to do this with managed code and I haven't had any luck
with an unmanaged code solution either. I would appreciate help in
implementing either one of these methods.
>
> Thanks for your help,
> Jeannie



Re: Defining the start position for a dialog box by Saurabh

Saurabh
Wed Feb 11 04:31:58 CST 2004

Can you not set StartPosition to "manual" and then assign Location to
wherever you want.... I haven't tried it but I guess your
FolderBrowserDialog must be inherited from Form and hence the above
properties must be available.

--Saurabh

"Jeannie" <anonymous@discussions.microsoft.com> wrote in message
news:C7509683-5B41-4371-8120-0C957ACA2196@microsoft.com...
> Hi,
>
> I am looking for a way to define the starting position for a common dialog
box in C#, specifically for an instance of the class FolderBrowserDialog. I
can't find a way to do this with managed code and I haven't had any luck
with an unmanaged code solution either. I would appreciate help in
implementing either one of these methods.
>
> Thanks for your help,
> Jeannie



Re: Defining the start position for a dialog box by Ed

Ed
Wed Feb 11 14:13:06 CST 2004

CommonDialog is derived from Component, not Form, so there is no
StartPosition or Location.

"Saurabh" <saurabh@nagpurcity.net> wrote in message
news:uvfMEqI8DHA.3012@TK2MSFTNGP09.phx.gbl...
> Can you not set StartPosition to "manual" and then assign Location to
> wherever you want.... I haven't tried it but I guess your
> FolderBrowserDialog must be inherited from Form and hence the above
> properties must be available.
>
> --Saurabh
>
> "Jeannie" <anonymous@discussions.microsoft.com> wrote in message
> news:C7509683-5B41-4371-8120-0C957ACA2196@microsoft.com...
> > Hi,
> >
> > I am looking for a way to define the starting position for a common
dialog
> box in C#, specifically for an instance of the class FolderBrowserDialog.
I
> can't find a way to do this with managed code and I haven't had any luck
> with an unmanaged code solution either. I would appreciate help in
> implementing either one of these methods.
> >
> > Thanks for your help,
> > Jeannie
>
>