Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 11, 2001

VBScripting Solutions: An Improved GUI Component for Data Entry


RSS
View this exclusive article with VIP access -- click here to join |
See More COM and COM+ Articles Here | Reprints | Or sign up for our VIP Monthly Pass!
A COM object to extend the WSH environment

Many everyday programming problems exist for which the Windows Script Host (WSH) object model just can't provide a definitive and satisfying solution. The WSH object model is designed to offer minimal support to scripters—a sort of survival kit. Certainly, the WSH object model can't compete with the Windows software development kit (SDK); indeed, it isn't supposed to.

The WSH object model collects facilities for script programmers, but if you consider it a kind of COM-automation version of the Windows SDK, you couldn't be further from the truth. For example, tasks that you can easily accomplish in Microsoft Visual Basic (VB) are impossible in VBScript. This month, I illustrate some of these problems and provide a COM object that solves them.

The Windows XP Password Component
In Bob Wells, Rem, November 2001, InstantDoc ID 22712, Wells answered a question about whether WSH has a component that can accept and verify a password without displaying it as the user types it in a text box. Although WSH doesn't provide a facility for data entry, you can rely on the services of VBScript's InputBox function to obtain basic input functionalities. However, the dialog box that the InputBox function displays works only with clear text and provides no programmatic way to hide the typed text. . . .

Top Viewed ArticlesView all articles
No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

Where is Microsoft NetMeeting in Windows XP?

...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Related Events Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing