Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #938

Re: Common Dialog Function

From Deanna Earley <dee.earley@icode.co.uk>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Common Dialog Function
Date 2012-03-13 16:58 +0000
Organization Aioe.org NNTP Server
Message-ID <jjnuaq$a90$1@speranza.aioe.org> (permalink)
References <ZFJ7r.7894$_N4.2103@newsfe07.ams2>

Show all headers | View raw


On 13/03/2012 15:26, Ivar wrote:
> Hi All
>
> My lil App (VB6) wants to import Excel or csv files
> Behind the Browse button is code based on AllAPI's GetOpenFileName
> All Works Well. However!
>
> Just can't get my head around making the windows common dialog list
> multiple file types
>
> Can anyone supply a function where the common show open dialog can list
> xls, xlsx and csv files in it's names list.

Set the filter to something like:
CSV files (*.csv)|*.csv|Excel files (*.xls, *.xlsx)|*.xls;*.xlsx|All 
files (*.*)|*.*

-- 
Deanna Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Common Dialog Function "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-03-13 15:26 +0000
  Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-13 16:51 +0000
  Re: Common Dialog Function Deanna Earley <dee.earley@icode.co.uk> - 2012-03-13 16:58 +0000
    Re: Common Dialog Function Deanna Earley <dee.earley@icode.co.uk> - 2012-03-13 17:38 +0000
  Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-13 17:41 +0000
    Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-13 11:13 -0700
      Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-13 20:31 +0000
        Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-13 15:54 -0700
        Re: Common Dialog Function ralph <nt_consulting64@yahoo.net> - 2012-03-13 19:01 -0500
        Re: Common Dialog Function Deanna Earley <dee.earley@icode.co.uk> - 2012-03-14 10:03 +0000
          Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 11:07 +0000
            Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 11:28 +0000
          Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-14 05:51 -0700
            Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 13:46 +0000
              Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-14 07:23 -0700
                Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 15:10 +0000
                Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-14 11:20 -0700
                Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 18:46 +0000
          Re: Common Dialog Function ralph <nt_consulting64@yahoo.net> - 2012-03-14 08:22 -0500
  Re: Common Dialog Function BeeJ <nospam@spamnot.com> - 2012-03-13 11:24 -0800
  Re: Common Dialog Function "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-03-13 21:53 +0000

csiph-web