devxlogo

Tip Bank

Stacks to Strings Conversion

Sometimes it is useful to be able to capture the output from a stack dump, redirect it to a string, and then, perhaps, to a window. Here is an example

Querying Your Applet’s Browser

Sometimes you write an applet that depends on a Microsoft Internet Explorer-specific extension which is not common to all browsers. How do you find out if the browser that’s running

Optimizing Java Code

Developers should realize that only a few optimizations are supported by most Java compilers. That most Java compilers do little when it comes to optimizing code may be surprising, but

Using Println Statements in the Debugger

Println statements are very useful for debugging applications, but do you view the output when an applet is running in the debugger? By default, when you create a Visual J++

Mailbox Names with Different Domains

Question: I have a problem creating the same mailbox names with different domain names at one server (one site). How can I go about doing that? Or can I only

Getting the Address of a Function

Question: In VB, I can use the function AddressOf. It is the return address of function WNDPROC. Is there a similar function in PowerBuilder? Answer: In PowerBuilder you cannot get

Removing Characters from Strings

Question: I need to delete certain characters from a string, particularly a money field in the format 99,999,999.99. Is there an easy way to delete the commas and period from