.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Windows XP: Make Your Components More Robust with COM+ 1.5 Innovations

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

The next version of COM+, COM+ 1.5, offers many improvements over COM+ 1.0. A comprehensive user interface that displays more data for each application as well as complete support for legacy components make the management of existing applications easier and more efficient. Enhanced queueing support provides more flexibility for managing queued calls, and pooling and recycling means better application lifetime management. Application partitioning in COM+ 1.5 surpasses that offered in COM+ 1.0, and transaction isolation can be configured for safer transactions. COM+ 1.5 also allows you to expose any COM+ component as a Web service, as long as it meets certain criteria. This article discusses these and other new features in COM+ 1.5 that take care of much of the plumbing code, allowing developers to concentrate on business components.

Juval Lowy

MSDN Magazine August 2001

View Complete Post

More Related Resource Links

Visual Studio .NET: Building Windows Forms Controls and Components with Rich Design-Time Features, P


This is the second of two articles discussing the extremely rich design-time features of the .NET Framework. Part 1 discussed the basics, showing you where to start and how to extend your control implementation through attributes and interfaces, as well as their effects on the property browser, code serialization, and other controls. Part 2 continues the journey by concentrating on design-time functionality that you can implement beyond your components and controls, including TypeConverters, UITypeEditors, and Designers. It would be impossible to cover everything you can do in two short articles, which is a testament to just how all-encompassing and flexible the design-time capability of the .NET Framework is.

Michael Weinhardt and Chris Sells

MSDN Magazine May 2003

Visual Studio .NET: Building Windows Forms Controls and Components with Rich Design-Time Features


Visual Studio .NET provides support for designing rich features into your controls and components, allowing you to set properties, set form placement, inherit from base classes, and much more. So how does Visual Studio .NET do all this? What does the Windows Forms designer do? What's the difference between a control and a component? How does Visual Studio integrate your controls so that they can access features of the .NET Framework?In this article, the authors answer these common questions by building a clock control and taking the reader along for the ride. In building the control, hosts and containers are illustrated, the property browser is explained, debugging is discussed, and a general overview of the design-time infrastructure is presented.

Michael Weinhardt and Chris Sells

MSDN Magazine April 2003

Smartphones: Design Robust Apps that Take Advantage of Windows CE-powered Smartphone Devices


Smartphone applications promise to be at the crest of a new wave of cell phone advances as the familiar process of using Microsoft dev tools can produce cutting-edge mobile phone applications. Because Smartphones are Windows-powered devices, developers can easily and inexpensively extend both new and time-tested business applications to mobile users. These applications will possess the necessary levels of enterprise functionality while integrating mobile phone features through the use of several easy to use APIs. This article looks at the basics of building a real-world business application for the Smartphone.

Chris Dellinger

MSDN Magazine March 2003

Windows XP: Kernel Improvements Create a More Robust, Powerful, and Scalable OS


The Windows XP kernel includes a number of improvements over Windows 2000 that promote better scalability and overall performance. This article covers these changes and explains how they improve startup time, increase registry size limits, and promote more efficient disk partitioning. Windows XP provides support for 64-bit processors, which is covered here along with a discussion of how side-by-side assemblies end DLL Hell. Also new in the Windows XP kernel is a facility that will roll back driver installations to the Last Known Good state of the registry, making driver installation safer. Other topics include the new volume shadow copy facility, which provides for more accurate backups and improvements in remote debugging.

Mark Russinovich and David Solomon

MSDN Magazine December 2001

Windows Services: New Base Classes in .NET Make Writing a Windows Service Easy


Windows services are applications that run outside of any particular user context in Windows NT, Windows 2000, or Windows XP. The creation of services used to require expert coding skills and generally required C or C++. Visual Studio .NET now makes it easy for you to create a Windows service, whether you're writing code in C++, C#, or Visual Basic. You can also write a Windows service in any other language that targets the common language runtime. This article walks you through the creation of a useful Windows service, then demonstrates how to install, test, and debug the service.

Ken Getz

MSDN Magazine December 2001

Windows CE: eMbedded Visual Tools 3.0 Provide a Flexible and Robust Development Environment


This article provides an overview of writing applications for Windows CE 3.0. Unicode support in Windows CE, the kernel, memory management, the object store, and COM and DCOM are discussed. The article also covers the user interface, graphics, the Internet, and how Windows CE compares to the desktop in each of these areas. eMbedded Visual Tools 3.0 is discussed in depth. To help the reader decide which tools to use, development with Visual Basic, Win32, MFC, and ATL are explained. Text editor samples with this article have been developed with Visual Basic and Win32 so their implementations can be compared.

Paul Yao

MSDN Magazine January 2001

Windows 2000 UI Innovations: Enhance Your User's Experience with New Infotip and Icon Overlay Shell


Windows 2000 includes some helpful new UI features you can customize and implement in your own applications. In this article you'll see how to provide infotips for files, after making the appropriate registry entries. Then create a custom column handler extension, resulting in a new column for the Explorer's Details view. In order to further extend the shell, additional UI goodies will also be examined and implemented including: search handlers, cleanup handlers, folder customizations using property sheet handlers and icon overlays, and context menu shell extensions. All the code samples are rolled up into a handy package which we've named, by tradition, ShellToys.

Dino Esposito

MSDN Magazine March 2000

WCF hosted in a Windows Service, how to make calls to the WCF service from within the service host


I have a Windows service that I converted to a WCF service that I want to host in a Windows Service.  I need to do some specific tasks in the OnStart() and OnStop() just like I did when it was just a Windows service.  My original Windows service OnStart() is where I create the main worker thread.  So how do I make a call into my WCF service from within the hosting service? For example in the hosting service's OnStart() I do a host.Open() then I need to call a method in my WCF service but how?



ServiceHost host =

Make WPF application look the same on all supported Windows versions

Hi Folks,

I've been developing a WPF application for the past two years on an XP machine. It's mostly been used within my company where everyone else has been using XP, and I have gone to great lengths to make it look good. Now everyone is in the process of upgrading to Windows 7, and the application doesn't look so hot on Windows 7. A few subtle changes in the Windows 7 theme make custom visual changes I introduced on XP look like an eye sore. We are letting some beta customers use this software now, and we plan to distribute more broadly in the future, so I need to make sure the application looks good on any OS that WPF supports. I would be perfectly happy with having the application looking identical on XP, Vista, and W7. I thought I could achieve this by adding the following to my App.xaml file:

  <ResourceDictionary Source="/PresentationFramework.Luna;component/themes/Luna.NormalColor.xaml" />
I tried this, and nothing changed when running the application in Windows 7. Does anyone know how to solve this? I would be most interested in a solution that does not involve any per-OS customization (a per-OS switch statement in one place in my App file might be acceptable). I simply don't have

How to make the windows forms application install only 1 time and be used only 1 time only



I have a need to create an applicaiton that can be installed 1 time only be a user. The application can also be used only 1 time. (on a given PC)

The user may or may not be and administrator.

How can I do this (without registry alteration if possible)?

Thanks much.


How to make GIF image transparent on windows form app


I got transparent image saved in GIF format, and I want to put this image on other image. The problem is that this gif image is not transparet anymore when I use picturebox or pannel. I also set BackColor to transparent, but it not works :S ... here example:


That white background needs to be transparent .. how can I do that?

I'm using Microsoft Visual C# 2010 Express

How to make a windows form not resizable?



I  have a form in windows application c#.net2005.

when a user scrolls on the border(both horizontal and vertical scrolling ) and the corner of the form, he should not be able to able to resize the form.What property of the form should I set to achieve this functionality?

Please help me with the code snippet , if there is any code.



How to make Windows SharePoint Services use a preexisting database as the content database

From the link below. I am trying to find in Central Administration the following:

  • Replace each instance of AdminVsAppPoolIdentity in the query with the account that is the SharePoint Central Administration virtual server application pool identity. This account is also the database owner (dbo) of the database.
  • Replace each instance of ContentVsAppPoolIdentity in the query with the account that is the content virtual server application pool identity.

  • http://support.microsoft.com/default.aspx/kb/888041

    Where do I find the AdminVsAppPoolIdentity and ContentVsAppPoolIdentity ??

    SQL2005 x64 on Windows Server 2008 x64 - One or more of the components being installed are already r


    Failed to install and configure assemblies E:\Program Files_64bit\Microsoft SQL Server\90\DTS\Tasks\Microsoft.sqlServer.MSMSTask.dll in the COM+ catalog.
    Error -2146233087. Error message: Unknown error 0x80131501
    Error Description: One or more of the components being installed are already registered as 32 bit components in the target application.
    (a) You must install the 64 bit versions of the components being installed in a different COM+ application,
    (b) delete the existing 32 bit versions of the components being installed from the target COM+ application prior to attemping install of the 64 bit versions.
    COM+ applications cannot contain bit neutral components.
    Copied From installation Summary
    <Func Name='LaunchFunction'>
    <Func Name='GetCAContext'>
    <EndFunc Name='GetCAContext' Return='T' GetLastError='0'>
    Doing Action: Do_sqlAssemblyRegSvcs
    PerfTime Start: Do_sqlAssemblyRegSvcs : Mon Sep 14 14:35:26 2009
    <Func Name='Do_sqlAssemblyRegSvcs'>
    Failed to install and configure assemblies E:\Program Files_64bit\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog.
    Error: 2148734209
    Error message: Unknown error 0x80131501
    Error descrition: One or more of the components being installed are already registe

    How to make my vs.net 2005 built application run on 64bit windows server?

    I have a problem with my application, i can't make it run in a 64 bit windows server 2003. My App use to communicate to a finger print scanner device which listens to device events and automatically transfers device logs to a database.

    This app use to run smoothly in a 32bit windows (my development env is xp sp2 using vs.net 2005 and .net 2.0 framework). But when i tried to install it on a 64 environment everything went wrong. The app returns a CLSID exception in which it can't find the specified reference.

    I have already encountered and fixed this exception in a 32bit windows environment but it really freaks me out seeing my app stucked in a 64bit environment.

    Any ideas on how I can fix my problem is greatly appreciated!
    Thank you in advance..

    How to make sure new IE windows contains no address bar on click ?


    The following is my code of hyperlinkfield in a gridview.
    How to make the new IE onclick to contain no address bar ? Thanks

    <asp:HyperlinkField DataNavigateUrlFields="ID"
    ID={0}" HeaderText="Attach"

    ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
    Sql Server  SharePoint  Silverlight  Others  All   

    Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend