Tip Bank

DevX - Software Development Resource

Friendly Enumerated Values

If you build an ActiveX control that exposes an enumerated property, you should define a Public Enumstructure that gathers all the possible values for that property. Doing this helps the

DevX - Software Development Resource

Standalone Type Libraries

If you create out-of-process OLE servers, Visual Basic embeds the companion type library into the EXE fileand generates no TLB file. However, if you own the Enterprise Edition of VB4

DevX - Software Development Resource

Implementation of Public Forms and Class Variables

The implementation of Public variables in forms and classes changed with Visual Basic 5.0. VB4 implementspublic variables in forms and class modules as if they’re regular variables, using pointers to

DevX - Software Development Resource

Hide All Project Windows

When working with multiple projects, it’s easy to get confused by the many windows active on the screen atthe same time. However, you can temporarily hide all the windows related

DevX - Software Development Resource

Customize VB Toolbars

Here are a few simple ways you can customize your VB5 IDE: Add tabs to the custom control toolbox by right-clicking on the General button and selecting the Add Tab

DevX - Software Development Resource

Not all Templates are Created Equal

Unlike templates in other Office 97 products, Word 97 templates provide a business-application engine thatremains separate from the documents that use that engine. Template-based Excel workbooks andPowerPoint presentations include a

DevX - Software Development Resource

Center Forms on Screen

A popular code snippet lets you center any form on the screen, regardless of the current screen resolution. You now can reach the same result by simply assigning the value

DevX - Software Development Resource

Don’t Create Aliased Variables

Never pass a global variable as an argument to a procedure that also accesses the variable directly. If you’re 100 percent sure you adhered to this rule within your application,