Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
  Index: Software Engineering  
Error Handling Application Development Design
Validation Collections DLLs
Mainframes Dialogs
Multithreading Misc Control Arrays
Interoperability Functions Arrays
IDE Cryptography Routines
VB Popups Customization
Splash Screens Starting and Stopping Compatibility
Data Types Internationalization Classes
User Interface Reparent Parameters
Installation Networking Toolbox
Communications Serialization Cursors
Screen Savers Objects Generics
Comments Regular Expressions Reflection
Extension Methods
 
 
 
Visual Basic 2008 Programmer's Reference Visual Basic 2008 Programmer's Reference

Revised and Updated for Visual Basic 2008

Includes more than 400 example programs!

 
Error Handling

Title Keywords  
HowTo: Select a particular property in a PropertyGrid control in Visual Basic .NETPropertyGrid, property grid, select property, VB.NETDownload
HowTo: Select a particular property in a PropertyGrid control concisely in Visual Basic .NETPropertyGrid, property grid, select property, VB.NETDownload
HowTo: Compare floating point numbers safely in Visual Basic .NETSingle, Double, compare, floating point, float, VB.NETDownload
HowTo: Compare floating point numbers safelySingle, Double, compare, floating point, floatDownload
HowTo: Use code that allows the user to abort, retry, or ignore when an error occurserror, error handling, abort, try, ignoreDownload
HowTo: Deter an SQL injection attackSQL injection, attack, hacker, data, safeDownload
HowTo: Build a simple logging classlog, logging, log fileDownload
HowTo: Display a nice graphical error form when the program catches an errorerror handling, bug proofing, error report, error logDownload
Bug Proofing Visual Basic: Discussion: Performance Tipssoftware engineering, software development, performance, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Discussion: Named Argumentssoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Discussion: "About Face"software engineering, software development, user interface design, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Discussion: Naming Conventionssoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Discussion, Q & Asoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Updatessoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Source Codesoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Comment Templatessoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basic: Table of Contentssoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basicsoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook
Bug Proofing Visual Basicsoftware engineering, software development, bug proofing, error handling, bugs, bug-proofingBook

Application Development

Title Keywords  
HowTo: Use a variable to hold delegates (function pointers) in Visual Basic 2005delegate, function pointer, function reference, method pointer, methd reference, Visual Basic 2005Download
HowTo: Get day, month, date, time, and number format information for the computer's locale in Visual Basic 2005day, month, date, time, number, percent, format, locale, VB.NETDownload
HowTo: Use a macro to build a Select Case statement for an enumerated value in Visual Basic 2005macro, enum, select case, VB.NET, VB 2005Download
What's New in Visual Basic 2008Visual Basic 2008, Visual Basic, Orcas, changes, what's new 
What's New in .NET Framework 3.0.NET Framework 3.0, .NET Framework, changes, what's new,  
What's New in VistaVista, operating systems, changes, what's new,  
What's New: Vista and .NET Framework 3.0Vista, .NET Framework, .NET Framework 3.0, changes, what's new,  
Review: Code Craft by Pete Goodliffecode craft, writing solid code, programming techniques, book review, development, project management 
Tip: Turn hexadecimal display on and off in the Command (Immediate), Watch, and other debugging windows in Visual Basic .NETCommand Window, Watch Window, Immediate Window, hexadecimal, debug, debugging 
HowTo: Perform a sequence of timed actions without multi-threadingaction, timed, timer, eventDownload
HowTo: Use interface inheritance by using the Implements keywordinterface inheritance, Implements, subclass, derived classDownload
HowTo: Make a loop that times out after a certain periodtimeout, loopDownload
Tip: VB 6 Coding Stylecoding style, code style, rules 
HowTo: Allow quick upgrades of pictures in an applicationpicture, upgrade, deploy, deploymentDownload
HowTo: Use the WeakReference class in VB .NETWeakReference, garbage collection, garbage collector, VB.NETDownload
HowTo: Set an application's icon in VB .NETapplication icon, icon, VB .NETDownload
HowTo: Demonstrate many useful techniques including backward and forward compatibilitycompatibility, forward compatibility, backward compatibility, drawing, file, serialization, MRU listDownload
HowTo: Bind a ComboBox to a database lookup table in VB .NETdatabase, ADO.NET, VB .NET, bound controls, data binding, ComboBox, lookup tableDownload
HowTo: Bind simple controls to a database in VB .NETdatabase, ADO.NET, VB .NET, bound controls, data bindingDownload
HowTo: Open a database in the project's main directory during development in VB .NETdatabase, ADO.NET, VB .NETDownload
HowTo: Get information about the program's title, description, copyright, version, etc. in VB .NETtitle, description, version, copyright, trademark, company, VB.NETDownload
Tip: Use code regions to simplify VB .NET codeVB .NET, region, code region, code, simplify 
HowTo: Make an ActiveX DLL serverActiveX, DLL, server, libraryDownload
HowTo: Record a program's usageusageDownload
HowTo: Disable Ctl-Alt-Delctl-alt-del, disableDownload
Prototyping With Visual Basicsoftware engineering, software development, prototyping, project managementBook
Prototyping With Visual Basicsoftware engineering, software development, prototyping, project managementBook

Design

Title Keywords  
HowTo: Give a class a Clone method in Visual Basic .NETclass, clone, VB.NETDownload
HowTo: Make a tabbed wizard in Visual Basic 2005wizard, tabbed wizard, VB2005Download
Expert One-on-One Visual Basic 2005 Design and DevelopmentVisual Basic 2005, Visual Studio 2005, programming, design, development, reflection, code standards, bug proofing, bug-proofing, testing, snippets, macros, agile methods, splash screen, threadingBook
HowTo: Display samples of the SystemFonts in Visual Basic .NETSystemFonts, system fonts, font, VB.NETDownload
HowTo: Make a simple standard dialog in VB .NETBarnsley's Fern, fractal, iterated functions, iterated function system, VB.NETDownload
HowTo: Use interface inheritance by using the Implements keywordinterface inheritance, Implements, subclass, derived classDownload
HowTo: Use code that allows the user to abort, retry, or ignore when an error occurserror, error handling, abort, try, ignoreDownload
HowTo: Make a tabbed wizard in VB .NETwizard, tabbed wizardDownload
HowTo: Make a wizard that uses buttons for navigation in VB .NETwizard, button wizardDownload
HowTo: Provide an MRU list in VB .NETMRU, MRU list, VB.NET, most recently used file listDownload
HowTo: Make a dialog that stretches controls on the bottom and right to take advantage of its full size using the Dock property in VB .NETstretch, Dock, VB .NETDownload
HowTo: Make a dialog that stretches controls on the bottom and right to take advantage of its full size in VB .NETstretch, Anchor, VB .NETDownload
HowTo: Make a dialog that stretches controls on the right to take advantage of its full size in VB .NETstretch, Anchor, VB .NETDownload
HowTo: Compare the speeds of Choose and Select CaseChoose, Select Case, performanceDownload
HowTo: Compare the speeds of Choose and Select Case in VB .NETChoose, Select Case, VB.NET, performanceDownload
HowTo: Keep track of the number of MDI child formsMDI, subformsDownload
HowTo: Make a program close itself if it has been inactive for too longinactive, security, closeDownload
HowTo: Make a Wizard using tabswizard, tabs, stepsDownload
HowTo: Make a Wizard using Prev/Next buttonswizard, previous, next, stepsDownload
HowTo: Read fixed-length records from a filefixed-length, fixed length, record, random access, fileDownload
HowTo: Make a program do something special the first time it runsone time task, startup, first timeDownload
Bug Proofing Visual Basic: Discussion: Rigorous Designsoftware engineering, software development, design, bug proofing, error handling, bugs, bug-proofingBook

Validation

Title Keywords  
HowTo: Verify a username and password in a database in Visual Basic .NETpassword, user name, user id, verify passwoord, database, ADO.NET, VB.NETDownload
HowTo: Deter an SQL injection attackSQL injection, attack, hacker, data, safeDownload
HowTo: Make an ActiveX control that allows the user to enter only valid integer within a certain rangefield, integer, data validation, validationDownload
HowTo: See if a string is a Byte, Integer, or Long valueinteger, byte, long, data validation, validationDownload
HowTo: Use validation events in VB .NETvalidate, validation, Validating, ValidatedDownload
HowTo: Perform field- and form-level validationsfield, form, validationDownload
HowTo: Validate phone numbers, zip codes, and Canadian postal codesvalidate, validation, phone number, Zip code, Canadian postal codes, postal code, CanadaDownload
HowTo: Make a field for the user to enter an IP addressIP address, masked field, validationDownload

Collections

Title Keywords  
HowTo: Make a generic serializable dictionary class and save and restore objects in it in Visual Basic 2005serializable dictionary, Dictionary, serialization, serialize, generics, Visual Basic 2005, VB 2005Download
HowTo: Make a generic serializable dictionary class in Visual Basic 2005serializable dictionary, Dictionary, serialization, serialize, generics, Visual Basic 2005, VB 2005Download
HowTo: Make a component that has a collection property in Visual Basic .NETcomponent, collection, collection property, VB .NET, TypeConverter, type converterDownload
HowTo: Make a TypeConverter for a collection in Visual Basic .NETTypeConverter, type converter, PropertyGrid, Properties window, collection, property, VB .NETDownload
HowTo: Create a custom collection that supports For Eachcustom collection, For Each, enumerate, enumerator, NewEnumDownload
HowTo: Make a collection classcollection classDownload

DLLs

Title Keywords  
HowTo: Use a .NET system DLL in a Visual Basic 6 programVB .NET, DLL, System DLL, WebClient, downloadFileDownload
HowTo: Use a Visual Basic 6 DLL from VB .NETVB6, Visual Basic 6, VB.NET, Visual Basic .NET, DLLDownload
HowTo: Use VC++ to create a DLL file and use its functions in Visual Basic 6VC++, VCC, DLL, C++Download
HowTo: Use a Visual Basic DLL file in an Excel spreadsheetDLL, ExcelDownload
HowTo: Make an ActiveX DLL serverActiveX, DLL, server, libraryDownload
HowTo: Make a DLL that contains icons or other picturesDLL, icon, pictureDownload

Mainframes

Title Keywords  
Tutorial: Screen Scrapingscreen scraping, mainframe, AS400, legacy systems 

Dialogs

Title Keywords  
HowTo: Convert Up and Down arrow keys to Tab and Shift-Tab for easy navigation in Visual Basic .NETTab, Tab key, up arrow, down arrow, navigationDownload
HowTo: Convert Enter and Escape keys to Tab and Shift-Tab for easy navigation in Visual Basic .NETTab, Enter, Escape, Tab key, Enter key, Escape key, dialogDownload
HowTo: Make a simple standard dialog in VB .NETBarnsley's Fern, fractal, iterated functions, iterated function system, VB.NETDownload
HowTo: Let the user pick multiple files in VB .NETfile, open file, select file, VB .NETDownload
HowTo: Let the user pick multiple filesfile, open file, select fileDownload
HowTo: Make a tabbed wizard in VB .NETwizard, tabbed wizardDownload
HowTo: Make a wizard that uses buttons for navigation in VB .NETwizard, button wizardDownload
HowTo: Make a standard dialogdialog, standard dialogDownload
HowTo: Use the color selection dialog with custom colors in VB .NETcolor, select color, pick color, color selection, color selection dialog, VB.NETDownload
HowTo: Use the color selection dialog in VB .NETcolor, select color, pick color, color selection, color selection dialog, VB.NETDownload
HowTo: Make a dialog that stretches controls on the bottom and right to take advantage of its full size using the Dock property in VB .NETstretch, Dock, VB .NETDownload
HowTo: Make a dialog that stretches controls on the bottom and right to take advantage of its full size in VB .NETstretch, Anchor, VB .NETDownload
HowTo: Make a dialog that stretches controls on the right to take advantage of its full size in VB .NETstretch, Anchor, VB .NETDownload
HowTo: Make a form act modal when it is notform, modal, fake modal, dialogDownload
HowTo: Make a window appear modal when it is notform, modal, fake modalDownload
HowTo: Make a Wizard using tabswizard, tabs, stepsDownload
HowTo: Make a Wizard using Prev/Next buttonswizard, previous, next, stepsDownload
HowTo: Make an expandable dialog with More and Less buttonsdialog, more, less, expandable, detailDownload
HowTo: Make a "semi-modal dialog" that acts modal with respect to a single form in an applicationsemi-modal, modal, dialogDownload

Multithreading

Title Keywords  
HowTo: Perform a sequence of timed actions without multi-threadingaction, timed, timer, eventDownload
HowTo: Change a thread's prioritythread, priority 
HowTo: Draw a continuous graph in a separate thread in VB .NETVB .NET, graph, graphing, thread, threadingDownload
Rant: Multithreading: A Kludge for Poor Software Designmultithreading, threading, threadDownload
HowTo: Let a long process run asynchronously without multithreadinglong process, multithreading, threadDownload

Misc

Title Keywords  
HowTo: Make CAPTCHA images (version 4) in Visual Basic 6CAPTCHA, Turing test, image, image processing, distort imageDownloadBook
HowTo: Make CAPTCHA images (version 6) in Visual Basic .NETCAPTCHA, Turing test, image, image processing, distort imageDownloadBook
HowTo: Make a class that can clone itself in Visual Basic 2003clone, copy, Visual Basic 2003Download
HowTo: Use the fsutil utility to get a disk's NTFS informationfsutil, NTFS, consoleDownload
HowTo: Display drive information in Visual Basic 2005drive information, VB2005, VB.NETDownload
HowTo: Use the fsutil utility to get a disk's NTFS information into an object with fields in Visual Basic 2005fsutil, NTFS, console, VB2005, VB.NETDownload
HowTo: Use the fsutil utility to get a disk's NTFS information in Visual Basic 2005fsutil, NTFS, console, VB2005, VB.NETDownload
HowTo: Mark a program to run with elevated privileges by using its manifest in Visual Basic 2008UAC, shield, Vista, user access control, elevated privilegesDownload
HowTo: Launch a program while requesting privilege elevation in Visual Basic 2008UAC, shield, Vista, user access control, elevated privileges, Run As, RunAsDownload
HowTo: Add UAC shields to buttons, menu items, and picture boxes in Visual Basic 2008UAC, shield, Vista, user access controlDownload
HowTo: Use a macro to build a Select Case statement for an enumerated value in Visual Basic 2005macro, enum, select case, VB.NET, VB 2005Download
HowTo: Force garbage collection in Visual Basic .NETgarbage collection, garbage collector, GC, VB.NETDownload
HowTo: Make CAPTCHA images (version 4) in VB .NETCAPTCHA, Turing test, image, image processing, distort image, VB.NETDownload
HowTo: Make CAPTCHA images (version 3) in VB .NETCAPTCHA, Turing test, image, image processing, distort image, VB.NETDownload
HowTo: Make CAPTCHA images (version 2) in VB .NETCAPTCHA, Turing test, image, image processing, distort image, VB.NETDownload
HowTo: Make CAPTCHA images (version 1) in VB .NETCAPTCHA, Turing test, image, image processing, distort image, VB.NETDownload
HowTo: Make CAPTCHA images (version 5) in Visual Basic .NETCAPTCHA, Turing test, image, image processing, distort imageDownload
HowTo: Make CAPTCHA images (version 2) in Visual Basic 6CAPTCHA, Turing test, image, image processing, distort imageDownload
HowTo: Make CAPTCHA images (version 1) in Visual Basic 6CAPTCHA, Turing test, image, image processing, distort imageDownload
HowTo: Make CAPTCHA images (version 3) in Visual Basic 6CAPTCHA, Turing test, image, image processing, distort imageDownload
HowTo: Convert between UTC time and local timeUTC time, local time, convert timeDownload
Tip: Debug at design time with in the same project in Visual Basic .NETdebug, design time, VB.NET 
HowTo: Learn the number of CPUs on the system in Visual Basic 2005CPU usage, CPU load, PerformanceCounter, VB.NETDownload
HowTo: Learn the number of CPUs on the systemCPUs, number CPUs, CPU, processorsDownload
HowTo: Monitor CPU usage in Visual Basic .NETCPU usage, CPU load, PerformanceCounter, VB.NETDownload
HowTo: Verify a username and password in a database in Visual Basic .NETpassword, user name, user id, verify passwoord, database, ADO.NET, VB.NETDownload
HowTo: Unload an application's forms in reverse order of creationclose, unload, formDownload
HowTo: Unload an application's forms in reverse order of creation, stopping if any don't unloadclose, unload, formDownload
HowTo: Unload an application's forms in reverse order of creation, skipping any that don't unloadclose, unload, formDownload
HowTo: Easily list the values defined by an Enum in Visual Basic .NETEnum, list values, enumerated values, GetValues, VB.NETDownload
HowTo: Draw certain cells in a DataGrid with different colors in Visual Basic .NETDataGrid, color, cell, colored cell, cutoff, VB.NETDownload
HowTo: Draw and order simple objects (rectangle, circle, etc.) and let the user click themdrawing, object, rectangle, circle, order, to top, to bottomDownload
HowTo: Chop a large file of tab-delimited data into manageable pieces in VB .NETADO, database, insert, quotesDownload
Tip: Comment Long Sections of Code By Using Conditional Compilationcomment, conditional compilation 
HowTo: Display a status bar showing the steps in a long taskStatusBar, steps, stages, progress, ProgressBarDownload
Tip: VB 6 Coding Stylecoding style, code style, rules 
HowTo: Change a thread's prioritythread, priority 
HowTo: Count the lines of code in a Visual Basic 5/6 projectcount lines, project, forms, modules, subs, subroutines, functionsDownload
HowTo: Count the lines of code in Visual Basic 5/6 projects within a directory hierarchycount lines, project, forms, modules, subs, subroutines, functionsDownload
HowTo: Remove system menu items from another programsystem menu, remove menu, remove system menu, other program, RemoveMenus, DeleteMenu, FindWindowDownload
HowTo: Center a form above another formcenter formDownload
HowTo: Select random files from a set of directories to build a MP3 player mixmp3, mix, random, random files, browse, SaveSetting, GetSetting, DeleteSettingDownload
HowTo: Select random files from a set of directories to build a MP3 player mix in VB.NETmp3, mix, random, random files, browse, SaveSetting, GetSetting, DeleteSettingDownload
HowTo: Use winsock to make a simple chat programwinsock, chat, IPCDownload
HowTo: Display an optional tip of the day when a program startstotd, tip of the day, tip-of-the-dayDownload
HowTo: See how many items are in the recycle bin and delete themrecycle bin, wastebasket, waste basketDownload
HowTo: Set another application's captioncaption, title, SendMessage, application titleDownload
HowTo: Print an Excel worksheet displayed in an OLE container objectOLE, print, Excel, OLE containerDownload
HowTo: Read all of the values in an INI fileINI file, INI, initialization fileDownload
HowTo: Display the big and small icons associated with a fileicon, large icon, small iconDownload
HowTo: Use VSA to let the user execute scripts in Visual Basic .NETVSA, Visual Studio for Applications, script, VB.NETDownload
HowTo: Display the Microsoft System Information applicationsystem informationDownload
HowTo: Present a tip-of-the-daytotd, tip of the day, tip-of-the-dayDownload
HowTo: Align a form's Help menu on the right side of the menu baralign help menu, justify help menu, help menuDownload
HowTo: Make an owner drawn menu using non-standard fonts and items that are bold, underlined, and italic.owner draw menus, custom menus, bold, underline, italicDownload
HowTo: Make an owner drawn menu with bitmapsowner draw menus, custom menus, bitmap, bold, underline, italicDownload
HowTo: Make a console application that checks for palindromesconsole, stdin, stdout, stderrDownload
HowTo: Execute VB Script code at run timeVBScript, scriptDownload
HowTo: Use the TypeLib routine Invokehook to find a control's name and invoke a routineTypeLib, InvokeHook, get nameDownload
HowTo: Make a tabbed wizard in VB .NETwizard, tabbed wizardDownload
HowTo: Make a wizard that uses buttons for navigation in VB .NETwizard, button wizardDownload
HowTo: Provide an MRU list in VB .NETMRU, MRU list, VB.NET, most recently used file listDownload
HowTo: Make an MDI application with an MRU listMRU, most recently used files, MRU list, MDIDownload
HowTo: Make an MRU listMRU, most recently used files, MRU listDownload
HowTo: Demonstrate many useful techniques including backward and forward compatibilitycompatibility, forward compatibility, backward compatibility, drawing, file, serialization, MRU listDownload
HowTo: Find the Windows directory without using the APIWindows directory, Windows, WinDirDownload
HowTo: Get the Windows directory from the environmentWindows directory, Windows, WinDir, Environ, environmentDownload
HowTo: Resize controls to fit when a form resizesstretch, controls, resize, stretch controlsDownload
HowTo: Determine whether the program is running in the IDE or as a compiled executable by using Debug.Printrun mode, IDE, executable, Debug.PrintDownload
HowTo: Determine whether the program is running in the IDE or as a compiled executable by using Debug.Assertrun mode, IDE, executable, Debug.AssertDownload
HowTo: Display multi-column menus and popupsmenu, multi-column menu, columnDownload
HowTo: Drag and drop using VB .NETdrag and drop, drag, drop, VB.NET, AllowDropDownloadBook
Tip: Use code regions to simplify VB .NET codeVB .NET, region, code region, code, simplify 
HowTo: Keep track of the last control to have the focuslast control, focusDownload
HowTo: Use a ProgressBar to give the status of a long taskprogress bar, ProgressBar, long task, statusDownload
HowTo: Use a ProgressBar with a long task without timerprogress bar, ProgressBar, long task, statusDownload
HowTo: Display a progress bar while copying a fileprogress bar, copy fileDownload
HowTo: Use the GetVersionExA API function to get the operating system versionGetVersionExA, OS version, operating system versionDownload
HowTo: Use the SysInfo control to get the operating system versionSysInfo, OS version, operating system versionDownload
HowTo: Allow the user to enter "super user" mode by entering a passwordsuper user, passwordDownload
HowTo: Make a program compile and run another programcompile, run, make and runDownload
HowTo: Magnify the area under the mousemouse, magnifyDownload
HowTo: Allow the user to start and stop a long processlong process, start, stopDownload
HowTo: Let the user control a long process, displaying ellapsed timelong process, start, stopDownload
HowTo: Draw simple objects (rectangle, circle, etc.) using a single class and let the user click themdrawing, object, rectangle, circleDownload
HowTo: Play an embedded sound fileVB.NET, audio, MIDI, WAV, sound, embedded sound filesDownload
HowTo: Compare the speeds of IIf and If Then statementsIIf, If Then, speed, performanceDownload
HowTo: Fill a ComboBox with a list of countriescountry, countriesDownload
HowTo: Use a Select Case statement to display multiple instances of a form given its nameform, form name, show formDownload
HowTo: Use a command objects to display multiple instances of a form given its nameform, form name, show formDownload
HowTo: Use a collection to display one instance of a form given its nameform, form name, show formDownload
HowTo: Keep track of what's on the clipboardclipboard, clip board, copy, cut pasteDownload
HowTo: Find the program associated with a file extensionassociated program, extension, default programDownload
HowTo: Draw simple objects (rectangle, circle, etc.) and let the user click themdrawing, object, rectangle, circleDownload
HowTo: Get a file's creation, last access, and last modification times using FSOfile times, modification time, access time, creation timeDownload
HowTo: Set the computer's time using the NIST atomic clocktime, clock, NIST, atomic clockDownload
HowTo: Get information about all of a control's propertiescontrol property, property information, TypeLibDownload
HowTo: Implement multi-level Undo and Redo commandsundo, redoDownload
HowTo: Get a file's creation, last access, and last write timesfile, creation, access, writeDownload
HowTo: Get the icons associated with a file typeicon, file type iconDownload
HowTo: Execute a line of code stored in a stringexecute line, VBA, vba6.dll, vba5.dll, vba332.dllDownload
HowTo: Display the ellapsed time after a long operationellapsed time, TimerDownload
HowTo: Display the ellapsed time after a long operation using DateDiffDateDiff, ellapsed timeDownload
HowTo: Get a computer's IP address from its nameIP address, internet addressDownload
HowTo: Get the computer's registered owner and company from Windows 98Windows 98, register, registration, owner, companyDownload
HowTo: Display a "construction zone" dialog for unimplemented featuresunder construction, construction zone, unimplemented featureDownload
HowTo: Get the computer's registered owner and company from Windows NTWindows NT, register, registration, owner, companyDownload
HowTo: Measure a process's user, privileged, and total time in VB .NETuser time, privileged time, total time, ellapsed timeDownload
HowTo: Make a Wizard using tabswizard, tabs, stepsDownload
HowTo: Make a Wizard using Prev/Next buttonswizard, previous, next, stepsDownload
HowTo: Measure elapsed time in VB .NETVB.NET, elapsed time, time, timer function, secondsDownload
HowTo: Measure elapsed timeelapsed time, time, timer function, secondsDownload
HowTo: Compare the speeds of Integers and LongsInteger, Long, data type, speed, performanceDownload
HowTo: Invoke a function by name using CallByNameCallByName, execute, invoke, call, function, subroutineDownload

Control Arrays

Title Keywords  
HowTo: See if a control is in a control arraycontrol, control array, indexDownload
HowTo: Dynamically create controls at runtime using Loadcontrol, load, control arrayDownload
HowTo: Manage a 2-dimensional control arraycontrol array, two-dimensional, 2DDownload
HowTo: Safely manage control arrays with missing elementscontrol array, safeDownload
HowTo: Pass a control array to a subroutine as a parametercontrol array, parameter, argumentDownload

Interoperability

Title Keywords  
HowTo: Ping an IP address in Visual Basic 6ping, ping IP address, IP address, IcmpSendEchoDownload
HowTo: Use sockets to convert an IP address to a host name or vice versa in Visual Basic 6sockets, convert IP address, convert host name, IP addressDownload
HowTo: Ping a host by name in Visual Basic 6sockets, convert IP address, convert host name, IP address, ping, ping IP address, IcmpSendEchoDownload
HowTo: Display samples of the colors defined in VBRUN.SystemColorConstantscolor, system colors, VBRUN, SystemColorConstantsDownload
HowTo: See what URL Internet Explorer is displayingInternet Explorer, IE, address, URLDownload
HowTo: Remove system menu items from another programsystem menu, remove menu, remove system menu, other program, RemoveMenus, DeleteMenu, FindWindowDownload
HowTo: Use winsock to make a simple chat programwinsock, chat, IPCDownload
HowTo: Find an application using its title and maximize itmaximize, application, SendMessage, BringWindowToTopDownload
HowTo: Prevent the user from resizing another programmenu, resize, minimize, maximizeDownload
HowTo: Add (non-working) menu items to another applicationmenu, other programDownload
HowTo: Get information about running windowsenumerate windows, EnumWindows, window informationDownload
HowTo: Grab text and other window information from another applicationgrab text, application, window informationDownload
HowTo: Make two Visual Basic program exchange data using DDEDDE, data exchangeDownload
HowTo: Cascade Internet Explorer windows on the desktopcascade, internet explorer, arrange windows, desktopDownload
HowTo: Send an Outlook Express attachmentOutlook Express, email, e-mail, attachment, ShellExecute, FindWindowDownload

Functions

Title Keywords  
HowTo: Make a VB6 function return an arrayfunction, array, return, VB6Download

Arrays

Title Keywords  
HowTo: Sort objects by making a class implement the IComparable interface in Visual Basic .NETcompare, IComparable, sort, sortable, Array.Sort, VB.NETDownload
HowTo: Sort objects by different key fields by building a comparer class in Visual Basic .NETcomparer, IComparer, sort, sortable, Array.Sort, VB.NETDownload
HowTo: Make functions that calculate the minimum and maximum of their parametersMin, Max, minimum, maximumDownload
Tip: .NET Empty ArraysVB.NET, array, empty array, ReDim 
HowTo: Redimension multiple arrays in a single statement in VB.NETReDim, arrayDownload
HowTo: Copy memory quickly using MemCopy (RtlMoveMemory) in VB .NETRtlMoveMemory, copy memory, MemCopy, CopyMemory, array, memoryDownload
HowTo: Use the RtlMoveMemory (CopyMemory) API function to copy memory between 2-D arrays in VB .NETRtlMoveMemory, copy memory, MemCopy, CopyMemory, array, memoryDownload
HowTo: Copy memory extremely quicklyRtlMoveMemory, copy memory, MemCopy, CopyMemory, array, memoryDownload
HowTo: Use the RtlMoveMemory (CopyMemory) API function to copy memory from a 2-D array to a 1-D arrayRtlMoveMemory, copy memory, CopyMemory, array, memoryDownload
HowTo: Load an array from a file in three waysarray, load array, file, InputDownload
HowTo: Copy array data into a FlexGrid controlFlexGrid, array, dataDownload
HowTo: Compare the items in two sorted arrayscompare, arrays, sortedDownload
HowTo: Quickly load an array with values in VB4array, load, values, dataDownload
HowTo: Quickly load an array with values in VB3array, load, values, dataDownload
HowTo: Make a VB6 function return an arrayfunction, array, return, VB6Download

IDE

Title Keywords  
HowTo: Provide design time support for a custom control in Visual Basic .NETcustom control, design time, support, icon, smart tag, properties, dropdown, editor, UITypeEditor, VB.NETDownload
HowTo: Determine if the program is running in the IDE or an executable.IDE, executable, run, runningDownload

Cryptography

Title Keywords  
Talk: Four Fascinating Featuresregular expressions, cryptography, reflection, Direct3D, graphics, algorithms 
HowTo: Verify a username and password in a database in Visual Basic .NETpassword, user name, user id, verify passwoord, database, ADO.NET, VB.NETDownload
HowTo: Encrypt and decrypt a file using a DES algorithm in VB .NETNetBIOS, name, NetBIOS name, computer name, host nameDownload
HowTo: Validate a user name/password in a databasepassword, cryptography, databaseDownload
HowTo: Verify the user's Windows passwordpassword, cryptography, Windows passwordDownload
HowTo: Give a program a simple one-time passwordpassword, cryptography, one-time passwordDownload
HowTo: Register a product for a particular systemproduct, register, serial number, disk, system, sharewareDownload
HowTo: Read and write encrypted files using Xorcryptography, Xor, file, encrypt, decrypt, code, decode, cipher, decipherDownloadBook

Routines

Title Keywords  
HowTo: Perform a sequence of timed actions without multi-threadingaction, timed, timer, eventDownload
HowTo: Use CallByName to set property values by nameCallbyName, propertyDownload
HowTo: Use CallByName to get property values by nameCallbyName, propertyDownload
HowTo: Call a subroutine by name in VB6subroutine, routine, VB6, CallByNameDownload

VB

Title Keywords  
Visual Basic 2008 Programmer's ReferenceVisual Basic 2008, Visual Studio 2008, programmingBook
HowTo: Use a variable to hold delegates (function pointers) in Visual Basic 2005delegate, function pointer, function reference, method pointer, methd reference, Visual Basic 2005Download
Visual Basic 2005 with .NET 3.0 Programmer's ReferenceVisual Basic 2005, Visual Studio 2005, .NET Framework 3.0, programmingBook
Visual Basic 2005 Programmer's ReferenceVisual Basic 2005, Visual Studio 2005, programmingBook
Tip: Should I Upgrade to Visual Basic 2008?VB 2008, Visual Studio 2008, Visual Basic 2008 
Expert One-on-One Visual Basic 2005 Design and DevelopmentVisual Basic 2005, Visual Studio 2005, programming, design, development, reflection, code standards, bug proofing, bug-proofing, testing, snippets, macros, agile methods, splash screen, threadingBook
Visual Basic 2005 Programmer's ReferenceVisual Basic 2005, Visual Studio 2005, programming 
HowTo: Generate code for standard property proceduresproperty procedure, get, set, replace, tokenDownload
HowTo: Generate code for standard property procedures in VB .NETproperty procedure, get, set, replace, tokenDownload
HowTo: Convert VB6 projects to VB5 projects easilyVB6 to VB5, convert, versionDownload
HowTo: Clear the Debug/Intermediate window programmatically in VB 4 or VB 5debug window, immediate window, clearDownload
Rant: VB .NET is less object-oriented than VB 6VB 7, VB .NET, VB 6, OOP, object-oriented programming 
Tip: Working with VB .NET and VB .NET 2003VB.NET, VB.NET 2003 
HowTo: Show a project's product information set in Project\Properties\Makeversion, copyright, minor, major, project properties, makeDownload
Rant: Why we are still waiting for Visual Basic Version 7VB 7, VB .NET 

Popups

Title Keywords  
HowTo: Position a popup form over a PictureBox in Visual Basic 6popup, position popup, PictureBox, Visual Basic, ClientToScreen, ShowWindow, SetWindowPosDownload
HowTo: Display tips in a rounded popup formform, help, tip, rounded rectangle, region, SetWindowRgnDownload
HowTo: Position a popup form below a TextBoxpopup, position, ClientToScreen, ShowWindow, SetWindowPosDownload
HowTo: Display an appropriate popup menu when the user right clicks on a TreeView node in VB .NETTreeView, popup menu, context menuDownload
HowTo: Display an appropriate popup menu when the user right clicks on a TreeView nodeTreeView, popup menu, context menuDownload
HowTo: Display multiple popups depending on whether Ctrl or Shift is pressedpopup menu, popup, context menu, PopupMenu, Ctrl, ShiftDownload
HowTo: Make a popup menupopup menu, popup, context menu, PopupMenuDownload
HowTo: Use a control's ContextMenu property to display a context menu in VB .NETContextMenu, context menu, dropdown menu, popup menuDownload
HowTo: Display popup menus when the user right clicks over a ListView on or off of an itemListView, popup, context menuDownload
HowTo: Display "balloon" help when the mouse is over a buttonballoon, help, popupDownload

Customization

Title Keywords  
HowTo: Save and restore toolbar configuration when a program starts and stopstoolbar, SaveToolbar, RestoreToolbar, configurationDownload
HowTo: Provide design time support for a custom control in Visual Basic .NETcustom control, design time, support, icon, smart tag, properties, dropdown, editor, UITypeEditor, VB.NETDownload
HowTo: Set an environment variableenvironment variable, SetEnvironmentVariable, environDownload
HowTo: Let the user decide which ToolBar buttons are visible in VB .NETToolBar, customize, customization, configure, VB.NETDownload
HowTo: Save and restore toolbar configuration when a program starts and stops in VB .NETToolBar, customize, customization, configure, VB.NETDownload
HowTo: Add hidden buttons to a toolbartoolbar, SaveToolbar, RestoreToolbar, configuration, hidden buttonsDownload
HowTo: Let the user move controlscontrol, move controlDownload
HowTo: Display the value of a specific environment variableenvironment variable, specific environment variableDownload
HowTo: Display all of a program's environment variablesenvironment variablesDownload
HowTo: Allow the user to customize a toolbartoolbar, customizationDownload

Splash Screens

Title Keywords  
HowTo: Use Excel VBA code to display a progress splash screen while performing a long taskExcel, VBA, splash screen, progressDownload
HowTo: Create a splash screensplash screenDownloadBook
HowTo: Make a program's main form slide over its splash screensplash screen, slide overDownload
Contest: Making a Splashsplash screen, startup, contest 
HowTo: Record a program's usageusageDownload

Starting and Stopping

Title Keywords  
HowTo: Start Notepad and wait for it to close in Visual Basic .NETstart Notepad, start process, process, Notepad, VB.NETDownload
HowTo: Start Notepad and wait for it to close in Visual Basic 2005start Notepad, start process, process, Notepad, VB2005Download
HowTo: Mark a program to run with elevated privileges by using its manifest in Visual Basic 2008UAC, shield, Vista, user access control, elevated privilegesDownload
HowTo: Launch a program while requesting privilege elevation in Visual Basic 2008UAC, shield, Vista, user access control, elevated privileges, Run As, RunAsDownload
HowTo: Add UAC shields to buttons, menu items, and picture boxes in Visual Basic 2008UAC, shield, Vista, user access controlDownload
HowTo: Use Internet Explorer to start sending email in Visual Basic .NETemail, mail, Internet Explorer, IExplore, VB.NETDownload
HowTo: Use a MailMessage object and SmtpMail.Send to send email in Visual Basic .NETemail, mail, MailMessage, SmtpMail.Send, IExplore, VB.NETDownload
HowTo: Allow only one instance of a program at one time in Visual Basic 2005one instance, instance, previous instance, PrevInstance, VB 2005Download
HowTo: Allow only one instance of a program at one time in Visual Basic .NETone instance, instance, previous instance, PrevInstance, VB.NETDownload
HowTo: Prevent the user from renaming an executable in Visual Basic 6rename, prevent rename, executable, executeDownload
HowTo: Prevent the user from renaming an executable in Visual Basic .NETrename, prevent rename, executable, execute, VB.NETDownload
HowTo: Save and restore ListBox items when a program stops and starts in Visual Basic 6ListBox, save, restore, Visual Basic 6Download
HowTo: Save and restore ListBox items when a program stops and starts in Visual Basic .NETListBox, save, restore, VB.NETDownload
HowTo: Unload an application's forms in reverse order of creationclose, unload, formDownload
HowTo: Unload an application's forms in reverse order of creation, stopping if any don't unloadclose, unload, formDownload
HowTo: Unload an application's forms in reverse order of creation, skipping any that don't unloadclose, unload, formDownload
HowTo: Simulate Alt-Tab in Visual Basic 6Alt-Tab, simulate, Visual Basic 6, keyboard, keybd_eventDownload
HowTo: Load a ListView control from an XML file in Visual Basic 6ListView, load, XML, Visual Basic 6Download
HowTo: Load a ListView control from an XML file in Visual Basic .NETListView, load, XML, VB.NET