Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, May 18, 2008

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

Microsoft Web Browser Automation using C#        
Total Hits: 101  |  Today: 0 Author: Alexander Kent       Rating:  
Read Reviews | Write Review |              Your Rating: 

The Microsoft Web Browser COM control adds browsing, document, viewing, and downloading capabilities to your applications. Parsing and rendering of HTML documents in the WebBrowser control is handled by the MSHTML component which is an Active Document Dynamic HTML (DHTML) Object Model hosting ActiveX Controls and script languages. The WebBrowser control merely acts as a container for the MSHTML component and implements navigations and related functions. MSHTML can be automated using IDispatch an...

HOWTO: Use Automation to Create Office Command Bars and Controls with Visual C# .NET        
Total Hits: 617  |  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....

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

Visual Source Safe 6.0 Recursive Rollback        
Total Hits: 32  |  Today: 0 Author: Susan Hernandez       Rating:  
Read Reviews | Write Review |              Your Rating: 

Covering the basics of VSS automation using the SourceSafe API (SourceSafeTypeLib) and the SS.exe command line utility. The sample shows rolling back an entire project hierarchy....

Automating web browsing        
Total Hits: 50  |  Today: 0 Author: mitja g       Rating:  
Read Reviews | Write Review |              Your Rating: 

In this article I want to present a possibility to automate tasks we are executing with the mouse and keyboard in a web browser. This can mean: to open a page, enter data in a text box, press a button etc. These basics can then be extended into more complex operations such as search, analysis of web data, automatic crawling inside a domain, or all this can be used if you would like to build your own test tool for testing web applications....

Automation of variable replacement using snippets or copy & paste.        
Total Hits: 178  |  Today: 0 Author: 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...

Build a class to generate random passwords        
Total Hits: 279  |  Today: 0 Author: codeproject       Rating:  
Read Reviews | Write Review |              Your Rating: 

You’ll have come across many situations in which you will need to generate a random password comprised of random alphanumeric and punctuation characters. While there are many tools out there that will do this for you, why not write a class in C# that will do it for you, especially when C# makes it so simple and easy....

HOW TO: Use Visual C# .NET to Automate a Running Instance of an Office Program        
Total Hits: 1635  |  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: 863  |  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: 1590  |  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: 598  |  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: 936  |  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: 1610  |  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...

HOW TO: Programmatically Start the Default Internet Browser by Using Visual C# .NET        
Total Hits: 692  |  Today: 0       Rating:  
Read Reviews | Write Review |              Your Rating: 

This step-by-step article shows you how to start the default Internet browser....

Automating Undo/Redo with .NET Generics        
Total Hits: 17  |  Today: 0 Author: Sergei Arhipenko       Rating:  
Read Reviews | Write Review |              Your Rating: 

This article introduces a reusable library that can equip any action in your application with the undo/redo feature. You may use complex data structures and complex algorithms with no care about how they will be rolled back on user demand or after an error....

Simple Ms Word Automation using C#        
Total Hits: 33  |  Today: 0 Author: 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....

Automating the code writing process using macros        
Total Hits: 16  |  Today: 0 Author: Dan Handevik       Rating:  
Read Reviews | Write Review |              Your Rating: 

See history for a full changelog. The documentation found in the zip contains an updated documentation in addition to the changelog of the macros....

UI Automation with Windows PowerShell        
Total Hits: 59  |  Today: 0 Author: Dr. James McCaffrey       Rating:  
Read Reviews | Write Review |              Your Rating: 

Though it has only been around for a relatively short amount of time, Windows PowerShellTM is already one of my favorite tools. I recently discovered that Windows PowerShell has all the features you need for creating a tiny library that will enable you to write ultralightweight UI automation.

In this month's column, I will show you how to create a small collection of custom Windows PowerShell cmdlets that perform Windows® UI automation tasks. These include obtaining handles to application...

Simple Excel Automation using C#        
Total Hits: 25  |  Today: 0 Author: 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. In the code I have used PIA....

Wireless Home Automation Using .NET        
Total Hits: 225  |  Today: 0 Author: 15seconds       Rating:  
Read Reviews | Write Review |              Your Rating: 

Essentially, home automation is the ability to control devices around your house from your PC. For example, if you go away on holidays, you could schedule your PC to rotate your lights on a normal schedule. Turn them all off during the day, then back on in the evening and finally all off again at night. This of course would give the impression that you are at home and potentially thwart robbery attempts. Other examples would be having the coffee pot and toaster automatically begin at 7:00 am and...



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net