Posts by BlackBeltVB
89 hits, 12 pages | Prev | NextScan for the edge of a bitmap to create a transparent region. Scans the edge of a bitmap and creates a polygon region. Use it to create odd-shaped forms. It does not scan for "internal" transparent areas - only the edge. The background color needs to be unique. Also shows how to allow form dragging without a caption.
How to limit lines in a TextBox control. Shows how to limit a TextBox to a specific number of characters per line and a specific number of lines.
How to retrieve the EXE filenames of running processes
How to implement Windows standard file operations (copy, move, delete).
How to find files via recursive directory searching. Uses a recursive procedure to find files that match your search and path entries. Also contains functional equivalents of InstrRev, Split, and Replace functions for earlier versions of VB.
How to use flat, non-clickable headers with the ListView control. Give your listboxes a little more modern look.
How to animate transparent images without flicker. Extensive comments in the sample explains how it all works.
How to align fonts along a baseline. When printing different point sizes of a font using VB's Print method, they default to aligning at the top of the characters rather than on a common baseline. This sample shows how to properly align them. Works for the Form, PictureBox, UserControl, and Printer objects.
89 hits, 12 pages | Prev | Next