devxlogo

Tip Bank

How to calculate sqrt()

Question: How do you calculate sqrt()? Answer: Of course the best way to compute square roots is to useMath.sqrt(),but I assume your question is academic. I’m not sure of the

How to Prevent Simultaneous Access

Question: How do you lock a file in Java to prevent simultaneous multipleaccesses? Answer: If you’re concerned about simultaneous access by independent processes,you’ll have to rely on the host OS

Moving a TCommonDialog Around

Question: How can I pop up a dialog like TOpenDialog in the corner of my screen instead of the center? Answer: This is kind of a weird one, because normally

How can I create JavaScript enhanced web pages?

Question: I’ve been poking around the net and have seen several development environments for creating Java applets/applications. What software do I need to create JavaScripts that I can use on

Incremental Searches with a TListbox

Question: How can I create a form that has a list box that I can perform an incremental search on? Answer: There are a couple of ways to do this.

Creating Windows without the VCL.

Question: I have been experimenting in trying to create windows without the VCL using the WinAPI functions CreateWindow and CreateWindowEx and WNDCLASS and WNDCLASSEX structured but it never create the