Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Visual Basic (Microsoft) Versions 5/6 FAQ

Code Links

Links to VB Code Examples and Downloads (A to E) by Alt255
Posted: 19 Nov 00

Links: "Accessibilty" to "Errors"

If you have any useful links to contribute, email them to me. I will merge them with the other links and note your contributions. Comments regarding ways to organize this FAQ and make it easier to use are also appreciated.
(Note that links listed without a description consist of general "how to" discussions.)
FAQ Collaborators:
    (Your handle belongs here)

Web Sites Linked to This FAQ

Contents of FAQ222-283... Links to VB Code Examples and Downloads (A to E)
    API Basics
    Common Dialog
    Control Panel
    Desktop and Start Menu
Contents of FAQ222-286... Links to VB Code Examples and Downloads (F to I)
    File System
    Fonts & Text
    INI Files
    Input Devices (Keyboard/Mouse/Joystick)
Contents of FAQ222-287... Links to VB Code Examples and Downloads (J to R)
    Miscellanous API
    Miscellaneous Functions
    National Language Support
    Number Systems
    OO Development
    Processes & Threads
    Printers and Printing
    Random numbers
Contents of FAQ222-288... Links to VB Code Examples and Downloads (S to Z)
    System Information
    Tool Help
    Users and Usage
    Visual Basic IDE
    Window Classes
    Window Procedures
    Window Properties
    Win Help

(A to E FAQ222-283) (F to I FAQ222-286) (J to R FAQ222-287) (S to Z FAQ222-288)

    API Calls
API Basics
    Pass array to and from a procedure
    Open & Close CD-ROM drive
    View Clipboard
    Change name
    Change registered owner
    Obtain name
Common Dialog
    API Calls
    Browse folders
    Center Common Dialog
    Choose color dialog
    Find file dialog box
    Find/Replace dialog
    File dialog
    File Properties dialog
    Font Dialog
    Format floppy
    Message Boxes (API Calls)
    Open/Save Dialog
    Port settings
    Properties dialog
    Run dialog box
    Save As Dialog
    System Reboot dialog
        ASP Components
        Alarm control ;       
        COM interface
        Hide taskbar with a control
            API Calls    
    Allow end-user to move controls
    Common Controls (API Calls)
    Create at runtime
    Creating custom controls
    Command button
        Align caption
    Combo box
        Add check boxes
        Drop down with code
        Show or hide dropdown
    Drive, Dir & File list boxes
        Handle errors
        Open a file
        Add "about box" to control menu
        Center text in title bar

    Detect if form is loaded
    Using "What's This?" help
    Form size limiter
    Stick a form to another window
    Tiled background
    Custom tooltips
    Progress bar in a status bar
    Faded background
    OnMoving event
    Control Min and Max
    Move a no-caption form
    Capture desktop
    Maintaining aspect ratio
    "Don't show this message again!"
        Scrolling label
        Blinking labels

        Select item on right-click
        Create horiz scrollbars
        Clear all items
        Get first visible item
        Multi-select Listbox
        Reading from file
        Sorting numbered items
        Drag & Drop files
        Dragging file or folder
        Non-clickable headers
        Sort items on the fly
        Sorting numbers
        Select entire row
        Using header track selection
        Enable/disable controls in a frame
        Display current item as tooltip
        Center control on form
        Making a resize control
        React to font change events
        Make a control 3D
        Flashing background
        Flashing foreground
        Sysinfo control
    MS FlexGrid
    Picture Box
        Loading Images
    Register & unregister controls
    Rich Text Box
        Positioning cursor
        Stopping word wrap
        Restoring focus
        Determine which are visible
        Using "Autocomplete"
        Validating pasted text
        Reading from file
        Testing the locke property
        Duplicate typing in separate boxes
        Only allow numbers
        Select all text on focus
        Adding special features
        Changing colors
        Label editing
        Save & Load to & from a file
        Drag & Drop the real selected node
        Find a specific node
        Limit text entry in item
        Only allow numbers in text
        Directory Treeview
Control Panel
    Launch extensions
    Bind complex-bound controls at runtime
    Convert table to Excel spreadsheet
    Copy a database table
    Count table rows before selecting them
    Create custom text file import routine
    Create a database user
    View database
    Retrieve current database path
    Export/Import/Convert any ISAM without automation
    Filling a ListBox with table names
    Fill Combo Box with fields returned from a query
    Linking tables for multi-user database
    Optimizing database applications
    Query the Top N or N% records
    Respond to the Auto-Commit feature in a data control
    Trap invalid ODBC logon
    Using the procedure attributes dialog box
    Using Data Environment with parameterized queries
    Closing all DB objects ;   
    Creation at runtime
    Speeding up
    Reusable DB class
        Access the description of a table field
        Automate a secured access database
        Bypass login prompt when opening a linked table
        Create database
        Search database
        Update more than 40 fields
        Use custom profile to alter data behavior
        Copying ADO image fields
        Delete records
        Load Combo box
        Switch from DAO to ADO
        Using Date Type
        Connections over the Internet
        Updating and retrieving SQL Server text fields
        ADO create parameter utility
        GetChunk and AppendChunk
        Bind DataReport to recordset at runtime
        Create HTML using ADO and MSFlexGrid
        Creating middle-tier data access components
        Open recordsets asynchroniously
        Open secured Access database
        Using DataLink files
        Using the ADO Shape command
        Query an Access table with a space in its name
    Crystal Reports
        Search Database
        Load Combo box
        Linking Combo Boxes
        Multi-user custom counters
        A database code creator
        Calling stored procedures
        Use "DSN-Less" ODBC connections
        Customize DAO registry to close an ODBC connection
        Accessing a database
        Pass date value to stored procedure
        Nested transactions
        Retrieve resultsets from stored procedures
        Retrieve typical resultsets from stored procedures
        Retrieve the SQL QueryPlan
        Call SQL system server stored procedures
        Handle asynchronious processes
        Keep cursor open after transaction
        Passing text fields to a stored procedure
        Dynamic Resultset cursors
        Create and implement a user connection
        Extract multiple Resultsets from stored procedures
        Use "DSN-less" ODBC connections
        Use ODBC API SQL Tables
        Use ODBC text driver to open a delimited text
        Using SQLExecDirect function
        Create master/detail form
        Configure server security with RDO and DAO
        Create and remove a DSN
        Extract filter criteria
        Handle quotes and pipes in concatenated literals
        List stored procedures in SQL server database
        Prgrammatically create DSN for SQL Server
        Query for literal special characters in a where clause
        Using SQL Server DATEPART function to get milliseconds
    Visual Foxpro
        Open table for Read/Write
Desktop and Start Menu
    Change wallpaper
        Color settings
    Control the speed of the start menu ;       
    Copy to picture box
    Hide the desktop
    Invert the desktop
    Start screensaver
    System Tray
        Adding program to tray
    Task bar
        Show icon for borderless form
        Unload application bar and desktop
        Hide or show
    API Calls
    Changing resolutions
    Enumerate display modes ;   
    Get the screen resolution
    Get the color depth
    Video settings
    API Calls
    Returning error levels

Back to Visual Basic (Microsoft) Versions 5/6 FAQ Index
Back to Visual Basic (Microsoft) Versions 5/6 Forum

My Archive


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close