devxlogo

Tip Bank

DevX - Software Development Resource

Win NT Domain Management from VB5

Question: Are simple domain management tasks such as “Add User to a Group” or “Add a Computer to an NT domain” possible under VB5? Do you have sample codes? Answer:

DevX - Software Development Resource

Uninstallation

Question: I installed NT 4.0 over 95, and now what’s thebest way to uninstall only NT? Leaving 95 asit is. Answer: Yes, you can boot your computer with a Windows

DevX - Software Development Resource

Desktop

Question: How can I get the current Desktop color? Answer: There are several ways to do this, but one way is to check the NT registry. HKEY_CURRENT_USER Control Panel Colors

DevX - Software Development Resource

Be careful with EOF

The standard library of the C programming language offers a functiongetc to read a single character from a file or stdin: char c = getc(stdin); This function is useful if

DevX - Software Development Resource

No Pointer Arithmetics Outside Array Bounds!

Sometimes it is tempting to let a pointer point to a location that isslightly beyond an array’s index range. For example, consider the followingself-defined array class, which allows you to

DevX - Software Development Resource

Delphi Development for Windows CE

Question: Can I use Delphi to create apps, including DB apps, for Windows CE? Answer: I wish Borland Delphi could be used to develop Windows CE apps. However, the only

DevX - Software Development Resource

Building a Simple Database

Question: In my program, the user must log in. I must take that login and search a database to see if the login is valid and then match a password

DevX - Software Development Resource

Controlling the Menu Font

On some platforms, the default font used by Java for menu text is unfortunately not the user-selected, system-wide menu font. With some VMs it can be undesirably small. You can

DevX - Software Development Resource

Margins in Dialog Boxes

When laying out a dialog box with a manager that does not provide space between the components and the edges of the box (such as a GridLayout manager), the following