
Start the IDE with maximized code and form windows
The VB IDE remembers most of the configuration settings that were active when you closed the previous session. However, the maximized status of child MDI windows (the code editor and

The VB IDE remembers most of the configuration settings that were active when you closed the previous session. However, the maximized status of child MDI windows (the code editor and

Often, while developing a system you want to debug it using System.out.println or System.err.println. When development is over you would like to send all those messages to file. The easiest

If you are writing an application in which you don’t know the class of an object until runtime, then you cannot use the new operator to instantiate the object. This

The assert macro can be used to detect errors as soon as they occur. This macro is defined in the include file , and is used that way: assert (expression)

Use the following code: Public Function IsLeapYear(iYearToCheck As Integer) As BooleanIsLeapYear=IsDate(Format(

Put the control(s) in a frame and disable the frame. This will even eliminate graying out or color changes.

In C++, this can be achieved by throwing an exception from your Constructor. Since Constructors cannot return a value, this is the only way to achieve error handling. Class MyClass{

If your program uses the WebBrowser control or any Microsoft Internet Control, you must ensure (and clearly specify in your app’s documentation) that the program can only work on systems

Copying and pasting text and images programmatically isn’t difficult at all, using the methods of the Clipboard object. However, implementing a generic Edit menu that copies and pastes the highlighted