Tip Bank

DevX

Using Integral Types With Explicit Sizes

The actual size of the built-in integral types are machine dependent (see also the Tip Standards Provide Guarantees Regarding the Sizes of Integral Types): //built-in integral types with machine-dependent sizeschar

DevX

Consistent Project Descriptions

Always set the Description property of your ActiveX projects (found in Properties) to be prefixed with your company name or initials. That way, all your internal objects and components will

DevX

Clean Up Your Objects—In the Right Order

Although Microsoft Internet Information Server (IIS) eventually removes your unused database objects (called garbage collection), poor coding can squander the server’s resources. If your Web server drags or even fails

DevX

VB DHTML Input Field Handling

Question: I have a DHTML form that is dynamically generated based on a user’s selection from a list box. It generates a table line for product information which includes text

DevX

Creating a CWnd Class for Printing, Not Viewing

Question: After significant development time, a wonderful class derived from CWnd was created by our team to pull together text, graphics, etc. in a Paintbrush type of application. Now, we’d

DevX

Handling Session Timeouts

Question: When a user accesses an application on my site, a sessionID is generated. After the application is accessed the user leaves the machine alone until the session times out.