Atlanta Custom Software Development 

   Search        Code/Page

User Login



Forgot the Password?
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
VB VB (1647) (736)
C# C# (15) (779)
ASP ASP (41)
VC++ VC++ (25)
JScript JScript (5)
» SQL Server (708)
» ORACLE (5)
» MySQL (0)
» DB2 (0)
» C/C++/ASM (11)
» Microcontroller (1)
» Circuit Design (0)
» Networking (5)
» Unix/Linux (1)
» WinNT/2k/2003 (8)
» Flash (0)
» Maya (0)
» 3D max (0)
» Photoshop (0)
» (2)
» PC Interfacing (1)
» Networking (4)
» SQL Server (4)
» VB (23)
» (4)
» VC (3)
» HTML/CSS/JavaScript (10)
» Regular Expr Tester
» Free Tools

(Page 1 of 2) 56 Result(s) found 

CLSIDToProgID - Convert a CLSID into a ProgID
Total Hit (1416)
GetClasses - Enumerate all the classes defined in a type library
Total Hit (289)
GetClassesByInterface - Retrieve all the classes that implement a given interface
Total Hit (513)
GetClassesByMember - Retrieve the list of classes that expose a given property or method
Total Hit (308)
GetFileFromCLSID - The file that implements a COM component with given CLSID
Total Hit (852)
GetFileFromProgID - The file that implements a COM component with given ProgID
Total Hit (464)
GetHiddenClasses - Retrieve all the hidden classes in a type library
Total Hit (352)
GetMemberType - Check whether an object exposes a property, method, event
Total Hit (329)
GetObjectGUID - Retrieve the GUID of a COM object
Total Hit (863)
GetProcID - Retrieve the DispID of a procedure
Total Hit (337)
IsComDll - Check whether a DLL is a self-registering COM server
Total Hit (702)
ProgIDToCLSID - Convert a ProgID into a CLSID
Total Hit (1974)
Avoiding Access Denied erros when raising events from MTS objects
Total Hit (757) If you don't take specific actions, you get an Access Denied Error when you try to raise an event from an MTS component into a client. This happens because the client executable doesn't have the proper DCOM security settings to let the server call it back. In order to have it working you have two so ....Read More
Be careful in using CreateObject with two arguments
Total Hit (774) If you install a COM+ application proxy on a client and open its Properties dialog, you'll see that the field "Remote Server Name" is set to the server where you created and exported the application. Before you export the component, you can also change the server name by setting the "Application Pro ....Read More
Disable COM+ 1.5 applications and components
Total Hit (626) COM+ 1.5 (provided with Windows XP) has an interesting feature that is missing in COM+ 1.0: the ability to disable entire COM+ applications or just their individual components. You can disable and re-enable a COM+ application or component by right-clicking on it in the Component Services MMC explore ....Read More
Don't let binary compatibility beat you
Total Hit (648) When you decide to release a new version of an MTS/COM+ component you should take care of its compatibility with the previous version. There are three types of changes you could make: (1) You change only internal code of a component, keeping the interface that the component provides untouched. ( ....Read More
Don't store object variables in the SPM
Total Hit (562) Some MTS/COM+ newbies wonder whether it is legal to store object variables in the SPM. No, you can't!! the SPM is unaware of Apartment marshaling issues. If you ask the SPM for an interface pointer while running in an apartment that is different from the one where the interface pointer resides t ....Read More
Don't use global variables in MTS/COM+ projects
Total Hit (635) Public variables at module level are thread specific. Each new thread starts get a new fresh & uninitialized copy of such variables. All the activities that are born from the same object context always run in the same apartment (You can confirm this by checking the thread ID) as if the object contex ....Read More
Generating IDL code to overcome binary compatibility issues
Total Hit (939) Among the different COM details that VB hides to the programmers, one of the most problematic one is that it doesn't let you take control on interface GUIDs. Binary compatibility settings in VB try to make you follow COM rules (as a fact breaking such rules with the interface forward mechanism it si ....Read More
GetObjectContext.CreateInstance is obsolete in COM+
Total Hit (1038) CreateInstance was necessary in COM to provide a COM object activation mechanism that could be hooked by the MTS runtime before the activation request reached the COM runtime. So that MTS could apply some pre and post activation magic to put a wrapper around the real object and return this wrapper t ....Read More
Improve availability by running a COM+ app as an NT service
Total Hit (505) COM+ 1.5 has the ability to run any server application as a NT service, so that the application is up and running when the machine reboots, before any client makes the first requests. This improves the response time of the COM+ application. Besides, running a COM+ app as a service means that it can ....Read More
Make COM objects in a COM+ application visible to clients
Total Hit (455) What I describe for COM+, applies to MTS with some slight differences as well. Registering COM objects remotely has been quite a pain before MTS showed up (remember the VBR file?). In COM+ it's very easy to do: 1) Right click on the COM+ application and choose export Choose application proxy, ....Read More
Misconceptions on variables and binding
Total Hit (450) Consider this line of code: Dim x as Project1.Class1 Many developers think that we were declaring x as a "Project1.Class1" object. This is wrong. All object variables in VB are interface variables. In this line of code x is declared as the _Class1 interface defined in the Project1 Type librar ....Read More
Never use New to create MTS/COM+ objects
Total Hit (347) A common question among VB developers is: Why is it dangerous the use of the New keyword in VB to create COM objects registered under MTS/COM+? The New keyword is the only way to go when you want to create objects that are defined as PublicNotCreatable or Private (CreateObject doesn't work) insid ....Read More
Reduce COM+ context overhead: use non configured classes
Total Hit (344) In another item in this Tip Bank (see link below), we mention that you can co-locate secondary instances within the context of the caller. If you don't need any services at all for your secondary components, then you don't have to configure them as COM+ components either. You lose the deployment and ....Read More
Reduce context overhead for COM+ components
Total Hit (330) Instances of configured components, that is, components configured in COM+, get runtime services owing to context objects. When you instantiate a COM+ component, your instance will live in a context object. When you call a method of your instance, the call will go through the context and that is whe ....Read More
Replicate a complete COM+ catalog to another machine
Total Hit (441) The Component Services MMC gives you an easy way to export and import COM+ applications. However, if you want to export the entire COM+ catalog to one or more systems on your LAN you can do it quickly with the COMREPL command-line utility, which you can find in the c:\windows\system32\com directory. ....Read More
How To Call CLSID And ProgID Related COM APIs in Visual Basic
Total Hit (1520) This article demonstrates how to use a set of related Component Object Model (COM) APIs that retrieve and manipulate CLSIDs and ProgIDs. The following APIs are discussed: «UL»«LI»CLSIDFromProgID: To retrieve the CLSID of a COM object with a given ProgID. «LI»StringFromCLSID: To convert a CLSID s ....Read More
This is a link to a different site Create New GUIDs
Total Hit (1015) This sample, from Dion Wiggins ( shows how to use the CoCreateGuid and StringFromGUID2 functions to create a GUID. The code is compiled into an ActiveX DLL which gives the interesting possibility of using the code from an ASP page, or from other ActiveX-enabled scripting ....Read More
This is a link to a different site How to Create Constants and DLL Declarations in a Type Library
Total Hit (614) It can be very useful to package constant definitions and DLL declarations in a type Library. Visual Basic allows you to access type libraries and their contents. Once you have made a reference to the type library, you can view its information in Visual Basic's own Object Browser. Type Libraries are ....Read More

(Page 1 of 2) 56 Result(s) found  1 2

Recommanded Links


Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  Blogs

© 2008 BinaryWorld LLC. All rights reserved.