Re: Equivalent to VBAs Open Dialog Filename



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


.



Relevant Pages

  • Re: Equivalent to VBAs Open Dialog Filename
    ... > Windows installations, it's the license that isn't installed. ... It installs the MsComDlg object license. ... > downloaded as freeware from previously licensed third-party vendors, ... > common dialog, but it is only available on WinXp. ...
    (microsoft.public.scripting.vbscript)
  • Re: hello, newbie here need some help
    ... WinXP Pro supports computers that have two CPUs installed. ... If you want to install the same OS on multiple computers, either purchase multiple licenses, a volume license, or use an OS whose license permits multiple installations, such as Linux. ...
    (microsoft.public.windowsxp.general)
  • Re: hello, newbie here need some help
    ... 'CPU'. ... >> accept the fact that you could have one Windows XP licenced for 2 cpu's ... > multiple computers, either purchase multiple licenses, a volume license, ... > or use an OS whose license permits multiple installations, ...
    (microsoft.public.windowsxp.general)
  • Re: Windows XP Copyright Issues
    ... The op didn't say anything about making illegal installations on unlicensed ... licensed installations should be allowed under fair terms of the license, ... That's why we drink it here, And when we're all gone from here, Our friends will be drinking all the beer! ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Another multi boot question
    ... this program will detect the 2 XP installations and add ... > the disk to boot from at boot time and have the selected drive become the ... >> You'll need an individual license in order to install and activate ... >> on two different drives installed in the same computer, ...
    (microsoft.public.windowsxp.general)