Welcome to weblogs.com.pk Sign in | Join | Help

Browse by Tags

All Tags » COM   (RSS)

{BA126AD1-2166-11D1-B1D0-00805FC1270E}

I have a Windows 2003 Sp1 box running SQL Server 2005; the box also has Windows Firewall turned on. I was going through Windows Event Logs; and found out that NETMAN service has some issues. NETMAN (Network Connections Manager) service is used by Windows

MSDTC :: WIN2k3SP1/WINXPSP2 :: Windows Firewall

When you need to work with distributed resources (two databases for instances); you need distributed transactions. Generally; two phase commit technique is used in distributed transactions. Microsoft Distributed Transaction Coordinator (MSDTC) is one
Posted by khurram | 0 Comments

ADSI :: Permission Errors in Web Application

If you are trying to access Active Directory services using ADSI in a web application, and your web server is not an Active Directory controller; you might get Permission Errors, (especially if you are trying to change user passwords etc). If you are
Posted by khurram | 0 Comments

Converting Dataset into Recordset

Here's an interesting scenario, that my colleague was trying to sort-out today I have couple of web services built using Microsoft.NET which returns DataSet. The .NET clients are working fine, now I want two other applications to use these web services.
Posted by khurram | 3 Comments
Filed under: ,

XPCOM

As; internet is slow here in Pakistan; and the direct browsing (no transparent proxying) is too slow at my desktop. I didn’t felt comfortable switching proxy settings; and I was lazy to add sites that I want to browse without proxy in Internet Explorer’s
Posted by khurram | 1 Comments
Filed under: ,

ASP :: Reading Binary File

On one mailing-list someone was asking how to read/write binary data in ASP. Last few weeks, I had been busy in some work, and couldn’t remained in touch; and now I am forgetting where that person asked that question, I am posting it here thinking someone
Posted by khurram | 0 Comments
Filed under:

Disconnected (ADODB) Recordset

The good thing about .NET is its inter-operateability with older technologies; like COM. If you are stuck with old platforms (like me J ) you may find this post useful. Here you will find how to use ADODB (The classic ADO ) with .NET ADODB expects integer
Posted by khurram | (Comments Off)
Filed under: , ,

Creating COM-Aware Component in C#

If you want to create a COM in C# (.NET) you might have to follow these steps. Create a class project. Create couple of GUIDs, you will be needing atleast two, 1 for interface and other for implementation. Create an Interface class. Decorate it using
Posted by khurram | (Comments Off)
Filed under: ,

Introduction to Components: Theory behind Vendor Independent Component

C/C++ Compiler Ambiguities C/C++ was extensively used in last decade for software engineering; it impacted the component based software architecture. As discussed earlier , there was a need that C/C++ compiler use the standardize approach, so that the
Posted by khurram | (Comments Off)
Filed under:

Introduction to Components: What is Component? Impact of C++

Dynamic Link Library (DLL) in simple is the definition of the exposed operations. The definitions include pointers/links to the actual code. The calling code (client code) is bound/linked to this definition and the DLL’s actual code is called in
Posted by khurram | 2 Comments
Filed under:

Introduction to Components: Background

Number of paradigms and methodologies has been offered to help developers and software vendors in their software engineering activities. The main theme and centre point of these methodologies have been code re-usability. The same idea is even present
Posted by khurram | 1 Comments
Filed under: