DispHelper aims to allow Windows C/C++ programmers to use COM objects in a simple, script like manner.
If anyone wants to try it out or give feedback feel free. Suggestions, criticisms, bugs, crushing silence, you know the sort of thing.
Download DispHelper Version 0.75(BETA) - 90KB
The following samples are provided. All samples can be compiled as C or C++.
Demonstrates outputting formatted text to a Word document and getting user feed back with the help of the office assistant. Demonstrates using Word as a spell checker.
Demonstrates outputting formatted data to Excel and using it to create a chart. Demonstrates using a safe array to efficiently insert data into Excel.
Demonstrates sending an email with CDO, Outlook and Eudora.
Demonstrates reading and manipulating data from a data source using ActiveX Data Objects.
Demonstrates outputting formatted text to a WordPerfect document.
Demonstrates using Microsoft Agent and SAPI to provide text-to-speech.
Demonstrates ui-less html parsing and manipulation of the html document object model(DOM) using MSHTML. Provides functions to parse html from a string, a website or a file.
Demonstrates using the VBScript.RegExp object to provide support for regular expressions. Provides a function to extract hrefs from a web page using a regular expression.
Demonstrates using MSMXL to download a web page, read an RSS feed and read and manipulate XML with the XML document object model(DOM).
Demonstrates using Windows Management Instrumentation(WMI). Samples include enumerating installed hot fixes, purging print queues, starting a program, monitoring starting and terminating processes, and monitoring file creation. All of these samples can target the local or a remote computer.
Demonstrates using the PocketSoap toolkit to utilise several web services. Play the 'Who wants to be a millionaire' quiz with the help of a web service.
Demonstrates using the MSSoap toolkit to utilise several web services. Web services demonstrated include Google search, spell checker and cache viewer.
Demonstrates controlling Internet Explorer via COM. Demonstrates using an Internet Explorer window to display or retrieve information from the user.
Demonstrates using the MSScriptControl to run a VBScript or JScript.
Demonstrates controlling Microsoft's new help system for developers, dexplore.
Demonstrates one way of accessing a remote COM object using alternate credentials.
Demonstrates using Windows Image Acquisition(WIA) to manipulate images. Demonstrates taking a snapshot from a video device.