devxlogo

Tip Bank

How to Generate a Sequence of Random Numbers

Standard C provides two functions for the purpose of random number generation–rand and srand. The function rand generates a sequence of pseudo-random numbers. The term pseudo-random implies that the generated

Adjust Combo Box Drop-down Width

Due to limited space on a form, you sometimes must keep the width of combo boxes small. Because a combo box lacks a horizontal scrollbar, some text might remain hidden.

Ragged Arrays

Who said arrays in VB can’t change all dimensions while preserving data? I call this the “variable dimensions array,” and I use it when applications need data arrays with more

Third-Party Spell Checker

Question: I’m looking for a third-party library that does spell check and has some grammar rules. Answer: You have two solutions to this problem. One: you can purchase a third-party

PBD to PBL Conversion

Question: Are there any tools that can generate back from PBD to PBL? Answer: There are no tools that I know of to reverse-engineer a PBD to a PBL. In

Response window looses focus in DW

Question: I have a datawindow with a couple of fields where users can double-click to see a code table. The code table window is a response window. The problem is

Import Objects in Power Builder 5.0

Question: How can I import objects in code? I need to import to a library objects such as userobject and window, and not only datawindow. I use the function libraryexport

Key combinations

Question: I’m developing an application for NT 4.0, and I don’t want that a fell key combinations works. So the question is, where can I disable functions such as Alt+Tab