Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > C-Sharp > Automation


Search:
What's New - What's Hot
Multiparadigmatic .NET, Part 5: Automatic Metaprogramming  Version: 0.00     Price: $0.00  
Total Hits: 17  |  Today: 0Author: Ted Neward      Rating:  
Read Reviews | Write Review |  Your Rating: 

In last month’s piece, objects came under the microscope, and in particular we looked at the “axis” of commonality/variability analysis that inheritance offers us. While inheritance isn’t the only form of commonality/variability available within a modern object-oriented (OO) language such as C# or Visual Basic, it certainly stands at the center of the OO paradigm. And, as also discussed, it doesn’t always provide the best solution to all problems....

Extending Outlook with new features  Version: 0.00     Price: $0.00  
Total Hits: 20  |  Today: 0Author: virtually_void      Rating:  
Read Reviews | Write Review |  Your Rating: 

First of all, if you are thinking Outlook Express, just forget it. The only three ways of integrating with Outlook Express are (and this is just my guessing) by paying Microsoft a lot of money and by giving them a really good reason to why you want to do that, or by hooking in through the encryption-entry, or by creating a proper hook and hacking your way in there. I've done the hacking (due to missing funds) and it's not a pretty sight, it works but it's everything from clean....

Creating Javascript Arrays and other objects from C++  Version: 0.00     Price: $0.00  
Total Hits: 12  |  Today: 0Author: imagiro      Rating:  
Read Reviews | Write Review |  Your Rating: 

Javascript has some built-in classes like Object, Array or Date. It is often asked how to create instances of these classes from C++. Here is the solution:...

Standard of Excellence  Version: 0.00     Price: $0.00  
Total Hits: 24  |  Today: 0Author: Dmitry Khudorozhkov      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article (complementary to my article on MS Word automation) covers the following topics:

* creating and populating an Excel document;
* navigating within a Workbook and working with Workbook elements;
* creating charts from existing Excel data (see also Keith Thoresz's article on inserting images);
* communicating with other Office applications via the clipboard....

CMultiDispatch - Multiple IDispatch Interfaces for Automation Clients  Version: 0.00     Price: $0.00  
Total Hits: 56  |  Today: 0Author: Frank Colbert      Rating:  
Read Reviews | Write Review |  Your Rating: 

One of the fundamental ideas behind COM is that of binary compatibility. According to Microsoft, a client written in any language can use a COM component. This is sort of true. What is left to discover is that some client environments require more "support" from the component. Clients fall into roughly 2 camps of unequal capability. The first camp is exemplified by languages like C++, and (later by) VB. These languages are perfectly aware of QueryInterface (QI) and can generally access any in...

HOWTO: Automate Excel With Visual C# .NET To Fill or Obtain Data In a Range Using Arrays     
Total Hits: 2620  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to automate Excel from Visual C# .NET to fill and retrieve values in a multi-cell range by using arrays....

Web UI Test Automation with the WebBrowser Control  Version: 0.00     Price: $0.00  
Total Hits: 15  |  Today: 0Author: James McCaffrey      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this month’s column I show you a new way to create UI test automation for Web applications. The technique I present provides one solution to a very common but tricky testing scenario: how to deal with modal message boxes generated by a Web application....

Automatic Command Line Parsing in C#  Version: 0.00     Price: $0.00  
Total Hits: 15  |  Today: 0Author: Ray Hayes      Rating:  
Read Reviews | Write Review |  Your Rating: 

One of the first things I tend to write whenever I try something new in a programming language, are console test applications. These test applications tend to start turning into complete test harnesses - quickly start outgrowing the original functionality. Typically they also start handling all of the special cases that I uncover as I develop....

Web UI Automation with Windows PowerShell  Version: 0.00     Price: $0.00  
Total Hits: 14  |  Today: 0Author: Dr. James McCaffrey      Rating:  
Read Reviews | Write Review |  Your Rating: 

Windows PowerShellTM, the new Microsoft command shell and scripting language, is a great platform for several kinds of lightweight test automation. In this month's Test Run column, I show you how to use Windows PowerShell to create quick and easy UI test automation for any kind of Web application by automating Internet Explorer®. This column is primarily intended for beginners, but experienced engineers will find some interesting information here, too....

UI Automation Interesting Challenge - Testing Automation Framework  Version: 0.00     Price: $0.00  
Total Hits: 30  |  Today: 0Author: Varun Jain 786      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article will help you understand some of the interesting challenges with MenuItem, and MenuStrip control in System.Windows.Forms of Microsoft .Net framework. Specifically if you are creating test automation framework, this will guide you to use the right control patterns....

How to: Count Characters in Documents  Version: 0.00     Price: $0.00  
Total Hits: 44  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The first character in a document is at character position 0, which represents the insertion point. The last character position is equal to the total number of characters in the document. You can determine the number of characters in a document by using the Count property of the Characters collection....

Demonstration of OLE Automation of MS Word  Version: 0.00     Price: $0.00  
Total Hits: 54  |  Today: 0Author: Anishcv      Rating:  
Read Reviews | Write Review |  Your Rating: 

Here is a code sample of OLE Automation of Microsoft Word. The project accepts two folders as a Source path and Destination path. It opens each Document file in the Source Path and Checks for bookmarks which start with 'P', if it finds one, it will create a new file using the bookmarked contents....

Placing images in Excel using automation  Version: 0.00     Price: $0.00  
Total Hits: 79  |  Today: 0Author: Keith Thoresz      Rating:  
Read Reviews | Write Review |  Your Rating: 

Examples of inserting text and formulas into an Excel spreadsheet are in abundant supply (see References.) So when I was faced with the task of inserting images into a spreadsheet, I figured an appropriate example wouldn't be hard to find. Boy, Was I Wrong. Now, it could just be that I'm a real lightweight when it comes to search engines. Or, perhaps it's obvious to everyone else how this is done. But one comment posted last year by a fellow CPian gave me some confidence that this article might ...

A Simple XML Validator, using VOLE  Version: 0.00     Price: $0.00  
Total Hits: 23  |  Today: 0Author: Matt (D) Wilson      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes xmlValidator, a simple command-line utility that validates XML files, using MSXML. It is written using the VOLE C++/COM Automation driver library, allowing the application to be extremely succinct without binding it to a particular compiler (vendor)....

Driving Microsoft Word, using VOLE  Version: 0.00     Price: $0.00  
Total Hits: 29  |  Today: 0Author: Matt (D) Wilson      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is the second in a series describing the VOLE C++/COM Automation driver library. (The first one is here.) It illustrates the use of VOLE to rewrite (and dramatically simplify) Microsoft's own code example for how to drive Word's automation object model from C++....

Simple Ms Word Automation using C#  Version: 0.00     Price: $0.00  
Total Hits: 64  |  Today: 0Author: Gigy      Rating:  
Read Reviews | Write Review |  Your Rating: 

Create a new project, for simplicity, create a Windows application, go ahead and right click on References in the Solution Explorer, and select Add Reference? When the Add Reference window comes up, select the COM tab. This will list all Component names which are available on your machine. Since we are going to use MS Excel, you will scroll down until you find: Microsoft Excel 11.0 Object Library. You can even do the same thing PIAs....

Find a UI Automation Element for a List Item     
Total Hits: 87  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following example shows two ways of retrieving a specified item from a list, one using TreeWalker and the other using FindAll. The first technique tends to be faster for Win32 controls, but the second is faster for Windows Presentation Foundation (WPF) controls....

Use the AutomationID Property     
Total Hits: 71  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

This topic contains scenarios and sample code that show how and when the AutomationIdProperty can be used to locate an element within the UI Automation tree. AutomationIdProperty uniquely identifies a UI Automation element from its siblings. For more information on property identifiers related to control identification, see UI Automation Properties Overview....

Find a UI Automation Element Based on a Property Condition     
Total Hits: 113  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the following example, a set of property conditions are specified that identify a certain element (or elements) of interest in the AutomationElement tree. A search for all matching elements is then performed with the FindAll method that incorporates a series of AndCondition boolean operations to limit the number of matching elements....

UI Automation and Screen Scaling     
Total Hits: 46  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Windows Vista enables users to change the dots per inch (dpi) setting so that most user interface (UI) elements on the screen appear larger. Although this feature has long been available in Microsoft Windows, in previous versions the scaling had to be implemented by applications. In Windows Vista, the Desktop Window Manager performs default scaling for all applications that do not handle their own scaling. UI Automation client applications must take this feature into account....


1  2  3  4  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net