|
|
|
|
|
Total Hits: 101 | Today: 0
|
Author: Alexander Kent
|
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...
|
|
|
|
Total Hits: 617 | Today: 0
|
|
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....
|
|
|
|
Total Hits: 2334 | Today: 0
|
|
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....
|
|
|
|
Total Hits: 32 | Today: 0
|
Author: Susan Hernandez
|
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....
|
|
|
|
Total Hits: 50 | Today: 0
|
Author: mitja g
|
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....
|
|
|
|
Total Hits: 178 | Today: 0
|
Author: Grant Simms.
|
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...
|
|
|
|
Total Hits: 279 | Today: 0
|
Author: codeproject
|
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....
|
|
|
|
Total Hits: 1635 | Today: 0
|
|
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....
|
|
|
|
Total Hits: 863 | Today: 0
|
|
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....
|
|
|
|
Total Hits: 1590 | Today: 0
|
|
Rating:
|
|

This step-by-step article describes how to automate PowerPoint with Visual C# .NET to create and then show a PowerPoint presentation....
|
|
|
|
Total Hits: 598 | Today: 0
|
|
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...
|
|
|
|
Total Hits: 936 | Today: 0
|
|
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....
|
|
|
|
Total Hits: 1610 | Today: 0
|
|
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...
|
|
|
|
Total Hits: 692 | Today: 0
|
|
Rating:
|
|

This step-by-step article shows you how to start the default Internet browser....
|
|
|
|
Total Hits: 17 | Today: 0
|
Author: Sergei Arhipenko
|
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....
|
|
|
|
Total Hits: 33 | Today: 0
|
Author: Gigy
|
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....
|
|
|
|
Total Hits: 16 | Today: 0
|
Author: Dan Handevik
|
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....
|
|
|
|
Total Hits: 59 | Today: 0
|
Author: Dr. James McCaffrey
|
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...
|
|
|
|
Total Hits: 25 | Today: 0
|
Author: Gigy
|
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....
|
|
|
|
Total Hits: 225 | Today: 0
|
Author: 15seconds
|
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...
|
|
|
|
|
|