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, November 23, 2008

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 > Visual C++ .NET > Component
Search:
What's New - What's Hot


ProSysLib: Dissecting The Process        
Total Hits: 3  |  Today: 0 Author: Vitaly Tomilov       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article continues the series about the Professional System Library project as it develops further on. This time we go over the features of the library that allow us to access various information about the current process in an easy way via namespace System-Process of the ProSysLib component. For those of you who read about ProSysLib project for the first time it is much recommended to get familiar with the project and its objectives from the ProSysLib Introduction Article. The present artic...

How to Validate COM Interface        
Total Hits: 28  |  Today: 0 Author: Kwon Yong Hwi       Rating:  
Read Reviews | Write Review |   Your Rating: 

There is an IsValidInterface function in ole32.dll, but it is not being used now. A shape of a function is alive and may be used internally. In Windows, many programmers are using IsBadReadPtr to validate a pointer and it's useful. Just like this, if you are programming with COM, there is a need for a validation method like COM's version of IsBadReadPtr. However, MSDN says "This function (IsValidInterface) is obsolete." I really want to use this function, though, so I try to explore and ask the ...

HOW TO: Create a Serviced .NET Component in Visual C++ .NET        
Total Hits: 29  |  Today: 0 Author: microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

This step-by-step article demonstrates how to create a serviced .NET component that uses transactions. This article also demonstrates how to create a client that tests your serviced component. Microsoft Enterprise Services provides Microsoft COM+ services to .NET components....

Exposing tabular data from your COM object - Part 1        
Total Hits: 34  |  Today: 0 Author: Len Holgate       Rating:  
Read Reviews | Write Review |   Your Rating: 

If you already have a COM object that manages data that is naturally tabular, or, if you have a COM object that has data which is often displayed in a tabular form then it would seem sensible to leverage the work being put into ADO by third party data control manufacturers. Why craft a custom control to display your data when you could use any number of ADO aware controls, if only your COM object could provide an ADO view of itself. Also, by presenting a standard interface to your data object it...

A simple software key useful to protect software components        
Total Hits: 13  |  Today: 1 Author: Manuele Sicuteri       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this article, we’ll show a way to implement a simple software key that could be useful for protecting software components (e.g., EXE, DLL, COM, etc.) against misuse and for keeping track of installations.

We want to highlight that this is just an example. We are aware that it is quite simple by-passing the protection offered by the software key presented in this article....

CXml - a wrapping class for MSXML3.0/4.0/5.0/6.0, and it is very easy for use        
Total Hits: 27  |  Today: 0 Author: Jerry.Wang       Rating:  
Read Reviews | Write Review |   Your Rating: 

The wrapping class lib for MSXML3.0/4.0/5.0/6.0 is a easy for use classes, which are made up by CXml / CXmlNode / CXmlNodes / CXsl...

A command line tool to deploy COM components in COM+        
Total Hits: 48  |  Today: 0 Author: Tomer Doron       Rating:  
Read Reviews | Write Review |   Your Rating: 

In a mixed .NET/COM COM+ based environment, one may find a need for a command line tool to deploy COM components in COM+. Such tool simplifies the deployment of such mixed technologies by allowing a full command line based deployment....

How to Find a COM Object Connected to Internet Explorer        
Total Hits: 20  |  Today: 0 Author: Kwon Yong Hwi       Rating:  
Read Reviews | Write Review |   Your Rating: 

A programmer who works with Internet Explorer must pay attention to where the other extension DLLs are. This is because these other extension DLLs interact with Internet Explorer and generate new problems and features. The programmer has to deal with this situation. However, there are no documents about this. In this document, I will explain the detailed solution....

Sharp New Language: C# Offers the Power of C++ and Simplicity of Visual Basic        
Total Hits: 14  |  Today: 1 Author: Joshua Trupin       Rating:  
Read Reviews | Write Review |   Your Rating: 

Many developers wish there was a language that was easy to write, read, and maintain like Visual Basic, but that still provided the power and flexibility of C++. For those developers, the new C# language is here. Microsoft has built C# with type-safety, garbage collection, simplified type declarations, versioning and scalability support, and lots of other features that make developing solutions faster and easier, especially for COM+ and Web Services. This article gives you a first look at C#, a ...

Exposing tabular data from your COM object - Part 2        
Total Hits: 33  |  Today: 0 Author: Len Holgate       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article continues from where we left off in the previous article. We have all of the framework in place to provide ADO recordset interfaces on our simple data object. All we need to do now is replace the wizard-generated OLE DB rowset object with one that allows us to access our object's data....

Introduction to CodeCharge Studio        
Total Hits: 61  |  Today: 0 Author: Saurabh Nandu       Rating:  
Read Reviews | Write Review |   Your Rating: 

CodeCharge Studio is a new product from YesSoftware Inc, that helps generate database driven Web Applications in a RAD manner. CodeCharge Studio delivers the speed of code generation integrated with a full featured, powerful IDE. You can quickly generate dynamic, bug-free web sites in ASP, JSP, PHP, Perl, ColdFusion, ASP.NET. And then edit and customize your applications using the Studio's powerful code editors.
What really makes Code Charge Studio a useful product is the fact that it cut's d...

Discover Powerful Low-Level Programming in Windows XP with New COM+ APIs        
Total Hits: 92  |  Today: 0 Author: Craig Andera and Tim Ewald       Rating:  
Read Reviews | Write Review |   Your Rating: 

The new version of COM+ that ships as part of Windows XP includes APIs for low-level context programming. These functions allow you to create contexts that use COM+ runtime services, independent of objects and without registering anything in the COM+ Catalog. Designed for advanced COM+ developers who understand the COM+ context model, these APIs make it easy to integrate runtime services with code in nonstandard ways. This article explains how these low-level context APIs work, discusses when yo...

Invoking web methods from a C++ console application        
Total Hits: 215  |  Today: 0 Author: Xiangyang Liu       Rating:  
Read Reviews | Write Review |   Your Rating: 

It seems that we programmers will never catch up with all the new technologies out there, no matter how hard we try. At first we simply ignore them. .NET? No thank you, my C++ programs or COM components can do everything I need. Gradually, some new technologies will disappear, while others will become even more popular despite the fact that we still don't like them. Now it's time for us to find out what's so great about this new technology and what it can do for us. The scary thing is, we may ha...

Part 2: Microsoft .NET Framework Delivers the Platform for an Integrated, Service-Oriented Web        
Total Hits: 22  |  Today: 0 Author: Jeffrey Richter       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article completes the .NET Framework overview begun in the September issue. The common language specification and ILDasm, the MSIL disassembler, are discussed—as well as how metadata, manifests, and assemblies simplify deployment and versioning.
Security, which is integral to the design of .NET, is examined extensively, followed by a walk through the development of a single assembly containing multiple files. Finally, the way managed and unmanaged code work together, and the benefits of ...

A SOAP based COM+ component Stress Tool        
Total Hits: 22  |  Today: 0 Author: davyuan.       Rating:  
Read Reviews | Write Review |   Your Rating: 

COM+ is there for developing scalable applications. You have finished your component, and you have put it into COM+. Now you want to know how scalable is your component? The question arises, how to measure the scalability of your COM+ application? Basically there two major metrics to measure a COM+ application’s scalability: The latency and the throughput under different user load....

Building a Simple COM Component with Visual C++        
Total Hits: 51  |  Today: 0 Author: 4guysfromrolla       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article makes no attempt to explain the benefit of COM objects or how to build COM objects in other high-level languages such as VisualBasic and Java. There are a plethora of articles on 4Guys that describe where and why to use COM objects and how to create COM objects using VisualBasic and Java....

Writing ActiveX Controls in Visual Basic versus Visual C++        
Total Hits: 103  |  Today: 0 Author: George Shepherd       Rating:  
Read Reviews | Write Review |   Your Rating: 

A couple of months ago I read an article that compared writing ActiveX® controls in MFC to writing them in ATL. I know you can also write ActiveX controls in Visual Basic®. Can you tell me how writing ActiveX controls in Visual Basic is different from writing them in C++?
That's a great question. I've never seen any information comparing one approach to the other. Of course, in the end the client doesn't care, right? This is COM and as long as the client and the object agree on the interfaces...

A Simple class for using serial COM ports        
Total Hits: 7  |  Today: 0 Author: Jason Hamilton       Rating:  
Read Reviews | Write Review |   Your Rating: 

The above download, serial_interface.zip, contains a header and a source file (.hpp, and .cpp) that define the serial_interface class. This class was written to make using serial ports in Windows native C++ programs easier to use and implement. While the references in the MSDN library for Programming Serial Connections (http://msdn.microsoft.com/en-us/library/aa450602.aspx) are easy to follow, there may be times where the serial port should be configurable during run-time. This is a basic class ...

Migrating from MTS to COM+        
Total Hits: 2  |  Today: 0 Author: Ken Spencer       Rating:  
Read Reviews | Write Review |   Your Rating: 

In my column in the December 1999 issue of Microsoft Internet Developer I wrote about the Fitch & Mather (FMStocks) application that Microsoft demonstrated at TechEd in 1999. This application was designed to show how to create a scalable Web application using Visual Studio® and Microsoft® Internet Information Services (IIS). The demonstration illustrated a number of techniques that made the application work fast. Microsoft and Vertigo Software updated this application for Windows® 2000. The n...

Performance Trade-offs of the Windows 2000 Component Execution Environment        
Total Hits: 6  |  Today: 0 Author: Don Box       Rating:  
Read Reviews | Write Review |   Your Rating: 

Windows® 2000 offers component developers considerably more choices for controlling the execution environment that their code will run in. Between the addition of a new apartment type and the integration of the Microsoft® Transaction Services (MTS) context model into core COM, the number of possible configuration scenarios is mind-boggling. In this month's column I'll look at the performance trade-offs involved in many of these configuration scenarios. Let's start off with some good news. Desp...


1  2  3  Next >> 


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