devxlogo

Tip Bank

Maximize VB’s MDI Memory

If you use the VB development environment in MDI mode (the default) and you like your code windows maximized, you might have noticed that, unlike VB5, VB6 doesn’t remember this

ActiveX EXE vs. DLL

Question: I have an ActiveX dll into which I can pass an existing ImageList containing a set of images. This works fine and means that I only have to maintain

Rounding function

Question: Is there a way to round numbers to the nearest multiple of n, where n could be any number? For example, if n = 5, it would round 8

DataObject Object

Question: In an event, I declared a dataobjectvariable and instantiated it this way : Dim do_1 as dataobject Set do_1= New dataobject But when I run the program I get

String Manipulation

Question: I have a VB app which formats a large text file and then prints it using MS Word. I need to include what amounts to a thick underscore in

Class Module(.cls) vs. Module(.bas)

Question: For the same global function, what’s the difference between placing it in a global module and in a class module?Are there any performance issues involved? If so, which way