Re: Equivalent to VBAs Open Dialog Filename
- From: "Joe Earnest" <jearnest3-SPAM@xxxxxxxxxxxxx>
- Date: Mon, 6 Jun 2005 20:24:00 -0600
Hi,
"mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx> wrote in message
news:Hi5pe.351$VK4.279@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>> In addition, if you happen to have Microsoft's comdlg32.ocx laying
>> around, you could also use that.
>
> ...But only if it's licensed on the machine. That's
> not much good excpet to VS users who want to use
> it locally.
>
Just to flesh out and put in perspective -- comdlg32.ocx is present on all
Windows installations, it's the license that isn't installed.
If it's worth it to you, you can download and install VB5CCE, which is still
available as freeware from MS (at least it was as of a couple of weeks ago).
It installs the MsComDlg object license. But it's a large download and
installation, if all you're after is the license. And then (as noted) it's
effectively local use only.
All the inherent dialogs available to scripts are OS and
version/installation specific.
There is the MS Java VM version of the common dialog, which is quite nice,
and used to be universal, but MS quit installing the MS Java VM as part of
the OS with new Win2k SP4+, WinXp SP1a+ or any Win2k3 installations, as a
result of its lawsuit with Sun. If not installed, it can still be
downloaded as freeware from previously licensed third-party vendors, at
least for now, and MS still supports it (until 2009 is it???), but it too
would be effectively local, since new installations in the last two years or
so won't have it.
As previously noted, the UserAccounts Open dialog is a good version of the
common dialog, but it is only available on WinXp.
There are the SAFRC Open and SaveAs versions (pitiful as they are) of the
common dialogs for WinXp and Win2k3.
But the only thing approaching a universal file dialog for scripting any
more is the old tried and true, and fairly limited, HTML ChooseFile dialog
(existing files only, no filtering, no different title, etc, but useable).
Requires you to use the IE object, but useable across IE4-IE6. A number of
different versions have been posted. (I think it's proper to credit Walter
Zachary for first posting the basics of this technique???)
Lot's of third-party freeware COMs with the VB versions, but again, local
only.
Regards,
Joe Earnest
.
- Follow-Ups:
- Re: Equivalent to VBAs Open Dialog Filename
- From: Paul Randall
- Re: Equivalent to VBAs Open Dialog Filename
- From: Paul Randall
- Re: Equivalent to VBAs Open Dialog Filename
- From: Wayne Simacek
- Re: Equivalent to VBAs Open Dialog Filename
- References:
- Equivalent to VBAs Open Dialog Filename
- From: Wayne Simacek
- Re: Equivalent to VBAs Open Dialog Filename
- From: mr_unreliable
- Re: Equivalent to VBAs Open Dialog Filename
- From: mayayana
- Equivalent to VBAs Open Dialog Filename
- Prev by Date: (Newbie/amateur) Error: The "SendUsing" configuration is invalid. Code: 80040220 Source: CDO.Message.1
- Next by Date: Re: zip files
- Previous by thread: Re: Equivalent to VBAs Open Dialog Filename
- Next by thread: Re: Equivalent to VBAs Open Dialog Filename
- Index(es):
Relevant Pages
|
|