Guidelines for developing COM components that need to talk to VB
It is useful to follow these guidelines when you develop COM components that need to talk to VB. 1. Only use VARIANT data types in your interface . Although VB
It is useful to follow these guidelines when you develop COM components that need to talk to VB. 1. Only use VARIANT data types in your interface . Although VB
Because GUID are 16 bytes in size, you don’t want to pass them by value. Instead, you should pass them by reference. This is why Queryinterface takes a constant reference.
You can experience a great increase in database performance if you utilize connection pooling. Creating a connection to a database takes a lot of time and resources. If every you
‘ Returns a value >0 if Node1 is a parent (or grandparent) of Node2’ Returns a value
‘ Returns the nesting level of a TreeView’s Node object’ (returns zero for root nodes.)Function NodeNestingLevel(ByVal Node As Node) As Integer Do Until (Node.Parent Is Nothing) NodeNestingLevel = NodeNestingLevel +
‘ Convert to uppercase, lowercase, or propercase the text that is’ currently selected in the active code windowSub ConvertSelectedText(VBInstance As VBIDE.VBE, Optional conversion As Long = _ vbUpperCase) Dim startLine
‘ the name of a control given the corresponding VBControl object’ (accounts for items in control arrays)Function VBControlName(vbc As VBIDE.VBControl) As String Dim index As Long index = vbc.Properties(“Index”) If
Every now and then you need to fill a TreeView control with some random data, for example when you want to test a routine and you don’t want to write
Internet Information Server (IIS), by default, uses an apartment-threaded, or single-threaded, threading model. This design choice was made because many Web sites still used Access as the database backend. Access,