devxlogo

Tip Bank

Trying to Modify an Original Program

Question: I commissioned a program that was written in Delphi. I am not a programmer, but an excellent hacker. Is there any way I can get into this program to

Shared Database Session

Question: Is there a way to share a database session between calling application and DLL? Not having such a sharing (DLL with DataSet components) increases the number of SQL server

Fixed-Width Tables in IE5

Internet Explorer version 5 has significantly better HTML table support than previous versions. Up until now, HTML writers have had to rely on trial and error to make tables render

A Runnable Is Not a Thread

You may come across some situations where implementing a Runnable may have some advantages over extending Thread. If the class you are going to multi-thread is already extending another class,

Declaring Variables Inside an If-Condition

C++ allows you to declare variables just before their use rather than at the top of the enclosing block. Thus, it is legal to declare a variable inside the condition

Refreshing the Desktop

Question: How do I refresh the desktop after I draw on it? Answer: Simple: call the Invalidate method for your form, and the window will refresh.

Type-Declaration Characters

Question: I’m having problems passing variables to an API function. I always receive a Type mismatch error. I reproduced the situation in Visual Basic and found that if I used

Open Database Error

Question: I am updating an application that was developed to make an executable test version. However, the live database is opened, not a test database. I have made a test