Re: UserAccounts.CommonDialog on Windows 2000
- From: "Paul Randall" <paulr901@xxxxxxxxxxxx>
- Date: Wed, 5 Dec 2007 14:55:23 -0700
"Andrew HUANG" <AndrewHUANG@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:2139F801-CE64-4E77-9CAD-4F6463D6FB1A@xxxxxxxxxxxxxxxx
CreateObject("UserAccounts.CommonDialog") is working fine on XP, but
on
Windows Server, it doesn't.
Have another way of calling browse a file on that platform?
Thanks,
-Andrew
Hi, Andrew
I suspect that what you really want is scripting access to the
'standard' file open and save as dialog box. You probably have many
programs that use it, but you can't script it because you don't have a
license for scripting it. You don't
automatically get a scriping license for it with Windows. But M$ has
a free download that will, when you run the .hta, install the free
license which you can then use for any scripting.
1) The .hta is a simple html editor that does 'save as' from a menu
and toolbar button, completely built with VBScript.
2) It installs the license.
Learn about this simple HTML editor at:
http://msdn2.microsoft.com/en-us/library/ms537834.aspx
Download it at:
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/samples/internet/author/html/htmleditor/default.asp
-Paul Randall
.
- Prev by Date: What do I need to install to use vbscripting
- Next by Date: Re: Can i use vbscript to create a windows form?
- Previous by thread: What do I need to install to use vbscripting
- Next by thread: Question regarding New User Creation Script
- Index(es):
Loading