Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Bookstore...
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
  Index: VB.NET  
Tips ADO.NET General
Variables Controls Files
Office Subclassing Printing
Graphics Text Fonts
Multimedia Forms Conversion
Web Reflection System
Formatting Misc Threading
Attributes XAML Framework 3.0
XML
 
 
 
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!

 
Tips

Title Keywords  
Bug: Cannot add controls to WPF form in Visual Basic 2008Visual Basic 2008, WPF, bug, controls 
HowTo: Give a class a Clone method in Visual Basic .NETclass, clone, VB.NETDownload
Bug: First release of Visual Basic 2008 adds bug to new WPF projectsVisual Basic 2008, WPF, bug 
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
What's New in Visual Basic 2008Visual Basic 2008, Visual Basic, Orcas, changes, what's new 
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: Make a Visual Basic .NET library that returns a picture to a Visual Basic 6 programlibrary, VB.NET, VB 6, Visual Basic 6, picture, DLLDownload
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 a program shrink to the system tray when the user clicks the close button in Visual Basic .NETsystem try, tray, shrink, hide, close, NotifyIcon, VB.NETDownload
HowTo: Let the user resize a form that has no title bar or borders in Visual Basic .NETresize form, title bar, WM_NCLBUTTONDOWN, HTCAPTION, SendMessage, DefWndProc, VB.NETDownload
HowTo: Let the user move a form that has no title bar or borders in Visual Basic .NETmove form, title bar, WM_NCLBUTTONDOWN, HTCAPTION, SendMessage, DefWndProc, VB.NETDownload
HowTo: Get the local and invariate date and time formats in VB .NETdate, time, format, invariate, local, VB.NETDownload
HowTo: Get the current user's name in Visual Basic .NETuser name, username, GetUserName, current user, VB.NETDownload
HowTo: Use a .NET system DLL in a Visual Basic 6 programVB .NET, DLL, System DLL, WebClient, downloadFileDownload
HowTo: Make and use custom attributes in VB .NETattribute, custom attributeDownload
HowTo: Bind a collection of objects to a DataGrid in VB .NETDataGrid, bind, data binding, collectionDownload
HowTo: Bind a collection of objects to a DataGrid and let it sort on the columns in VB .NETDataGrid, bind, data binding, collection, sort, IEditableObject, IBindingListDownload
HowTo: Terminate a process immediately in VB.NETterminate, end, halt, stop, kill, VB.NETDownload
Tip: .NET Empty ArraysVB.NET, array, empty array, ReDim 
HowTo: Use a VB .NET assembly from Visual Basic 6VB6, Visual Basic 6, VB.NET, Visual Basic .NET, DLL, assembly 
HowTo: Use a Visual Basic 6 DLL from VB .NETVB6, Visual Basic 6, VB.NET, Visual Basic .NET, DLLDownload
HowTo: Make a console window clear the console window in VB .NETconsole application, console window, clear, console, VB.NETDownload
HowTo: Draw on an MDI parent's background in VB .NETMDI, MDI parent, background, VB.NETDownload
HowTo: Change the color of an MDI parent form's background in VB .NETMDI, MDI parent, background, background image, VB.NETDownload
HowTo: Tile an MDI parent's background with an image in VB .NETMDI, MDI parent, background, background image, VB.NETDownload
HowTo: Embed bitmap, text, and other resource files in a compiled application and use them in VB .NETembed, embedded resource, resource, bitmapDownload
HowTo: Load resources from another Assembly in VB .NETresources, Assembly, VB .NETDownload
HowTo: Sort an array using custom sorting orders in VB .NETsort, compare, comparer, IComparer, sort order, orderDownload
HowTo: Make a shortcut key with no menu item in VB .NETshortcut, menu, hidden, VB.NETDownload
Tip: Resolve Invalid Cast exceptionsInvalid Cast exception, VB.NET 

ADO.NET

Title Keywords  
HowTo: Define a DataSet at design time in Visual Basic 2005DataSet, design time, VB.NET, Visual Basic 2005Download
HowTo: Select random records from a database table in Visual Basic .NETdatabase, random records, select records, 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: Make a lookup cache using ADO.NET in Visual Basic .NETADO.NET, cache, lookup, lookup table, tableDownload
HowTo: Make a DataTable at run time without a database and bind it to a DataGrid in VB .NETDownload
HowTo: Make a DataSet at run time without using any design time controls in VB .NETDataSet, runtime, database, ADO.NETDownload
HowTo: Use a bound DataGrid in VB.NETDataGrid, binding, bind, bound, VB.NETDownload
HowTo: Use IIF in a SQL SELECT statement to make a DataReport display a warning if a value is too low in VB.NETDataReport, VB.NET, IIF, warning, CrystalReportViewer, CrystalReport, CrystalReportsDownload
HowTo: Use IIF in a SQL SELECT statement to display a warning if a value is too low in VB.NETDataGrid, binding, bind, bound, VB.NET, IIF, warningDownload
HowTo: Make a PictureBox control that has a bindable FileName property in VB .NETbind, data, bindable, PictureBox, NamedPictureDownload
HowTo: Display the data in a DataSet by using as DataGrid control in VB .NETDataSet, DataGrid, VB.NET, data, database, ADO.NETDownloadBook
HowTo: Create records that have an AutoNumber field and find out what the newly created field value is in VB .NETDataSet, VB.NET, data, database, ADO.NET, AutoNumber, Auto Number, AutoIncrementDownloadBook
HowTo: Create a foreign key constraint between two DataTables in VB .NETDataSet, VB.NET, data, database, ADO.NET, foreign key, constraintDownloadBook
HowTo: Load a ListBox from a database query in VB .NETdatabase, VB.NET, ListBox, loadDownload
HowTo: Reset a DataGrid control when the data to which it is bound changes in VB .NETDataGrid, database, VB.NETDownload
HowTo: Execute a parameterized query in VB .NETdatabase, VB.NET, parameter, parameterized query, queryDownload
HowTo: Use database transactions in VB .NETtransaction, database, VB.NETDownload
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: Navigate a database with bound controls in VB .NETnavigate, database, bound control, VB.NETDownload
HowTo: Use a DataGrid in VB.NETVB.NET, NET, DataGrid, ADO.NETDownloadBook
HowTo: Get and set a single database value in VB .NETVB .NET, database, update, get, setDownload
HowTo: Create a unique constraint on data in VB.NETVB.NET, NET, DataGrid, ADO.NET, unique, constraintDownloadBook
HowTo: Display read-only data from an Access database using ADO.NETVB.NET, NET, DataGrid, ADO.NET, Access, read-only dataDownloadBook
HowTo: Display read-only data from an MSDE or SQL Server database using ADO.NETVB.NET, NET, DataGrid, ADO.NET, MSDE, SQL Server, read-only dataDownloadBook
HowTo: Use compiled-in data with ADO.NETVB.NET, NET, DataGrid, ADO.NET, inline data, compiled-in dataDownloadBook

General

Title Keywords  
Visual Basic 2008 Programmer's ReferenceVisual Basic 2008, Visual Studio 2008, programmingBook
Visual Basic 2005 with .NET 3.0 Programmer's ReferenceVisual Basic 2005, Visual Studio 2005, .NET Framework 3.0, programmingBook
HowTo: See if a number is expressible as a sum of two cubes (and calculate Taxicab numbers) in Visual Basic 2005sums of cubes, cubes, numeric algorithms, numeric, taxicab number, Visual Basic 2005, VB.NETDownload
HowTo: Make a countdown timer in Visual Basic 2005countdown timer, timer, alarm, Visual Basic 2005, VB.NETDownload
Visual Basic 2005 Programmer's ReferenceVisual Basic 2005, Visual Studio 2005, programmingBook
HowTo: Make a tabbed wizard in Visual Basic 2005wizard, tabbed wizard, VB2005Download
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
What's New in Visual Basic 2008Visual Basic 2008, Visual Basic, Orcas, changes, what's new 
HowTo: Force garbage collection in Visual Basic .NETgarbage collection, garbage collector, GC, 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
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
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: Monitor CPU usage in Visual Basic .NETCPU usage, CPU load, PerformanceCounter, VB.NETDownload
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: Easily list the values defined by an Enum in Visual Basic .NETEnum, list values, enumerated values, GetValues, VB.NETDownload
HowTo: Use the FormatCurrency function in Visual Basic .NETFormatCurrency, format currency, VB.NETDownload
HowTo: Use the FormatNumber function in Visual Basic .NETFormatNumber, format number, VB.NETDownload
HowTo: Use the FormatDateTime function in Visual Basic .NETFormatDateTime, format date, format time, format datetime, VB.NETDownload
HowTo: Use the FormatPercent function in Visual Basic .NETFormatPercent, format percentage, format percent, percent, percentage, VB.NETDownload
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: Let the user browse for a folder in Visual Basic .NETbrowse, browse for folder, SHBrowseForFolder, API, VB.NETDownload
Visual Basic 2005 Programmer's ReferenceVisual Basic 2005, Visual Studio 2005, programming 
HowTo: Localize control resources at run time in VB .NETlocale, internationalization, globalization, CultureInfo, runtimeDownload
HowTo: Localize control resources at run time by reloading the form in VB .NETlocale, internationalization, globalization, CultureInfo, runtimeDownload
HowTo: Localize control resources at run time by reopening the form in VB .NETlocale, internationalization, globalization, CultureInfo, runtimeDownload
HowTo: Run a DOS application and capture its output in VB .NETDOS, stdout, stderr, standard output, standard error, standard out, run, VB.NETDownload
Talk: Three Cool Namespacesregex, regular expression, XML, serialie, serialization, crypto, cryptography, hash, hashing, encrypt, decrypt, encryption, decryption 
HowTo: Use the RtlMoveMemory API function to copy part of a two-dimensional array into a one-dimensional array in Visual Basic .NETRtlMoveMemory, copy memory, CopyMemory, MoveMemory, array, VB .NETDownload
HowTo: Use the RtlMoveMemory (CopyMemory) API function to copy memory between 2-D arrays in VB .NETRtlMoveMemory, copy memory, CopyMemory, MoveMemory, array, VB .NETDownload
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: Launch the system's default browser in VB .NETbrowser, default browser, launch program, start programDownload
HowTo: Parse a hexadecimal string in VB .NET by using Integer.Parse.parse, hex, hexadecimal, VB.NET, Integer.ParseDownload
HowTo: Convert values between decimal, hexadecimal, octal, and binary in VB .NETconvert, decimal, hexadecimal, octal, binary, base, VB.NETDownload
HowTo: Bind a CurrencyManager to objects in a collection and use it for navigation in VB .NETCurrencyManager, binding, data binding, VB.NET, DataBindingDownload
HowTo: Bind controls' properties to each other in VB .NETbinding, data binding, VB.NET, DataBinding, properties, propertyDownload
HowTo: Use a VB .NET assembly from Visual Basic 6VB6, Visual Basic 6, VB.NET, Visual Basic .NET, DLL, assembly 
HowTo: Use a Visual Basic 6 DLL from VB .NETVB6, Visual Basic 6, VB.NET, Visual Basic .NET, DLLDownload
HowTo: Add files to the Recent Documents list and clear the list in Visual Basic .NETOffice, Word, spell, spellcheck, VB.NETDownload
HowTo: Make a console window clear the console window in VB .NETconsole application, console window, clear, console, VB.NETDownload
HowTo: Draw on an MDI parent's background in VB .NETMDI, MDI parent, background, VB.NETDownload
HowTo: Change the color of an MDI parent form's background in VB .NETMDI, MDI parent, background, background image, VB.NETDownload
HowTo: Tile an MDI parent's background with an image in VB .NETMDI, MDI parent, background, background image, VB.NETDownload
HowTo: Make and use a custom attribute in VB .NETattribute, custom attribute, GetCustomAttribute, CustomAttributeDownload
HowTo: Pause and resume a thread in VB.NETthread, multi-threading, SyncLock, asynchronous, threading, pause, resume, suspendDownload
HowTo: Run Threads with different priorities in VB.NETthread, multi-threading, SyncLock, asynchronous, threading, priorityDownload
HowTo: Start multiple threads in VB.NETthread, multi-threading, SyncLock, asynchronous, threadingDownload
HowTo: Let a Thread call a form's methods in VB.NETthread, multi-threading, SyncLock, asynchronous, threading, Invoke, InvokeRequiredDownload
HowTo: Use the WeakReference class in VB .NETWeakReference, garbage collection, garbage collector, VB.NETDownload
HowTo: Copy memory quickly using MemCopy (RtlMoveMemory) in VB .NETRtlMoveMemory, copy memory, MemCopy, CopyMemory, array, memoryDownload
HowTo: Change a form's locale resources at run time in VB .NETlocale, internationalization, globalization, ComponentResourceManagerDownload
HowTo: Localize control resources in VB .NETlocale, internationalization, globalization, CultureInfoDownload
HowTo: Make an indexed property in VB .NETproperty, indexed property, VB.NETDownload
HowTo: Save and restore data on the Clipboard in multiple formats in VB .NETClipboard, multiple formats, formats, VB.NETDownload
HowTo: Drag and drop data in multiple formats in VB .NETdrag and drop, formats, multiple formats, VB.NETDownload
HowTo: Copy objects to and from the Clipboard in VB .NETClipboard, object, VB.NETDownload
HowTo: Drag and drop objects in VB .NETdrag and drop, object, VB.NETDownload
HowTo: Drag and drop using VB .NETdrag and drop, drag, drop, VB.NET, AllowDropDownloadBook
HowTo: Get information about the program's title, description, copyright, version, etc. in VB .NETtitle, description, version, copyright, trademark, company, VB.NETDownload
HowTo: Compare the speeds of Choose and Select Case in VB .NETChoose, Select Case, VB.NET, performanceDownload
Rant: VB .NET is less object-oriented than VB 6VB 7, VB .NET, VB 6, OOP, object-oriented programming 
Rant: Why we are still waiting for Visual Basic Version 7VB 7, VB .NET 
HowTo: Draw a font at different sizes in VB .NET.NET, VB.NET, font, text, size, font sizeDownload
HowTo: Make two lists pick corresponding selections in VB .NET.NET, VB.NET, ListBox, select, pick, correspondingDownload
HowTo: List a VB .NET program's command-line argumentslist, command line, command, arguments, .NET, VB.NET, CmdArgs, Sub Main, Function MainDownload
Book Review: VB.Net the ProductVB.NET 

Variables

Title Keywords  
HowTo: Declare array objects in VB .NETvariable, VB .NET, initialization, declaration, array objects 
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: Use the RtlMoveMemory API function to copy part of a two-dimensional array into a one-dimensional array in Visual Basic .NETRtlMoveMemory, copy memory, CopyMemory, MoveMemory, array, VB .NETDownload
HowTo: Use the RtlMoveMemory (CopyMemory) API function to copy memory between 2-D arrays in VB .NETRtlMoveMemory, copy memory, CopyMemory, MoveMemory, array, VB .NETDownload
HowTo: Use regular expressions to replace characters within parts of a string surrounded by quotes in Visual Basic .NETregular expression, regex, regexp, replace, VB .NETDownload
HowTo: Convert between Rectangle and RectangleF variables quickly in Visual Basic .NETRectangle, RectangleF, VB.NETDownload
HowTo: Parse a hexadecimal string in VB .NET by using Integer.Parse.parse, hex, hexadecimal, VB.NET, Integer.ParseDownload
HowTo: Convert values between decimal, hexadecimal, octal, and binary in VB .NETconvert, decimal, hexadecimal, octal, binary, base, VB.NETDownload
HowTo: Make and use custom attributes in VB .NETattribute, custom attributeDownload
HowTo: List the values defined by an Enum in VB .NETEnum, reflectionDownload
HowTo: List the HatchStyle values defined by VB .NETEnum, reflection, HatchStyleDownload
HowTo: Use the WeakReference class in VB .NETWeakReference, garbage collection, garbage collector, VB.NETDownload
HowTo: List the values defined by an arbitrary Enum in VB .NETEnum, reflectionDownload
HowTo: List the values defined by an arbitrary Enum in VB .NETEnum, reflectionDownload
HowTo: Compare the speeds of using class objects, derived class objects, and generic Objects in VB .NETspeed, performance, class, derived class, interface, Overrides, ShadowsDownload
HowTo: Declare jagged arrays in VB .NETvariable, VB .NET, initialization, declaration, array, jagged array 
HowTo: Declare arrays in VB .NETvariable, VB .NET, initialization, declaration, array 
HowTo: Declare variables in VB .NETvariable, VB .NET, initialization, declaration 

Controls

Title Keywords  
HowTo: Make a countdown timer in Visual Basic 2005countdown timer, timer, alarm, Visual Basic 2005, VB.NETDownload
HowTo: Make a GroupBox that includes a check box to enable and disable its controls in Visual Basic .NETcontrol, custom control, GroupBox, CheckBox, VB.NET, Visual Basic .NETDownload
HowTo: Make a ListBox display chemical symbols in Visual Basic 2005ListBox, chemicals, chemical symbols, Visual Basic 2005, subscriptsDownload
HowTo: Load a ListView control from a database in Visual Basic .NETListView, load ListView, database, ADO.NET, Access, VB.NETDownload
HowTo: Build a TextBox control that displays a prompt message when the user hasn't typed anything in Visual Basic .NETTextBox, PromptingTextBox, TextBox prompt, VB.NET, custom controlDownload
Tip: GotDotNet Visual Basic Power Pack Going AwayGotDotNet, Visual Basic Power Pack, Power Pack 
HowTo: Make a ListView control sort using the column you click in VB .NETListView, sort, clicked column, VB.NETDownload
HowTo: Find the location of a cell in a DataGridView in Visual Basic 2005cell location, cell position, DataGridView, Visual Basic 2005Download
HowTo: Build a big survey form in a scrolling panel at run time in Visual Basic 2005survey, scroll, scrolling panel, Visual Basic 2005, VB 2005, VB.NETDownload
HowTo: Change the way a DataGridView control navigates when the user presses the Enter key in Visual Basic 2005DataGridView, Enter, Return, navigate, focus, cell, row, column, Visual Basic 2005, VB 2005Download
HowTo: Color the current row in a DataGridView control in Visual Basic 2005DataGridView, color row, current row, row, column, Visual Basic 2005, VB 2005Download
HowTo: Detect changes to the editing text when the user changes a DataGridView's data in Visual Basic 2005DataGridView, edit, edit cell, TextChanged, Visual Basic 2005, VB 2005Download
HowTo: Remove the current row from a DataGridView control in Visual Basic 2005DataGridView, remove row, delete row, Visual Basic 2005, VB 2005Download
HowTo: Change the color of a DataGridView control's editing control in Visual Basic 2005DataGridView, edit, edit cell, color, cell color, Visual Basic 2005, VB 2005Download
HowTo: Make an OwnerDraw tooltip that displays an image in Visual Basic 2005OwnerDraw tooltip, tooltip, image, picture, VB 2005Download
HowTo: Set the initial size and window state of a PrintPreviewDialog in Visual Basic .NETPrintPreviewDialog, WindowState, dialog, dialog size, VB.NETDownload
HowTo: Save and restore ListBox items when a program stops and starts in Visual Basic .NETListBox, save, restore, VB.NETDownload
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: Set tabs in a RichTextBox in Visual Basic .NETRichTextBox, tabs, VB.NETDownload
HowTo: Remove all Label controls from a form at run time in Visual Basic .NETremove controls, remove labels, label control, form, unload, VB.NETDownload
HowTo: Dynamically load controls into a "control array" in VB .NETcontrol, control array, load control, AddHandler, VB.NETDownload
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
Bug: SplitContainer control properties cause errorsSplitContainer splitter, splitter control, VB.NET, VB 2005 
HowTo: Add a horizontal scrollbar to a ListBox in Visual Basic .NETListBox, scroll, scrollbar, scroll bar, horizontal scroll bar, VB.NETDownload
HowTo: Add a horizontal scrollbar to a ListBox if it is needed in Visual Basic .NETListBox, scroll, scrollbar, scroll bar, horizontal scroll bar, VB.NETDownload
HowTo: Define tabs in a ListBox in Visual Basic .NETtab, ListBox, set tabs, defined tabs, VB.NETDownload
HowTo: Define tabs in a ListBox in Visual Basic .NETtab, ListBox, set tabs, defined tabs, VB.NETDownload
HowTo: Select items in a ListBox in code in Visual Basic .NETListBox, select, SelectedItem, SelectedIndex, SetSelected, VB.NETDownload
HowTo: Use buttons to slide a ListBox's multiple selection up or down in Visual Basic .NETListBox, select, selection, SelectedItem, SelectedIndex, SetSelected, VB.NETDownload
HowTo: Use buttons to slide a ListBox's selection up or down in Visual Basic .NETListBox, select, selection, SelectedItem, SelectedIndex, SetSelected, VB.NETDownload
HowTo: Format the columns displayed by a DataTable in a DataGrid control in Visual Basic .NETDataTable, column, format, align, alignment, DataGrid, VB.NETDownload
HowTo: Display a caption for a DataTable in a DataGrid in Visual Basic .NETDataTable, caption, DataGrid, VB.NETDownload
HowTo: Make a Panel control that raises a Scroll event in Visual Basic .NETscroll, Panel, AutoScroll, scroll event, VB.NETDownload
HowTo: Synchronize two scrolling Panel controls in Visual Basic .NETscroll, Panel, AutoScroll, scroll event, synchronize, VB.NETDownload
HowTo: Let the user resize a form that has no title bar or borders in Visual Basic .NETresize form, title bar, WM_NCLBUTTONDOWN, HTCAPTION, SendMessage, DefWndProc, VB.NETDownload
HowTo: Let the user move a form that has no title bar or borders in Visual Basic .NETmove form, title bar, WM_NCLBUTTONDOWN, HTCAPTION, SendMessage, DefWndProc, VB.NETDownload
HowTo: Change a form's font in Visual Basic .NETfont, change font, VB.NETDownload
HowTo: Make a ColorRadioButton control that changes color when checked and unchecked in VB .NETRadioButton, ColorRadioButton, control, VB.NETDownload
HowTo: Use a TabControl with owner-drawn tabs in Visual Basic .NETTabControl, OwnerDraw, owner drawn, tab, control, DrawMode, OwnerDrawFixed, VB.NETDownload
HowTo: Detect when the system performs a Windows XP fast user switch Visual Basic .NETfast user switch, VB.NETDownload
HowTo: Make an extender provider that automatically displays status messages when controls receive the focus in VB .NETVB .NET, extender provider, status, StatusBar, focusDownload
HowTo: Make an extender provider that automatically displays status messages when the mouse is over controls in VB .NETVB .NET, extender provider, status, StatusBar, hoverDownload
HowTo: Scroll a PropertyGrid control to make a particular property visible in Visual Basic .NETPropertyGrid, scroll, propertyDownload
HowTo: Disable a TextBox's context menu in VB .NETTextBox, context menu, popup, right-clickDownload
HowTo: Let the user press Ctrl-A to select all of the text in a TextBox in VB .NETctrl-A, control-A, select textDownload
HowTo: Make an ExtenderProvider to validate TextBoxes by using a regular expression in VB .NETRegex, regular expression, ExtenderProvider, validation, validateDownload
HowTo: Set tabs in a TextBox in VB .NETTextBox, tabs, VB .NETDownload
HowTo: Use the OpenFileDialog control's RestoreDirectory property in VB .NETAccess, image, picture, memoDownload
HowTo: Bind controls' properties to each other in VB .NETbinding, data binding, VB.NET, DataBinding, properties, propertyDownload
HowTo: Use a bound DataGrid in VB.NETDataGrid, binding, bind, bound, VB.NETDownload
HowTo: Use IIF in a SQL SELECT statement to make a DataReport display a warning if a value is too low in VB.NETDataReport, VB.NET, IIF, warning, CrystalReportViewer, CrystalReport, CrystalReportsDownload
HowTo: Use IIF in a SQL SELECT statement to display a warning if a value is too low in VB.NETDataGrid, binding, bind, bound, VB.NET, IIF, warningDownload
HowTo: Make a PictureBox control that has a bindable FileName property in VB .NETbind, data, bindable, PictureBox, NamedPictureDownload
HowTo: Bind a collection of objects to a DataGrid in VB .NETDataGrid, bind, data binding, collectionDownload
HowTo: Bind a collection of objects to a DataGrid and let it sort on the columns in VB .NETDataGrid, bind, data binding, collection, sort, IEditableObject, IBindingListDownload
HowTo: Draw on an MDI parent's background in VB .NETMDI, MDI parent, background, VB.NETDownload
HowTo: Change the color of an MDI parent form's background in VB .NETMDI, MDI parent, background, background image, VB.NETDownload
HowTo: Tile an MDI parent's background with an image in VB .NETMDI, MDI parent, background, background image, VB.NETDownload
HowTo: Grab part of the desktop image from a tray icon in VB .NETdesktop, grab pixels, image, background, VB.NET, NotifyIcon, ContextMenuDownload
HowTo: Use a System Tray icon in VB.NETSystem tray, tray icon, VB.NET, NotifyIcon, ContextMenuDownload
HowTo: Make a TextBox that allows only digits in VB.NETTextBox, lower case, VB.NETDownload
HowTo: Make a TextBox convert letters to lowercase in VB.NETTextBox, lowercase, lower case, VB.NETDownload
HowTo: Make a TextBox convert letters to upper case in VB.NETTextBox, lower case, VB.NETDownload
HowTo: Make multiple controls share the same event handler in VB .NETHandles, event handler, VB.NETDownload
HowTo: Make a "control array" component in VB .NETcontrol array, component, VB.NETDownload
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: Play an audio file with the Media Player control in VB .NETaudio, Media Player, Media Player control, VB .NET, multimediaDownload
HowTo: Make an ExtenderProvider that adds images and different fonts to MenuItems in VB .NETExtenderProvider, integer range, range, validation, validateDownload
Tutorial: Introduction to ExtenderProviders in VB .NETExtenderProvider 
HowTo: Make an ExtenderProvider to validate TextBoxes containing integers within a range in VB .NETExtenderProvider, integer range, range, validation, validateDownload
HowTo: Make an ExtenderProvider to validate required fields in VB .NETExtenderProvider, required, validation, validateDownload
HowTo: Make an ExtenderProvider to validate TextBoxes by using the LIKE statement in VB .NETLIKE, ExtenderProvider, validation, validateDownload
HowTo: Make an indexed property in VB .NETproperty, indexed property, VB.NETDownload
HowTo: Make a control with an object property and display it with a special property editor in VB .NETVB .NET, property, control, property editor, custom property editorDownload
HowTo: Use validation events in VB .NETvalidate, validation, Validating, ValidatedDownload
HowTo: Select a TreeView subtree when the user selects a node in VB .NETVB.NET, TreeView, subtree, selectDownload
HowTo: Make menus display pictures in VB .NETOwnerDraw, menu, custom menu, pictureDownload
Talk: Confessions of a Control Freakcustom controls, controls, UserControl 
HowTo: Display an appropriate popup menu when the user right clicks on a TreeView node in VB .NETTreeView, popup menu, context menuDownload
HowTo: Change a TreeView control's tooltip when the mouse moves over different nodes in VB .NETTreeView, tooltip, TreeView tooltip, ToolTipTextDownload
HowTo: Load a TreeView control from a CSV file in VB .NETTreeView, CSVDownload
HowTo: Load a TreeView from a text file with tabs denoting indentation in VB .NETTreeView, text file, loadDownload
HowTo: Load a TreeView control from an XML file in VB .NETTreeView, XMLDownload
HowTo: Make a custom gauge control with a toolbox bitmap in VB .NETgauge, control, custom control, VB .NET, UserControlDownload
HowTo: Reset a DataGrid control when the data to which it is bound changes in VB .NETDataGrid, database, VB.NETDownload
HowTo: Allow the user to edit some but not all nodes in a TreeView control in VB .NETTreeView, VB.NET, edit label, edit nodeDownload
HowTo: Make a ListView control sort using all of its columns in VB .NETListView, sort, all columns, VB.NETDownload
HowTo: Make a shortcut key with no menu item in VB .NETshortcut, menu, hidden, VB.NETDownload
HowTo: Easily make ListView rows programmatically in VB .NETListView, rows, VB.NETDownload
HowTo: Easily make ListView column headers programmatically in VB .NETListView, columns, column headers, VB.NETDownload
HowTo: Make the columns fit the data in a ListView control in VB .NETListView, column width, 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: Find the area in which you should place things in a GroupBox in VB .NETDisplayRectangle, ClientRectangle, GroupBoxDownload
HowTo: Set a control's Region to shape the control in VB .NETregion, window region, shape, shaped controlDownload
HowTo: Use a control's ContextMenu property to display a context menu in VB .NETContextMenu, context menu, dropdown menu, popup menuDownload
HowTo: Reparent a control in VB .NETreparent, set parent, parentDownload
HowTo: Use dropdowns in a toolbar in VB .NETtoolbar, ComboBox, VB .NETDownload
HowTo: Use buttons in a toolbar control in VB .NETtoolbar, button, VB .NETDownload
HowTo: Let the user type a prefix string to select an item in a ListBox in VB .NETListBox, select itemDownload
HowTo: Make OwnerDraw menu items in VB .NETOwnerDraw, menu, custom menuDownload
HowTo: Make a shaped button in VB .NETshape, polygon, button, SetWindowRgn, region, shaped button, VB .NETDownload
HowTo: Load a ListBox from a text file in VB .NET, skipping blank linesVB.NET, NET, ListBox, text file, load, initialize, blank lines, blanksDownload
HowTo: Load a ListBox from a text file in VB .NETVB.NET, NET, ListBox, text file, load, initializeDownload
HowTo: Make a TextBox automatically capitalize input in VB .NETNET, uppercase, upper case, lowercase, lower case, capitalize, TextBox, inputDownload
HowTo: Use classes to display data in a ListBox in .NETVB.NET, NET, ListBox, classDownload

Files

Title Keywords  
HowTo: Quickly read and write the contents of a text file in VB .NETVB.NET, NET, text file, grab, read, writeDownload
HowTo: Use Visual Basic compatibility functions to quickly read and write an array of integers in a file in Visual Basic 2005FreeFile, FileOpen, FileGet, FilePut, Visual Basic 2005, VB 2005, VB.NETDownload
HowTo: Use a BinaryReader and BinaryWriter in loops to read and write an array of integers in a file in Visual Basic 2005BinaryReader, BinaryWriter, Visual Basic 2005, VB 2005, VB.NETDownload
HowTo: Use a BinaryReader and BinaryWriter in loops to read and write an array of integers in a file in Visual Basic 2005BinaryReader, BinaryWriter, Visual Basic 2005, VB 2005, VB.NETDownload
HowTo: Use FTP to upload and download files in Visual Basic 2005FTP, upload, download, transfer, transfer files, VB 2005Download
HowTo: Read Unicode text from a file in Visual Basic .NETUnicode, text, file, StreamReader, OpenText, VB.NETDownload
HowTo: Open text file by using CreateText, AppendText, and OpenText in Visual Basic .NETCreateText, AppendText, OpenText, Exists, open file, read file, StreamWriter, StreamReader, VB.NETDownload
HowTo: Use a FileInfo object to resolve relative path names in Visual Basic .NETrelative path, resolve relative path, FileInfo, VB.NETDownload
HowTo: Let the user browse for a folder in Visual Basic .NETbrowse, browse for folder, SHBrowseForFolder, API, VB.NETDownload
HowTo: List the files in a directory that match a pattern in VB .NETdirectory, list, files, list files, pattern, search, file searchDownload
HowTo: List the files in a directory's subtree that match a pattern in VB .NETdirectory, subdirectory, list, files, list files, pattern, search, file searchDownload
HowTo: Make a type converter in VB .NETdirectory exists, directory, existsDownload
HowTo: See if a directory exists in VB .NETdirectory exists, directory, existsDownload
HowTo: See if a file exists in VB .NETfile exists, file, existsDownload
HowTo: Chop a large file of tab-delimited data into manageable pieces in VB .NETADO, database, insert, quotesDownload
HowTo: Use routines to easily read and write a file's contents in VB .NETstar, polygon, VB.NETDownload
HowTo: List and create instances of the shape types defined in an assembly in VB .NETassembly, type, data type, reflection, invoke, shapes, VB .NETDownload
HowTo: List the types defined in an assembly in VB .NETassembly, type, data type, reflection, VB .NETDownload
HowTo: List the assemblies referenced by an assembly in VB .NETassembly, reference, reflection, VB .NETDownload
HowTo: List and create instances of the types defined in an assembly in VB .NETassembly, type, data type, reflection, invoke, VB .NETDownload
HowTo: Display the full name of an assembly in VB .NETassembly, full name, FullName, reflection, VB .NETDownload
HowTo: Use the FileSystemWatcher class to process files placed in a directory in VB .NETFileSystemWatcher, VB.NETDownload
HowTo: Resolve relative paths in VB.NETpath, special folders, VB.NETDownload
HowTo: Get the paths to special folders in VB.NETpath, special folders, VB.NETDownload
HowTo: Provide an MRU list in VB .NETMRU, MRU list, VB.NET, most recently used file listDownload

Office

Title Keywords  
HowTo: Determine what version of Access is installed by reading Registry values in Visual Basic 2005Access, Access version, Microsoft Access, Registry, VB.NET, Visual Basic 2005Download
HowTo: Determine what version of Access is installed by using automation in Visual Basic 2005Access, Access version, Microsoft Access, Registry, automation, VB.NET, Visual Basic 2005Download
HowTo: Call Word to spell check from Visual Basic .NETOffice, Word, spell, spellcheck, VB.NETDownload
HowTo: Open Word and go to a bookmark in VB .NETOffice, Word, bookmarkDownload
HowTo: Remove pictures from a Word document using VB.NETVB.NET, NET, Word, picture, shape, InlineShape, remove, graphicDownload

Subclassing

Title Keywords  
HowTo: List distinct messages received by a form in Visual Basic 2005WndProc, messages, list messages, VB2005Download
HowTo: List distinct messages received by a form in Visual Basic .NETWndProc, messages, list messages, VB.NETDownload
HowTo: Make a TextBox control that does not display a context menu in VB .NETTextBox, context menu, popup menuDownload
HowTo: Make a TextBox that allows only digits in VB.NETTextBox, lower case, VB.NETDownload
HowTo: Make and use a custom attribute in VB .NETattribute, custom attribute, GetCustomAttribute, CustomAttributeDownload
HowTo: Make a form resize in increments of 50 pixels in VB .NETapplication icon, icon, VB .NETDownload
HowTo: Make a form with a fixed aspect ratio in VB .NETapplication icon, icon, VB .NETDownload
HowTo: Compare the speeds of using class objects, derived class objects, and generic Objects in VB .NETspeed, performance, class, derived class, interface, Overrides, ShadowsDownload
HowTo: Make a form with a fixed height in VB .NETapplication icon, icon, VB .NETDownload
HowTo: Let the user minimize, maximize, and restore a form, but not resize it in VB .NETsubclass, WindowProc, messages, VB.NET, NET, resize, minimize, maximizeDownload
HowTo: Subclass to read Windows messages in VB .NETsubclass, WindowProc, messages, VB.NET, NETDownload

Printing

Title Keywords  
HowTo: Print the contents of a ListBox left aligned, centered, or right aligned in Visual Basic 2005print, ListBox, print preview, align, alignment, center, right align, left align, StringFormat, PrintDocument, PrintPage eventDownload
HowTo: Make a print preview displaying a grid of data with alternating row colors in Visual Basic 2005print, print preview, VB 2005, grid, rows, colorDownload
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: Easily print grid-like data in Visual Basic .NETgrid, print, print grid, data, VB.NETDownload
HowTo: Print a long series of paragraphs in different fonts, breaking across pages in VB .NETprint, preview, text, long text, print preview, VB .NETDownload
HowTo: Use a Word server to print Word files in VB .NETOffice, Word, print, PrintOut, VB.NETDownload
HowTo: Print pages in portrait and landscape orientations in VB .NETprint, landscape, portrait, VB.NETDownload
HowTo: Print a drawing centered on the printer in VB .NETprint, preview, center, print preview, VB .NETDownload
HowTo: Print a drawing that is centered and stretched to fit the page in VB .NETprint, preview, center, stretch, fit, print preview, VB .NETDownload
HowTo: Print and display print previews in VB .NETprint, preview, print preview, VB .NETDownload
HowTo: List installed printers in VB .NETprinters, installed printers, VB .NETDownload

Graphics

Title Keywords  
HowTo: Flood fill areas using safe and unsafe methods in Visual Basic .NETflood, floodfill, VB.NET, safe, unsafeDownload
HowTo: Save a picture into a JPEG at a desired size in Visual Basic 2005save picture, save image, size, jpeg, jpg, compress, VB .NETDownload
HowTo: Use the BitmapBytesRGB24 class to apply an embossing filter to an image very quickly in Visual Basic 2005BitmapBytesRGB24, LockBits, UnlockBits, image processing, filter image, emboss, embossing filter, VB.NETDownload
HowTo: Use Microsoft's .NET Framework parallel extensions to apply an embossing filter to an image very quickly in Visual Basic 2008parallel, multi-threading, threading, BitmapBytesRGB24, LockBits, UnlockBits, image processing, filter image, emboss, embossing filter, VB.NETDownload
HowTo: Use Microsoft's .NET Framework parallel extensions to generate Mandelbrot sets quickly in Visual Basic 2008parallel extensions, parallel programming, multiple CPUs, multi-core, Mandelbrot, Mandelbrot set, .NET, .NET FrameworkDownload
HowTo: Crop a picture and save the result in Visual Basic 2005crop picture, crop, trim, Visual Basic 2005, VB .NETDownload
HowTo: Make a print preview displaying a grid of data with alternating row colors in Visual Basic 2005print, print preview, VB 2005, grid, rows, colorDownload
HowTo: Use a Pen object's CompoundArray property to give the pen longitudinal stripes in Visual Basic 2005Pen, CompoundArray, longitudinal stripes, Visual Basic 2005Download
HowTo: Draw three interlocked 3-D blocks with Direct3D in Visual Basic 2005Direct3D, DirectX, blocks, interlocked, hidden surface removal, z-buffer, Visual Basic 2005Download
HowTo: Make buttons jump randomly around the screen in Visual Basic 6button, jump, random, game, Visual Basic 6Download
HowTo: Make buttons jump randomly around the screen in Visual Basic .NETbutton, jump, random, game, VB.NETDownload
Talk: Four Fascinating Featuresregular expressions, cryptography, reflection, Direct3D, graphics, algorithms 
HowTo: Make and rotate a cube by using XAML code in Visual Basic 2008Visual Basic 2008, VB 2008, XAML, cube, rotateDownload
HowTo: Draw a colored butterfly curve in VB .NETgraphics, curve, butterfly, butterfly curve, VB.NETDownload
HowTo: Draw a colored chrysanthemum curve in VB .NETgraphics, curve, chrysanthemum, chrysanthemum curve, VB.NETDownload
HowTo: Precisely determine the size of text drawn by a Graphics object in Visual Basic .NETGraphics, DrawString, GraphicsPath, draw text, draw string, text, text size, VB.NETDownload
HowTo: Draw text stretched to fit a rectangle precisely in Visual Basic .NETstretch text, Graphics, DrawString, GraphicsPath, draw text, draw string, text, text size, VB.NETDownload
HowTo: Preview and print a core sample report with Visual Basic 2005print, preview, core sample, VB 2005Download
HowTo: Preview and print a core sample report using custom fill patterns with Visual Basic 2005print, preview, core sample, VB 2005Download
HowTo: Draw a radar graph in Visual Basic .NETradar graph, graph, VB.NETDownload
HowTo: Determine whether a polygon is convex in Visual Basic .NETpolygon, convex, concave, graphics, VB.NETDownload
HowTo: Find the orientation of a polygon (clockwise or counterclockwise) in Visual Basic .NETpolygon, orientation, clockwise, counterclockwise, graphics, VB.NETDownload
HowTo: Break a polygon into triangles in Visual Basic .NETtriangulate, triangle, polygon, geometry, graphics, VB.NETDownload
HowTo: Determine whether a point is inside a polygon in Visual Basic .NETpolygon, point, inside, contains, graphics, VB.NETDownload
HowTo: Calculate a polygon's area in Visual Basic .NETpolygon, area, graphics, VB.NETDownload
HowTo: Find a polygon's centroid (center of mass) in Visual Basic .NETpolygon, cen