Print a Stack
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
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 =
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
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
‘ 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