|
|
|
|
|
| | Total Hits: 5 | Today: 0 | Author: Ted Neward | 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.... |
| | Total Hits: 6 | Today: 0 | Author: Ray Hayes | 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.... |
| | Total Hits: 9 | Today: 0 | Author: virtually_void | 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.... |
| | Total Hits: 288 | 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: 2591 | 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: 6 | Today: 0 | Author: James McCaffrey | 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.... |
| | Total Hits: 7 | Today: 0 | Author: Marc Clifton | 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.... |
| | Total Hits: 3 | Today: 0 | Author: imagiro | 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:... |
| | Total Hits: 45 | Today: 0 | Author: Anishcv | 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.... |
| | Total Hits: 13 | Today: 0 | Author: Dmitry Khudorozhkov | 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.... |
| | Total Hits: 51 | 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: 47 | Today: 0 | Author: Frank Colbert | 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... |
| | Total Hits: 225 | Today: 0 | Author: Microsoft Corporation | 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.... |
| | Total Hits: 1840 | 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: 1010 | 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: 2170 | 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: 740 | 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: 1091 | 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: 1946 | 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: 817 | 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.... |
|
|
|
|
|
|
|
|
|
|
|
|
|