MSDN Magazine: Scripting / WSH
All MSDN Magazine Topics
Cutting Edge: Build Rich User Interfaces with jQuery
Dino Esposito - May 2009
In this month's installment we build modal and modeless dialog boxes in jQuery and explain how to post data from them to the Web server.
Cutting Edge: Explore Rich Client Scripting With jQuery, Part 2
Dino Esposito - April 2009
Cutting Edge: Explore Rich Client Scripting With jQuery, Part 1
Dino Esposito - March 2009
Thanks to selectors and function chaining, jQuery allows you to write compact, cross-browser code.
Toolbox: Static Analysis Tools For .NET, Matt Berseth’s Blog
Scott Mitchell - December 2008
This month we take a look at FxCop and other tools that enforce your design rules, along with jQuery.
Cutting Edge: Single-page Interface and AJAX Patterns
Dino Esposito - May 2008
This month we begin a look at the Single Page Interface (SPI) model and some design patterns for designing AJAX applications.
Test Run: Request/Response Testing with Windows PowerShell
Dr. James McCaffrey - May 2008
Did you know you can use Windows PowerShell to perform lightweight request/response testing for an ASP.NET Web app? Here's how.
Test Run: Web UI Automation with Windows PowerShell
Dr. James McCaffrey - March 2008
Here we show you how to use Windows PowerShell to create quick and easy UI test automation for ASP.NET and classic ASP Web applications.
Cutting Edge: Customize Controls with AJAX Extenders, Part 2
Dino Esposito - February 2008
This month Dino looks at AJAX control extenders again, adding more advanced features including masked editing and autocompletion.
World Ready: Around the World with ASP.NET AJAX Applications
Guy Smith-Ferrier - January 2008
Cutting Edge: Customize Controls with AJAX Extenders
Dino Esposito - January 2008
AJAX Extenders extend the behavior and features of ordinary Web controls so you can reduce postbacks and control input even better than with AJAX alone.
Wicked Code: Drag and Drop with ASP.NET AJAX
Jeff Prosise - January 2008
Jeff Prosise shows how you can implement drag-and-drop functionality in your Web app with ASP.NET AJAX.
Cmdlets: Extend Windows PowerShell With Custom Commands
Jim Truher - December 2007
Jim Truher presents an introduction to writing and registering your own custom cmdlets to be used in Windows PowerShell.
Test Run: UI Automation with Windows PowerShell
Dr. James McCaffrey - December 2007
This installment of Test Run is a guide to using Windows PowerShell to perform ultra lightweight UI automation.
Ray Djajadinata - May 2007
Test Run: Lightweight Testing with Windows PowerShell
Dr. James McCaffrey - May 2007
Web Q&A: Data Integrity Over HTTP, IIS Credentials, DataGrids, and More
Edited by Nancy Michell - March 2005
Web Q&A: Request Timeouts, Byte Array Conversion, and More
Edited by Nancy Michell - May 2004
Web Q&A: JScript Leaks, Getting the XmlDataDocument, and ASPX Includes
Edited by Nancy Michell - April 2004
Web Q&A: ANSI Chars in XML, E-commerce Architecture, and More
Edited by Nancy Michell - February 2004
Web Q&A: Schema From a DataSet, Exporting SQL Data to Excel, and More
Edited by Nancy Michell - October 2003
Web Q&A: InfoPath Back End, WSH Script Signing, and More
Edited by Nancy Michell - September 2003
Web Q&A: Who Called the Script?, Concatenating Binary Files, and More
Edited by Nancy Michell - August 2003
This month find out which part of an HTML document has called a script, how to concatenate binary files, find a node, reference one script from another, build a GUI database front end in Access, and compare XML files.
Web Q&A: Web Services
Edited by Nancy Michell - December 2002
Web Q&A: Mobile Internet Toolkit versus Smart Device Extensions, SSL Glitch Again, and More
Edited by Nancy Michell - November 2002
Web Q&A: Allowing ASP in IIS 6.0, Sorting XML Elements, SSL and Navigation, and More
Edited by Nancy Michell - October 2002
Web Q&A: Scripting Security
Edited by Nancy Michell - September 2002
Scripting and .NET: Visual Studio for Applications Provides Customized Scripting Facilities for Your .NET Project
Chris Sells - August 2002
In the past, the Microsoft Active Scripting architecture has allowed you to make your applications extensible. But it came with some drawbacks. You couldn't call into DLLs; you had to use COM interfaces. The scripts were not compiled, so they ran more slowly than they otherwise might, and a number of objects had to ride along with the script. To solve these problems and make extensibility easier to attain, Visual Studio for Applications was introduced. Presented here is an introduction to VSA that covers language support, types, events, and much more.
Scripting SQL: VBScript Interfaces in SQL Server 2000 Let You Transform Data and Provide Reports to Your Users
Alok Mehta and Daniel Williams - August 2002
Application service providers often must send information to clients automatically rather than on-demand. For example, a manufacturer may want to know each day how many of their products were sold by a retail chain. While SQL Server is ideal for maintaining this type of database, you have to write scripts to get the data out in a client-friendly format. Here you will see how you can use Data Transformation Services (DTS), a powerful tool in SQL Server, to automate the retrieval and formatting of data from SQL Server 2000 and make the process of pushing data to your users a lot easier.
Web Q&A: HTML Table Control, WindowClosing Event, Numerous ActiveX Controls, and More
Edited by Nancy Michell - July 2002
Scripting: Windows Script Host 5.6 Boasts Windows XP Integration, Security, New Object Model
Dino Esposito - May 2002
Windows Script Host (WSH) 5.6, a major upgrade for the WSH environment, provides some significant improvements over previous versions. A brand new security model that is tightly integrated with security in Windows XP allows administrators to place fine-grained restrictions on scripts reducing the risk from malicious code. In addition, local scripts can now run on remote machines, and enhancements to the object model reduce the amount of boilerplate code needed when writing professional code. This overview of WSH 5.6 explains these changes and how .NET and scripting work together.
Web Q&A: Auto Downloads, Accessing XML, Opening Multiple Windows, and More
Edited by Nancy Michell - April 2002
Web Q&A: Threading in MSXML, Sorting XML, Order-by, Changing Mouse Pointer, and More
Edited by Nancy Michell - February 2002
Web Q&A: Navigation, Clickthroughs, Debugging, and More
Edited by Nancy Michell - January 2002
The XML Files: Object Graphs, XPath, String Comparisons, and More
Aaron Skonnard - January 2002
Windows Media Technologies: Using Windows Media Rights Manager to Protect and Distribute Digital Media
Andrea Pruneda - December 2001
Media distributors have been looking for a way to prevent users from getting saleable content for free ever since independent distributors and peer-to-peer systems began distributing files without licensing them. Windows Media Services addresses these concerns by providing encryption, licensing, and management capabilities. One of its components, Windows Media Rights Manager, allows companies to issue licenses that consumers must pay for before their media files will play. This article explains this and other components of Windows Media Services so you can begin protecting your media files today.
Pocket PC: MSMQ for Windows CE Brings Advanced Windows Messaging to Embedded Devices
Bob Hartman - December 2001
Handheld devices are becoming increasingly important nodes on wireless networks, allowing their users to connect to data stores and other central server applications over the network. But wireless network connections can be unreliable, requiring the use of store-and-forward messaging that does not need to maintain a continuous connection. Microsoft Message Queue (MSMQ) has supplied these features to desktop machines, and there is now a version for handheld devices. MSMQ for Windows CE allows users of embedded devices to perform tasks such as remote order processing and inventory update without worrying about the state of their connection. The benefits of MSMQ for Windows CE and how to install and run the service is covered here.
The XML Files: What's New in MSXML 4.0
Aaron Skonnard - December 2001
Web Q&A: A Look at Usability
Edited by Nancy Michell - November 2001
Web Q&A: XML to HTML, Editable Dropdown List, Sending Large XML Files to SQL, Streaming Media, and More
Edited by Nancy Michell - October 2001
Web Q&A: Office Chart Control, Opening Windows in ASP, Getting a Referred URL, and More
Edited by Nancy Michell - July 2001
Windows Script Host: New Code-Signing Features Protect Against Malicious Scripts
Eric Lippert - April 2001
Downloading scripts from the Web or e-mail leaves users vulnerable to security risks because scripts can't be signed. But now developers can use Windows Script Host (WSH) to hash scripts so users can verify their source and safety. With WSH, scripts can be signed or verified using all the same tools ordinarily used to sign EXE, CAB, DLL, and OCX files. This article discusses public-key cryptosystems, the process of signing and verifying scripts in WSH, and several warnings about attacks that could potentially be made against cryptographically secured scripts and ways in which to avoid them.
Whistler: Build More Flexible Console Snap-ins with the MMC 2.0 Object Model
Vivek Jhaveri - March 2001
Microsoft Management Console (MMC) 2.0 provides a host of exciting new features for MMC users and snap-in developers. The new MMC 2.0 automation object model allows much of the user interface of MMC 2.0 to be accessed through script, and exposes events so that many tasks can now easily be automated. The new view extension model uses HTML to enable extensions to seamlessly integrate new user interfaces with those of existing snap-ins. MMC 2.0 also includes a specific view extension snap-in, the Extended View snap-in, which provides an interface similar to Web folders. Drag and drop support has been expanded, and console files now use the XML file format. Enhancements to console taskpads make it easier to accomplish tasks.
Web Q&A: Detecting Security Settings, Printing from the WebBrowser Control, Hiding the Print Button, and More
Robert Hess - March 2001
Web Q&A: Scripting Interoperability, Login Control on a Web Farm, Custom Refreshes, App Servers, and More
Robert Hess - February 2001
Web Q&A: Printing from a Web Page, Screen Scraping, Origin of an HTTP Request, and More
Robert Hess - January 2001
Active Scripting APIs: Add Powerful Custom Debugging to Your Script-Hosting App
Mike Pellegrino - December 2000
Active Scripting is a powerful tool for adding advanced features such as macro capabilities to custom applications. This creates a need for integrated debugging services for new features added with scripting. To address this need, Microsoft has provided a set of COM interfaces for developing debugging services from within the Active Scripting framework. This article illustrates how to use the debugging services published within the Active Scripting framework to create a full-featured script debugger that can provide a multitude of debugging actions including setting breakpoints, call stack viewing, variable browsing, immediate-window viewing, thread enumeration, and application enumeration.
Web Q&A: Client-side Cookies, Unchecking Checkboxes, Microsoft.com Toolbar, WebBrowser Control, and More
Robert Hess - December 2000
Cutting Edge: Extend the WSH Object Model with Custom Objects
Dino Esposito - November 2000
Web Security: Putting a Secure Front End on Your COM+ Distributed Applications
Keith Brown - June 2000
The Internet requires that developers provide a different security model for clients than is used on a closed network. Because it would be too resource-intensive for both the client and server to prove their identity to each other, you need to look at other ways to ensure secure communications. This article covers the options, from digital certificates to public and private key encryption to Secure Sockets Layer and Web certificates. The discussion covers the installation of certificates in Microsoft Internet Information Services along with other options specific to IIS. This article was adapted from Keith Brown's Programming Windows Security (Addison-Wesley), due out in July 2000.
Collaboration Data Objects: Send Microsoft Exchange Appointment Reminders to Your Pager Using CDO
Sean McCormick - June 2000
Besides your typical e-mail services, Microsoft Exchange also provides the service infrastructure you need to build extensible knowledge and workflow management systems. Understanding Collaboration Data Objects (CDO) is the key to accessing these Exchange services for your own programs. With CDO you can automate tedious tasks and integrate information such as e-mail, calendars, and contacts with almost any application. This article explains how CDO enables you to access Exchange services, then walks you through a sample application that reads calendar events from an Exchange server and sends pager reminders to your users.
Web Q&A: Switch Focus Between Frames, Connect a Web Page to a Database
Robert Hess - June 2000
Visual Programmer: Add Scripting to Your Apps with Microsoft ScriptControl
George Shepherd - June 2000
Scripting Windows: Windows Management Instrumentation Provides a Powerful Tool for Managing Windows with Script
Alan Boshier - April 2000
The new Windows Management Instrumentation (WMI) technology for Windows 2000, Windows NT 4.0, and Windows 98 provides powerful scripting technology that can be used to administrate Windows-based systems. With WMI, you can create scripts to simplify management of devices, user accounts, services, networking, and other aspects of your system. This piece will introduce you to WMI and the WMI Scripting Object Model, taking a look at the available objects, methods, and properties. Along the way, you'll see how these elements can be used to create system management scripts.
Web Q&A: Windows Script Host, Dropdown Menus, ASP-to-HTML, and More
Robert Hess - April 2000