The ## Concatenation Operator
The preprocessor ## operator concatenates macro arguments. For example: #define paste(x,y) x ## y The paste() macro takes two arguments and concatenates them into one. The whitespaces surrounding the ##
The preprocessor ## operator concatenates macro arguments. For example: #define paste(x,y) x ## y The paste() macro takes two arguments and concatenates them into one. The whitespaces surrounding the ##
Memory is precious in Palm OS, since the total amount of memory available is very small. Dynamic memory allocation is often necessary while building applications in which memory at runtime
You can use the @@TRANCOUNT function to determine whether any open transactions exist and how deeply they are nested.A BEGIN TRANSACTION statement increments @@TRANCOUNT by one, and a ROLLBACK statement
The code below is functionally equivalent to a VB Replace function, but, instead, it allows you to perform an action in a Text type field in a SQL Server Stored
With the SET LOCK_TIMEOUT option, it is possible to set the maximum amount of time that SQL Server allows a transaction to wait for the release of a blocked resource:
It happens quite often that a JDBC connection is declared as the instance-level variable. The actual connection is then obtained at construction time. All methods of the object that need
Changing column types in a tableSQL Server does not permit you to explicitly change the datatype or length of a column. But there is a trick to get around this.
The java.net package contains classes that deal with connections across the network. If there is a direct connection to the Internet via a modem, various classes like the HttpConnection or
If you have a line in your code you are trying to debug or you don’t know how you got there, or where you came from (who called it), you
This simple class provides you with a mechanism for the creation of a logfile: import java.io.*;public class logfile { private String myFile = Related Posts Placer.ai raises $75M, boosts valuation
The result of adding unnecessary catch blocks is code like this, where exceptions are caught and then immediately re-thrown: try { // some code here } catch (Exception e) {
You can create windows of different shapes using windows API calls in Visual Basic. Use the API Text Viewer tool to see all the API functions available for use in
You can retrieve the parent directory from a path by identifying the first and last backslash. The start position for the first backslash should be 3 in order for it
This can be done by using the is operator. Here is a simple function demonstrating this method: Public Function RemoveObject(Collection As Collection, Object As Object)Dim vTemp As ObjectDim Index As
To register your DLL’s, follow these steps:1) In the directory Related Posts Nvidia stock jumps 8.8% after analyst endorsementFederal judge rules Google a monopolyXen Security Issue Prompts Cloud Computing RebootsMatter
When you’re using a frame control with no caption, there’s a bit of a gray area above the border that normally contains the caption. To get rid of this gray
n last month’s article, you saw how to display XML data in IE5 through IE’s data island component. This month’s installment focuses on letting users modify that data and, ultimately,
s more and more cellular phones and PDAs begin to merge onto the information superhighway, it becomes increasingly interesting to access Web sites from mobile devices. Since Java was initially
ill the increasing importance of the Java programming language in the IT world eventually stunt its own growth? Ironically, the answer may be yes. Why? Because there aren’t nearly enough
Go to:? pre-1995-1995? 1996? 1997? 1998? 2000-2001 = mouseover explanation = pop-up sidebar Jan. 13 Support for Java in digital TV announced at the Consumer Electronics Show. Jan. 25 Jini
Go to:? pre-1995-1995? 1997? 1998? 1999? 2000-2001 = mouseover explanation = pop-up sidebar Jan. 23 JDK 1.0 released. February JavaWorld launches. February Netscape Navigator 2.0 browser includes Java. JavaBeans announced.
Go to:? pre-1995-1995? 1996? 1998? 1999? 2000-2001 = mouseover explanation = pop-up sidebar Jan. 11 – JavaBeans JDK released. Feb. 18 Java JDK 1.1 ships. Feb. 28 Java 1.1 support
Go to:? pre-1995-1995? 1996? 1997? 1998? 1999 = mouseover explanation = pop-up sidebar Feb. 8 – Sun submits next versions of J2EE and J2SE to JCP. Feb. 29 – Java
Go to:? 1996? 1997? 1998? 1999? 2000-2001 = mouseover explanation = pop-up sidebarJan. 15, 1991 Green Project begins.1991-92 – James Gosling, Mike Sheridan, Patrick Naughton start work on “Oak.” Gosling
Go to:? pre-1995-1995? 1996? 1997? 1999? 2000-2001 = mouseover explanation = pop-up sidebar Jan. 20 – JDK 1.1 cumulative downloads top 2 million, says Sun. March JFC ships with “Swing”.
ast month’s column contained some ASP routines that made the task of building a form easy and elegant. This month I’ll extend the concept by showing you how to build
This is a simple addin which scans your code files and enumerates all the variables it finds, telling you where they are used and if there is any problem (dead
Private Declare Sub mouse_event Lib “user32” (ByVal dwFlags As Long, _ ByVal dx As Long, ByVal dy As Long, ByVal cbuttons As Long, _ ByVal dwExtraInfo As Long)Private Const MOUSEEVENTF_LEFTDOWN
Option ExplicitPrivate Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Enum mbBorderTypeConstants mbRaised = 0 mbSunken = 1 mbEtched = 2 mbBump =
‘ CCONSOLE Class” Creates a console window and writes to it’ Example:’ Dim cons As New CConsole’ cons.WriteString “Hello World”Private Declare Function AllocConsole Lib “kernel32” () As LongPrivate Declare Function