Tip Bank

DevX - Software Development Resource

Passing an ADO Connection Object

Question: I’ve made a VB ActiveX DLL and defined a class and some methods to perform some database operations. I pass an ADO connection by reference to this class from

DevX - Software Development Resource

VB and Oracle: Use ADO or ODBC?

Question: What’s the consensus as to whether it is better to use the ADO native driver, or use the ADO ODBC wrapper with Oracle? Answer: Microsoft now provides a native

DevX - Software Development Resource

Objects

Question: When you click on the right mouse button over a file name or folder, you get a menu which allows you to select Properties. Is there any way to

DevX - Software Development Resource

Tab Strip use

Question: How do you put different objects in a TabStrip? I can make it but once I add something to it in the preview area, it shows up on all

DevX - Software Development Resource

Command Button Double-Click

Question: We have users who routinely double-click on the command buttons. What is the best way to ensure that the code is only fired once? Answer: One approach would be

DevX - Software Development Resource

Dynamic Control

Question: How can I create dynamic controls, such as a textbox, without a basic control in the form ? Answer: In VB6 you can add new controls to the Controls

DevX - Software Development Resource

Display Small Decimals Using VBScript

It is common to have online survey results posted via an ASP page. While for the most part it will work fine, you have to be careful when your results

DevX - Software Development Resource

Scan and Clean Registry for Dangling Interfaces

If you are developing COM components that run under MTS (Microsoft Transaction Server) then during the development phase, you will notice that dangling interfaces are often present in your system

DevX - Software Development Resource

Show the Standard File Properties Dialog

If your program has an Explorer shell-style interface, you probably want to supply the standard File | Properties dialog. Do this by using the ShellExecuteEx API function: Private Type SHELLEXECUTEINFO