Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
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
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
Private Declare Function ExtractIcon Lib “shell32.dll” Alias “ExtractIconA” _ (ByVal hInst As Long, ByVal lpszExeFileName As String, _ ByVal nIconIndex As Long) As LongPrivate Declare Function DrawIcon Lib “user32” (ByVal
You can programmatically start the Shortcut Wizard from your code, to give the end user the capability to create a new shortcut: Shell “rundll32.exe AppWiz.Cpl, NewLinkHere ” & App.Path, 1
‘Count’: Counts the number of non-null values.‘Count(*)’: Counts the number of rows in the table, including null values and duplicates.
It is often necessary to get a list of values from multiple rows. Generally, this is done using the cursor, which tends to make the task more complicated.I tried to
There are two ways to get the browser name and version in ASP. One is the client side method and other is the server side method. Given below is client-side
Beginning Java programmers sometimes test the results of a newoperation for a null. The code for this test looks like this: Integer i = new Integer (400); if (i ==
The default clone() method, inherited from Object, makes a shallow copy of an object.But sometimes we require that all the objects whose references are present in an object are also
Home users of Outlook must create a new form and make it the default form for their Inbox. This code removes any attachments with vbs in the filename on incoming











