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
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

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: 5  |  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....

Automatic Command Line Parsing in C#  Version: 0.00     Price: $0.00  
Total Hits: 6  |  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....

Extending Outlook with new features  Version: 0.00     Price: $0.00  
Total Hits: 9  |  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....

Automation of variable replacement using snippets or copy & paste.     
Total Hits: 288  |  Today: 0Author: Grant Simms.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes how to add variable replacements into your snippet generated code, or even a simple copy and paste function. The first thing we need to do is trap the code changed event from the IDE, we need to have a mechanism that allows us to look up a value to replace. Now we need to replace the inserted code. This will also allow us to use the functionality as an inline variable replacement, like word uses auto-correct. Secondly, we need this mechanism to work in conjunction with the...

HOWTO: Automate Excel With Visual C# .NET To Fill or Obtain Data In a Range Using Arrays     
Total Hits: 2591  |  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: 6  |  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....

The Application Automation Layer - Using XML To Dynamically Generate GUI Elements--Forms And Controls  Version: 0.00     Price: $0.00  
Total Hits: 7  |  Today: 0Author: Marc Clifton      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates, within the growing AAL framework, the use of XML to control the visual layout of forms, controls within forms, and the management of events. As in the previous article, which discussed XML driven menus generated at runtime, this article focuses on XML driven GUI elements. Within the context of the .NET environment, this includes forms (MDI, SDI, dialog), controls contained within forms, form/control event specification, and data container association....

Creating Javascript Arrays and other objects from C++  Version: 0.00     Price: $0.00  
Total Hits: 3  |  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:...

Demonstration of OLE Automation of MS Word  Version: 0.00     Price: $0.00  
Total Hits: 45  |  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....

Standard of Excellence  Version: 0.00     Price: $0.00  
Total Hits: 13  |  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....

Simple Ms Word Automation using C#  Version: 0.00     Price: $0.00  
Total Hits: 51  |  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....

CMultiDispatch - Multiple IDispatch Interfaces for Automation Clients  Version: 0.00     Price: $0.00  
Total Hits: 47  |  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...

Find and Highlight Text Using UI Automation     
Total Hits: 225  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

The following example obtains a TextPattern object from a text control. A TextPatternRange object, representing the textual content of the entire document, is then created using the DocumentRange property of this TextPattern. Two additional TextPatternRange objects are then created for the sequential search and highlight functionality....

HOW TO: Use Visual C# .NET to Automate a Running Instance of an Office Program     
Total Hits: 1840  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article shows you how to create a Visual C# .NET client that gets an Automation Reference to a running instance of an Office program....

HOW TO: Use a File Name to Start an Application by Using Visual C# .NET     
Total Hits: 1010  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article shows you how to start the application that is associated with a given document extension or file type without needing to know the name or location of the associated application. For example, you can start Arcade.bmp with the application that is associated with the .bmp file extension, which is MSPaint.exe in most cases....

HOWTO: Use Automation to Create and Show a PowerPoint Presentation by Using Visual C# .NET     
Total Hits: 2170  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to automate PowerPoint with Visual C# .NET to create and then show a PowerPoint presentation....

HOW TO: Wait for a Shelled Application to Finish by Using C#     
Total Hits: 740  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article shows you how to use the .NET Framework Process class to start another application from your code and have the code wait for the other application to close before it continues. When the code waits for the application to finish, there are two options: Wait indefinitely for the other application to either finish or be closed by the user. Specify a time-out period after which you can close the application from your code. This article presents two code samples that demonstr...

HOW TO: Handle Events for Excel by Using Visual C# .NET     
Total Hits: 1091  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This step-by-step article describes how to handle Excel events from an Automation client that is developed with Visual C# .NET. Visual C# .NET uses delegates to handle Component Object Model (COM) events. Delegates are a new concept in Visual Studio .NET. In the case of COM events, a delegate listens for events from the COM server, and forwards them to a Visual C# function....

HOWTO: Use the WebBrowser Control to Open Office Documents with Visual C# .NET     
Total Hits: 1946  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

You may want to display, or embed, an Office document directly on a Visual C# .NET Form. Visual C# .NET does not provide an OLE control that allows you to embed an Office document on a form. If you want to embed an existing document and open it as an in-place ActiveX document object within a Visual C# .NET form, a potential solution for you is to use the Microsoft WebBrowser control. This article demonstrates how to browse to an existing Office document and display it inside a Visual C# .NET for...

HOWTO: Use Automation to Create Office Command Bars and Controls with Visual C# .NET     
Total Hits: 817  |  Today: 0      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article demonstrates how to automate Excel to create a command bar that contains buttons, drop-down list boxes, combo boxes, and pop-up menus....


1  2  3  4  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net