Building a Better Mousetrap for COM+ (MTS)
couple of months back, I took it upon myself to clean up the VB Sample Bank code. The original goal was to modify the code just enough to use the
couple of months back, I took it upon myself to clean up the VB Sample Bank code. The original goal was to modify the code just enough to use the
‘ Return a collection with all hidden types of a type library” VB’s Object Browser hides some types in a type library:’ you can show these types by right clicking
‘ return a collection with names of all the class names’ of a type library that implement a certain member.” MEMBERNAME is the name of the property or method’ MEMBERTYPE
‘ Returns a bit-coded value that specifies the type of’ an object’s member (property, method, event)’ or zero if the member isn’t there’ Object is the object which you want
‘ Return all classes of the type library specified in’ TypeLibFile parameter that support a certain interface.’ the interface can be specified as an Object or through its IID’ Be
‘ Return a collection with all creatable classes of’ the type library specified in TypeLibFile.” Set IncludeNotCreatableClasses = True to include not creatable classes’ (that is, those with Instancing property
‘ Return the GUID of the object specified in the first parameter’ Be sure that “TypeLib Information” type library (TlbInf32.tlb)’ is referenced in your VB project.Function GetObjectGUID(Object As Object) As
‘ Return the DispID of a procedure’ ProcName must be set to a procedure name of the object’ specified in the second parameter.’ Be sure that “TypeLib Information” type library
A scrolling DIV is a great way to display a large amount of data without resorting to frames. Setting the CSS-2 OVERFLOW property to auto will make the DIV into
Every source file in Java (.java file) contains one class. You can bundle a set of related classes into a package. Java provides “import” keyword, which is used to establish
In Windows Common controls, we have an UpDown control. It can be attached toany textbox. It gives the user the appearance that he or she can control (increment or decrement)
Sometimes in our database structures we’ve got to store information in such a way that it allows us to increase/decrease the type of data we store. For example, we have
Here is the code ready to use and written in C, to create a JDK 1.1 Java Virtual Machine. #include int main() { JDK1.1InitArgs data; JNIEnv *env; JavaVM *jvm; jclass
When a SubQuery is used in a FROM clause instead of a Table name, Oracle executesthe subquery and then uses the resulting rows as a view in the FROMclause. It’s
When querying in Oracle, use ROWNUM pseudocolumn to limit the number of returned rows. Pseudocolumns behave like table columns but are not actually stored in tables. (Other pseudocolumns are RowId,
I read a SQL tip titled “Using Distributed Queries on SQL Server 7.0.” I think this is a great follow up to that tip. This is especially useful for those
When validating a set of sequential steps, the Select Case structure can beused to step through each validation method. As each Case is cycledthrough, the validation method is called to
I needed to retrieve image fields on SQL Server 7.0 with VB6, and I couldn’t find any article about it. So, I assume others have had the same problem. I’ve
Question: We’re trying to: Get the Logon Windows NT id for an Exchange mail box Get the Security Identifier (SID) corresponding to the Windows NT id (using advapi32.dll api’s) Map
Question: I have developed a WAP application using the Nokia SDK, and all appears well. Our project team leader uses the emulator from phone.com and it does not display the
MDI forms do not allow you to remove the Min/Normal-Max/X or Control Box.Many times you want the MDI Form to remain in the Maximized state. One way to accomplish this
Question: Our company uses NetFolders to share the company calendar, which has extensive listings. We are about to install Exchange 5.5. What’s the best way to move the calendar intact
You can easily create ActiveX controls that work as containers for other controls, by setting their ControlContainer property to True. However, VB doesn’t offer any event for detecting when the
Question: I am using Windows 2000 and would like to access the IRDA port in raw mode. That is, not use the Winsock API but instead just send serial data.
Question: We have a Web-enabled application running. The ASP has been written to generate a WML/HTML response. This has been tested using a simulator from Phone.com. What should I do
Question: I am developing for an AT&T phone made by Mitsubishi. It correctly formats and displays WML cards until I try to use input boxes or any other type of
Question: I have come across the following situation: if any method of a class has a static variable (not a static class member!), it seems to be shared by all
This control is a label/picture with hyperlink functionality. All you’ve to do is to place URLLabel on a form, choose the style (Underline, NoUnderline, GotFocus, Graphic), the color or picture
Introduction Most developers hate to deal with securityissues; that’s why the security-design subject is, most of the time, left out from the “typical developer” MSDN surfing and the application prototypes
‘ Enable extended matching to any type combobox control” Extended matching means that as soon as you type in the edit area’ of the ComboBox control, the routine searches for