Virtual Base Classes Must Have a Default Constructor
Virtual inheritance imposes several restrictions. One of them is that you cannot use a class that has no default constructor as a virtual base class. Consider the following program: struct
Virtual inheritance imposes several restrictions. One of them is that you cannot use a class that has no default constructor as a virtual base class. Consider the following program: struct
Normally, a list of items in a Java application is presented in a JList or JComboBox. If all of the listed items are created equally, the list handles them quite
Here is an example of how to make your application auto start from the registry.The code also shows how to query and clear this. ‘Module: Module1 Option Explicit Private Const
Clicking a submit button on a Web form can create havoc. Here is an easy way to restrict a Web user from clicking the submit button more than once. Once
Most ASP books and articles state that you need to set the Respose.Expires property to 0 or -1 to prevent the end user’s browser from caching an ASP page. However,
Private Declare Function IsCharLower Lib “user32” Alias “IsCharLowerA” (ByVal _ cChar As Byte) As Boolean’ Check is the specified string is composed only by lower case characters (no ‘ digits
‘ generate a random string” the mask can contain the following special chars’ ? : any ASCII character (1-127)’ # : a digit’ A : an alphabetic char’ N :
‘ a variation of the Split function that works with more than one separators’ note that separators can consists of 2 or more chars’ Example:’ Dim res() As String’ res()
Private Declare Function IsCharUpper Lib “user32” Alias “IsCharUpperA” (ByVal _ cChar As Byte) As Boolean’ Check is the specified string is composed only by upper case characters (no ‘ digits