Re: Set location for CommonDialog object

From: Bob Butler (tiredofit_at_nospam.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 07:56:28 -0800


"AndyG" <AndyG@discussions.microsoft.com> wrote in message
news:2552A3F4-95D7-43AD-B545-E213F7E83F83@microsoft.com
> How do I specify the path/folder for a CommonDialog object? I know
> how to set some of the properties (e.g. frmMain.CommonDialog1.Filter
> = "*.txt|*.txt") but the CommonDialog always opens to the path/folder
> in which the application resides.

Set the .FileName and/or .InitDir properties

-- 
Reply to the group so all can participate
VB.Net: "Fool me once..."


Relevant Pages

  • Re: find hdisk given a filename
    ... I have no way of finding out where a particular filename reside? ... "/etc/hosts" resides on? ... Under the PV column will be the name of the hdisk the logical volume: ... This communication is not intended to create or modify any ...
    (AIX-L)
  • Set location for CommonDialog object
    ... How do I specify the path/folder for a CommonDialog object? ... but the CommonDialog always opens to the path/folder in which the application ...
    (microsoft.public.vb.controls)
  • How do you get the current page that i am reading??? in C#
    ... Word.Document oWordDoc = oWordApp.Documents.Open(ref fileName, ... my program is reading resides??? ...
    (microsoft.public.office.developer.automation)