![](https://www.devx.com/wp-content/uploads/2022/02/thumbnail.jpg)
Yet Another CenterForm Routine
In the April 1997 issue of VBPJ, you published a tip called “Consider the Taskbar When Centering Forms.” You can center forms more easily with the SystemParametersInfo API call: Private
In the April 1997 issue of VBPJ, you published a tip called “Consider the Taskbar When Centering Forms.” You can center forms more easily with the SystemParametersInfo API call: Private
Most people probably type in URLs using the minimum number of characters. If you don’t use a trailing slash on directory names, the Web server goes to extra effort, which
I’m always looking for sample code, and the setup1.vbp file is an excellent source of reusable code. It comes with VB and is part of the VB setup kit. The
If you’re assigning the values of columns you return from RDO queries into string variables, you’ll get an “Invalid use of Null” error if one of the columns has a
I sometimes want an MDI parent window to be repainted. For example, if a modal dialog is displayed over the MDI form and you click on OK, the dialog is
Placing a message box in an error trap can provide useful debugging information, but it doesn’t allow you to return to the subroutine or function to poke around and further
If you use a resource file in your application, you can see the RES file appear in the project window under “Related Documents.” This is the only type of file
Tired of making a change to a Web page and the change doesn’t show up when you view the page in your Web browser? Holding down the Shift key as
Web page “graceful degradation” means making new capabilities invisible to older browsers that don’t support them. Many authors hide VBScript or JavaScript code inside an HTML comment so that older