Tip Bank

DevX - Software Development Resource

Associate a File Extension to a Program

This tip is an addendum to the VB-2-the-Max tip CreateFileAssociation – Associate a file extension. The following code shows the complete original tip. The addendum is in bold. Without the

DevX - Software Development Resource

Calculate the Last Day of the Month for Any Given Date

The following code calculates the last day of the month for any given date: Description: Calculates the last day of the month for any given date*/CREATE FUNCTION [dbo].[ufn_GetLastDayOfMonth]( @inpuDate SMALLDATETIME)RETURNS

DevX - Software Development Resource

How to Determine the Default Web Browser

Sometimes people assume that the default web browser is the program that is registered in the Windows registry to open files with an .html extension. However, it’s possible to set

DevX - Software Development Resource

Obtain Class Methods Using Reflection

In this example, you will obtain all methods, all declared methods, and one specific method for the java.lang.reflect.Method class: import java.lang.reflect.*;public class getMethodsWithReflection { public static void main(String[] args){ Class