How do you hide Public .NET Classes and other public members from COM?
Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other public members from COM? In some cases, you might want to hide selected .NET classes from COM but keep them public for use from other .NET assemblies. The ComVisible attribute allows you to select which p... 2009-04-09, 7305👍, 0💬
What are the limitations of using Unmanaged Code from within a .NET assembly?
Managed Code and Unmanaged Code related ASP.NET- What are the limitations of using Unmanaged Code from within a .NET assembly? Performance : Although native-code DLLs can perform some operations more quickly than equivalent code managed by the CLR, these benefits might be offset by the time it takes... 2009-04-07, 3929👍, 0💬
.NET Remoting versus Distributed COM ?
.NET Remoting versus Distributed COM ? In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks i... 2009-03-19, 4226👍, 0💬
How Can we change priority & what levels of priority are provided by Dot Net?
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest. In the sample provided look out for code where the second thread is ran with a high priority. Following are different levels of Prio... 2009-03-13, 6203👍, 0💬
What does address of operator do in background? any example.
What does address of operator do in background? any example. The AddressOf operator creates a delegate object to the BackgroundProcess method. A delegate within VB.NET is a type-safe, object-oriented function pointer. After the thread has been instantiated, you begin the execution of the code by cal... 2009-03-13, 4174👍, 0💬
What are types of compatibility in VB6
What are types of compatibility in VB6? There are three possible project compatibility settings: Ā„ No Compatibility Ā„ Project Compatibility Ā„ Binary Compatibility No Compatibility With this setting, new class IDís, new interface IDís and a new type library ID will be generated by VB each time the Activ... 2007-10-22, 4388👍, 0💬
How do you do object pooling in .NET
How do you do object pooling in .NET ? COM+ reduces overhead by creating object from scratch. So in COM+ when object is activated its activated from pool and when its deactivated itís pushed back to the pool. Object pooling is configures by using the ďObjectPoolingAttributeĒ to the class. Note:- Wh... 2007-10-22, 4510👍, 0💬
How many types of Transactions are there in COM + .NET
How many types of Transactions are there in COM + .NET ? There are 5 transactions types that can be used with COM+. Whenever an object is registered with COM+ it has to abide either to these 5 transaction types. Disabled: - There is no transaction. COM+ does not provide transaction support for this ... 2007-10-22, 4167👍, 0💬
How to implement DTC in .NET
How to implement DTC in .NET ? DTC is implemented using COM+. Following are the steps to implement COM + in .NET :- Ā„ ĀgEnterpriseServiceĀh namespace has all the classes by which we can implement DTC in .NET. You have to add reference ĀgEnterpriseServiceĀh namespace. omits it all together, then we w... 2007-10-22, 5065👍, 0💬
How do we create DCOM object in VB6
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You have to put the server name in the registry. 2007-10-22, 6345👍, 0💬
Can you explain what is DCOM
Can you explain what is DCOM ? DCOM differs from COM in that it allows for creating objects distributed across a network, a protocol for invoking that objectís methods, and secures access to the object. DCOM provides a wrapper around COM, hence it is a backwards compatible extension. DCOM uses Remot... 2007-10-22, 4694👍, 0💬
Can you describe IUKNOWN interface in short
Can you describe IUKNOWN interface in short ? Every COM object supports at least one interface, the IUnknown interface. All interfaces are classes derived from the base class IUnknown. Each interface supports methods access data and perform operations transparently to the programmer. For example, IU... 2007-10-22, 4254👍, 0💬
What is Reference counting in COM
What is Reference counting in COM ? Reference counting is a memory management technique used to count how many times an object has a pointer referring to it. The first time it is created, the reference count is set to one. When the last reference to the object is nulled, the reference count is set t... 2007-10-22, 4096👍, 0💬
What is COM
What is COM ? Microsoftís COM is a technology for component software development. It is a binary standard which is language independent. DCOM is a distributed extension of COM. 2007-10-22, 4279👍, 0💬
When we use windows API in .NET is it managed or unmanaged code
When we use windows API in .NET is it managed or unmanaged code ? Windows API in .NET is unmanaged code. Note:- Even though VB6 and V C++ has gone off still many people do ask these old questions again and again. Still there are decent old application which are working with COM very much fine. So in... 2007-10-22, 4397👍, 0💬
How can we make Windows API calls in .NET
How can we make Windows API calls in .NET? Windows API call are not COM based and they are invoked through Platform Invoke Services. Declare StringConversionType (Function | Sub) MethodName Lib "DllName" ([Args]) As Type Ā„ StringConversionType is for what type of conversion should take place. Either ... 2007-10-22, 5187👍, 0💬
How can we use .NET components in COM
What is CCW (COM callable wrapper) ? or How do we ensure that .NET components is compatible with COM ? .NET components can not be used in straight forward way with COM. You will need to create CCW in order that COM components communicate with .NET assemblies. Following are the different approaches t... 2007-10-22, 5142👍, 0💬
What is RCW
How can we use COM Components in .NET? .NET components communicate with COM using RCW (Runtime Callable Wrapper). Following are the ways with which you can generate RCW :- Ā„ Adding reference in Visual Studio.net. See figure below (Adding reference using VS.NET 2005). Wrapper class is generated and pl... 2007-10-22, 4553👍, 0💬
If client side validation is enabled in your Web page, does that mean server side code is not run? W...
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to itera...
What is the purpose of Replication ? Replication is way of keeping data synchronized in multiple dat...
How Are Vertical Margins between Two Block Elements Collapsed? - CSS Tutorials - Understanding Multi...
How To Dump the Contents of a Directory into an Array? - PHP Script Tips - Working with Directoris a...