devxlogo

Tip Bank

Populating a ComboBox

Question: I am trying to populate a comboxbox from a table (or query). If I use dataware is only receive the first record, I however want all records in the

The difference of FileLen() and Len()

Question: What are the difference between FileLen() & Len()? When checking the file size making sure it is not exceeding 32KB in the text box, should I use FileLen() or

Year 2000 Compliance

Question: Is Visual Basic Year 2000 compliant? Answer: All versions of Visual Basic support four digit dates. However, it is up to the programmer to support four digit dates. This

Retrieving a Drive’s Serial Number

Question: I want to get the serial number from my hard drive and my floppy disk drive. How can I do this? Answer: The GetVolumeInformation API call is used to

(file)listview

Question: How can I show the tables in an Interbase database in listview or filelist? (like the database explorer) Answer: The only way to do that is as follows:1) Create

Reading Bitmap Files

Question: I need to read and analyze the *.bmp file. How I can do it without PictureBox? Answer: In order to open the file, you need to use the Open

window.open() method

Question: HI! I hope you can help me. I’m opening a window with the window.open() method, and for the life of me, I can’t get it to be the size

Wrapper Class

Question: In VB4, how do I create a wrapper class for a textbox?I want to be able to add properties to a textbox. Answer: There are many approaches you can