Preorder Windows 7 and save 50% or more
 
Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Bookstore...
 
Feedback
Tip Jar
 
XML RSS Feed
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
 
  Index: Tips and Tricks  
Misc Forms Memory
Data Loading Coding Tricks Registry
Performance Variables Events
Properties Controls Quick Questions
Mouse Enum Randomization
Clipboard SendKeys MDI Forms
Keyboard
 
 
 
 
Misc

Title Keywords  
HowTo: Calculate logarithms in different bases in Visual Basic 2005log, ln, logarithm, base, log base, calculate, exponent, exponentiation, power, VB.NETDownload
HowTo: Calculate logarithms in different bases in Visual Basic 6log, ln, logarithm, base, log base, calculate, exponent, exponentiation, powerDownload
HowTo: Determine what version of Access is installed by using automation in Visual Basic 6Access, Access version, Microsoft Access, Registry, automation, Visual Basic 6Download
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: Determine what version of Access is installed by reading Registry values in Visual Basic 6Access, Access version, Microsoft Access, Registry, Visual Basic 6Download
HowTo: Round numbers to a given number of digits without using banker's rounding (version 2) in Visual Basic 2005round, banker's rounding, digits, Math.Round, VB 2005Download
HowTo: Round numbers to a given number of digits without using banker's rounding in Visual Basic 2005round, banker's rounding, digits, VB 2005Download
HowTo: Trim leading and trailing non-printing ASCII characters from a string in Visual Basic .NETtrim, ltrim, rtrim, TrimWhitespace, LTrimWhitespace, RTrimWhitespace, non-printing, ASCII, carriage return, linefeed, line feedDownload
HowTo: Trim leading and trailing non-printing ASCII characters from a string in Visual Basic 6trim, ltrim, rtrim, TrimWhitespace, LTrimWhitespace, RTrimWhitespace, non-printing, ASCII, carriage return, linefeed, line feedDownload
HowTo: Extract comments from a Visual Basic 6 file in Visual Basic 6extract comments, comments, Visual Basic 6, Attribute, codeDownload
HowTo: Write functions to determine whether a string starts or ends with a substring in Visual Basic 6StartsWith, EndsWith, substringDownload
HowTo: Read command line parameters in VB 2005command line, commandline, command line parameters, parameters, VB 2005Download
Karen Watterson's Weekly Destinations and Diversions (D & D)Karen Watterson, Didja Know, links, diversion, weekly 
Karen Watterson's Archived Destinations and Diversions (D & D)Karen Watterson, Didja Know, links, diversion, archive 
HowTo: Get disk information including serial number in VB .NETdisk, serial number, GetVolumeInformation, VB.NETDownload
HowTo: Use CallByName to set property values by nameCallbyName, propertyDownload
HowTo: Use CallByName to get property values by nameCallbyName, propertyDownload
HowTo: Make a form that displays the desktop image below itself so it looks transparentform, transparent, desktopDownload
HowTo: Get the computer's namecomputer name, GetComputerNameDownload
HowTo: Find the Windows directory and system drivewindows directory, system driveDownload
HowTo: Show a project's product information set in Project\Properties\Makeversion, copyright, minor, major, project properties, makeDownload
Tip: Fix broken desktop iconsicons, broken icons, desktop 
Tip: Use shortcut keys to manage windows and the desktopshortcut, keys, accelerators, windows 
HowTo: Install a hotkey that minimizes the window with the focushotkey, minimize, focus window, accelerator, install hotkey, RegisterHotKeyDownload
HowTo: See how much disk space is used and free using GetDiskFreeSpaceExGetDiskFreeSpaceEx, GetDiskFreeSpace, disk space, free, used, precentDownload
HowTo: Install and deinstall hotkeyshotkey, accelerator, install hotkey, RegisterHotKeyDownload
HowTo: Register a product for a particular systemproduct, register, serial number, disk, system, sharewareDownload
HowTo: Get disk drive information in VB .NET using the FileSystemObjectdisk, drive, listDownload
HowTo: List the system's disk drives in VB .NET using GetLogicalDrivesdisk, drive, listDownload
HowTo: Get disk information including serial numberdisk, serial number, GetVolumeInformationDownload
HowTo: Call a subroutine by name in VB6subroutine, routine, VB6, CallByNameDownload
HowTo: List a VB .NET program's command-line argumentslist, command line, command, arguments, .NET, VB.NET, CmdArgs, Sub Main, Function MainDownload
HowTo: Determine if the program is running in the IDE or an executable.IDE, executable, run, runningDownload
HowTo: Allow only one instance of a programinstance, programDownload
HowTo: Display the number of times a program has run and its last run timedisplay, times run, last timeDownload
HowTo: List a program's command-line argumentslist, command line, command, argumentsDownload
HowTo: See if the floppy drive is emptyfloppy, drive, emptyDownload
HowTo: Treat return as a tabreturn, tabDownload
HowTo: Display a 10 line scrolling log using Split and Joinlog, limit, scrollDownload
HowTo: Display a 10 line scrolling loglog, limit, scrollDownload
Advanced Visual Basic TechniquesVisual Basic, tips, tricks, advanced techniquesBook
HowTo: Find a specific entry in a delimited string (VB6)delimited string, Split, VB6 
Tip: Use the command line in a DLLcommand line, DLL, GetCommandLine 
Tip: Lost COMCTL32.OCXtips, lost COMCTL32.OCX, COMCTL32.OCX 
Ready-to-Run Visual Basic Code LibraryVisual Basic, tips, tricks, examplesBook
Ready-to-Run Visual Basic Code LibraryVisual Basic, tips, tricks, examplesBook
Advanced Visual Basic TechniquesVisual Basic, tips, tricks, advanced techniquesBook

Forms

Title Keywords  
HowTo: Save and restore a form's position when it loads and unloads in Visual Basic 2005save, restore, form, form position, Visual Basic .NETDownload
HowTo: Subclass a control to read Windows messagessubclass, WindowProc, messagesDownload
HowTo: Keep a form on top of all others in Visual Basic .NETtop most, topmost, on top, ontop, Form, VB.NETDownload
HowTo: Let the user name a form to displayform, display, InputBox, show formDownload
HowTo: Make an ActiveX control that sort of looks and acts like a title bartitle bar, titlebar, caption, ActiveX control, ActiveXDownload
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: Restrict a form so the user can only move it verticallyform, move, verticalDownload
HowTo: Make an MRU listMRU, most recently used files, MRU listDownload
HowTo: Prevent a form from moving by using subclassingno move, prevent moveDownload
HowTo: Make a form that can be maximized and minimized but not resized arbitrarilyresize, no resize, prevent resizeDownload
HowTo: Remove the Minimize and Maximize buttons from a form's system menuminimize, maximize, system menuDownload
HowTo: Position a form in the lower right corner accounting for the task bar in VB .NETposition form, taskbar, lower right, VB.NETDownload
HowTo: Create a form without a title barform, title bar, caption, no titleDownload
HowTo: Keep an MDI form on top of other programsform, top, on top, topmost, ontopDownload
HowTo: Keep a form on top of another form, but not on top of all formson top, topmostDownload
HowTo: Capture an image of a form in a PictureBoxcapture form image, PrintFormDownload
HowTo: Get the caption of the window that currently has focusfocus window, caption, titleDownload
HowTo: Make a form act modal when it is notform, modal, fake modal, dialogDownload
HowTo: Experiment with extended window stylesextended window styles, window styleDownload
HowTo: Make a window appear modal when it is notform, modal, fake modalDownload
HowTo: Make a form cover the entire screen including the taskbar areacover screen, whole screen, entire screen, taskbarDownload
HowTo: Make a form with a transparent backgroundtransparent background, glass form, region, SetWindowRgnDownload
HowTo: Confine the cursor within a form's client areaconfine, cursor, clip, client areaDownload
HowTo: Make parts of a form transparent in VB .NETform, transparent, VB.NETDownload
HowTo: Change a form's opacity in VB .NETform, Opacity, transparent, translucent, VB.NETDownload
HowTo: Create an elliptical formform, shape, region, SetWindowRgn, shaped form, ellipse, ellipticalDownload
HowTo: Make a form filled with holesform, shape, region, SetWindowRgn, shaped form, holes, swiss cheeseDownload
HowTo: Make a form with an elliptical hole in itform, shape, region, SetWindowRgn, shaped formDownload
HowTo: Give a form a popup menupopup menu, context menu, right clickDownload
HowTo: Make a form with a rectangular hole in itform, shape, region, SetWindowRgn, shaped formDownload
HowTo: Tile a form with an imageform, tile, backgroundDownload
HowTo: Know when the user clicks on any control on a formform, click, controlDownload
HowTo: See why a form is closingclose, unload, QueryUnload, UnloadMode, closingDownload
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
HowTo: Shrink a form to a title bar and restore it when the user clicks on the captionform, shrink, restore, minimizeDownload
HowTo: Know when a form is moving and when it finishes movingmoving, move, finished movingDownload
HowTo: Redraw a form once when it has finished resizingresize, finished, doneDownload
HowTo: Let the user minimize, maximize, and restore a form, but not resize itresize, minimize, maximizeDownload
HowTo: Put a form in the lower right corner accounting for the task barposition form, taskbar, lower rightDownload
HowTo: Restore a form to the position it had when it was last runform, position, GetWindowPlacement, SetWindowPlacementDownload
HowTo: Set a form's size in inchesform, size, inchesDownload
HowTo: Place a form along an edge of the screen using the SysInfo controlform, screen, edge, SysInfoDownload
HowTo: Make a form stick to the edge of the screenform, screen, edge, subclassing, stickDownload
HowTo: Center a form taking the taskbar into accountcenter form, taskbarDownload
HowTo: Display a form using its nameform, display, form nameDownload
HowTo: Ignore events during a long process by disabling the formignore events, events, disableDownload
HowTo: Position a form under the mouseposition, form, mouseDownload
HowTo: Determine where the user clicked on a formform, click, positionDownload
HowTo: Center an image on a formcenter, image, formDownload
HowTo: Make a dockable toolbardockable, ToolBarDownload
HowTo: Hide the cursor on a formhide, form, cursor, mouseDownload
HowTo: Display an animated mouse cursoranimated, cursor, aniDownload
HowTo: Make a form keep the same aspect ratio when it resizesform, aspect ratio, size, resizeDownload
HowTo: Keep a form on top of othersform, top, on top, topmost, ontopDownload
HowTo: Make a rotating polygonal shaped formform, shape, polygon, rotate, spin, SetWindowRgn, region, shaped formDownload
HowTo: Make a polygonal shaped formform, shape, polygon, SetWindowRgn, region, shaped formDownload
HowTo: Shape a form to fit a pictureshape form, picture, transparent, regionDownloadBook
HowTo: Save and restore a form's size and position when the program starts and stopsSaveSetting, GetSetting, registry, position, size, persist, persistence, save, retore, Form_Load, Form_UnloadDownload
HowTo: Find a window from a partial title and move it to the upper left corner of the screenfind window, retrieve window, lost window, move windowDownload
Tutorial: Size Forms to Fit the Screensizing, resizing, forms, fit screenDownloadBook
HowTo: Resize specific controls to take advantage of form sizeresize, specific controls, form sizeDownload
HowTo: Resize controls to fit a resizing formresize, controls, fitDownloadBook
HowTo: Unload a form and clear the variables it containsforms, unload, clear, variablesDownload

Memory

Title Keywords  
HowTo: Use My.Computer.Info to display operating system and memory information in Visual Basic .NETMy.Computer.Info, operating system, memory, Visual Basic .NET, VB.NETDownload
HowTo: Get the computer's total and available physical and virtual memory in Visual Basic 2005physical memory, virtual memory Visual Basic 2005, VB 2005Download
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
Tip: The Incredible Shrinking Applicationtips, memory, RAM 
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

Data Loading

Title Keywords  
HowTo: Quickly read and write a binary file to and from an arraybinary data, array, read, write, fileDownload
HowTo: Combine fields in a SELECT statementdatabase, SELECT statement, combineDownload
HowTo: Build a random ASCII text file for testing data transfer ratesASCII, random, data file, test fileDownload
HowTo: Copy array data into a FlexGrid controlFlexGrid, array, dataDownload
HowTo: Use a text file to initialize a ComboBox connected with a ListBoxComboBox, ListBox, initialize, loadDownload
HowTo: Read a CSV file into an arrayCSV, comma-separated value, file, data, arrayDownload
HowTo: Read a CSV file into a ragged array of VariantsCSV, comma-separated value, file, data, array, ragged array, irregular arrayDownload
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: Tell in what state a Social Security Number was probably issuedload data, lookup data, Social Security NumbersDownload

Coding Tricks

Title Keywords  
HowTo: List distinct messages received by a form in Visual Basic 6WndProc, messages, list messages, WindowProc, subclass, VB6Download
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: Invoke a function by name using CallByNameCallByName, execute, invoke, call, function, subroutineDownload
HowTo Take Advantage of Intellisenseintellisense 

Registry

Title Keywords  
HowTo: Use GetSetting while protecting against bad values in the Registry in Visual Basic 2005GetSetting, SaveSetting, VB.NET, error handling, error trappingDownload
HowTo: Use GetSetting while protecting against bad values in the Registry in Visual Basic 6GetSetting, SaveSetting, Visual Basic 6, error handling, error trappingDownload
HowTo: Determine whether the system has Internet Explorer configured to use a proxy in Visual Basic 6proxy, IE, Internet Explorer, Registry, keyDownload
HowTo: Determine whether the system has Internet Explorer configured to use a proxy in Visual Basic .NETproxy, IE, Internet Explorer, Registry, key, VB.NETDownload
HowTo: Save and restore a popup menu's selected choice when a program starts and stopsSaveSetting, GetSetting, popup, RegistryDownload
HowTo: Enumerate registry keys, subkeys, and valuesRegsitry, System Registry, key, subkeyDownload
HowTo: Enumerate the subkeys for a registry keyRegsitry, System Registry, key, subkeyDownload
HowTo: Get subkeys from any part of the registryRegsitry, System Registry, key, subkeyDownload
HowTo: Delete a registry key and its subkeysregistry, delete keys, keysDownload
HowTo: Read and write INI filesINI file, initialization file, registryDownload
HowTo: Get internationalization information from the registryinternationalization, registryDownload
HowTo: Get the computer's registered owner and company from Windows 98Windows 98, register, registration, owner, companyDownload
HowTo: Get the computer's registered owner and company from Windows NTWindows NT, register, registration, owner, companyDownload
HowTo: Clear the list of programs in the Start menu's Run commandrun command, start menu, clear, commandDownload
HowTo: Save and restore all form control settings in the registrySaveSetting, GetSetting, form settingsDownload
HowTo: Save and restore arrays of settings in the registry in two waysSaveSetting, GetSetting, setting, array, registryDownload
HowTo: Save and restore a form's size and position when the program starts and stopsSaveSetting, GetSetting, registry, position, size, persist, persistence, save, retore, Form_Load, Form_UnloadDownload
HowTo: Persist text in the Registryregistry, text, save, restoreDownload
HowTo: Refresh the desktop's iconsdesktop icon size, Registry, regeditDownload
HowTo: Set the desktop icon sizedesktop icon size, Registry, regeditDownload
HowTo: Get Registry valuesRegistry, regeditDownload
HowTo: Make changes to the Registry using a .REG fileserialize, deserialize, XML, typelib, type information 

Performance

Title Keywords  
HowTo: Compare the speeds of Trim$(s) and s.Trim() in VB .NETtrim, Trim$, VB.NET, stringDownload
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: Change controls faster by preventing window updatesLockWindowUpdate, modify control, change controlDownload
HowTo: Time different methods for testing whether a string is blank to see which is fastesttime, speed, performance, stringDownload
HowTo: Compare the speed of using Dim versus Dim As NewDim, Dim As New, As New, declaration, performanceDownload
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: Make classes faster using ImplementsImplements, classes, interfaceDownload
HowTo: Compare the speeds of IIf and If Then statementsIIf, If Then, speed, performanceDownload
HowTo: Compare the speeds of TextBox, RichTextBox, and the MS Forms 2.0 TextBoxTextBox, speed, performance, RichTextBox, MS Forms 2.0Download
HowTo: Compare times to load sorted ListBoxes different waysListBoxDownload
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: Compare the speeds of different calculationscalculation, multiplication, division, speed, time, performanceDownload
HowTo: Measure a process's user, privileged, and total time in VB .NETuser time, privileged time, total time, ellapsed timeDownload
HowTo: Compare the speed of passing variables ByRef and ByValByVal, ByRef, speed, performanceDownload
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: Improve swap performanceperformance, memory, swapping 

Variables

Title Keywords  
Tutorial: Twos Complement Numberstwos-complement, ones-complement, number 
HowTo: Tell whether a Variant variable is EmptyVariant, Empty, variableDownload
HowTo: Compare the speed of using Dim versus Dim As NewDim, Dim As New, As New, declaration, performanceDownload
HowTo: Let a routine take optional parameters without a default valueoptional, optional parametersDownload
HowTo: Use the ParamArray keyword to make a routine that takes a variable number of argumentsParamArrayDownload
HowTo: Use optional parameters with default valuesoptional, optional parameters, defaultDownload
HowTo: See if a date string is valid using regional date settingsdate string, validate, validation, regional, internationalDownload
HowTo: See if a date string is validdate string, validate, validationDownload
HowTo: Remove an item from the middle of an array quicklyarray, remove, delete, CopyMemory, MemCopy, RtlMoveMemoryDownload
HowTo: Compare the speed of passing variables ByRef and ByValByVal, ByRef, speed, performanceDownload
HowTo: Convert a date string with known format into a Datedate, format, convertDownload
Tutorial: Using Floating Point Numbersfloating point, single, double, number 

Events

Title Keywords  
HowTo: Display a form's eventsform, event, loadDownload
HowTo: Make a class that monitors events raised by an object (including a control)events, monitor events, watch eventsDownload
Tutorial: ASCII CodesASCII, codes, characters 
HowTo: See why a form is closingclose, unload, QueryUnload, UnloadMode, closingDownload
HowTo: Subclass to see when a control is about to become visible or invisiblecontrol, visible, invisible, hide, event, subclassDownload
HowTo: Flush mouse eventsmouse events, ignore events, events, disableDownload
Tutorial: Blocking Eventsevents, blocking 

Properties

Title Keywords  
Tip: Retrieve a control's Picture propertypicture, retrieve 

Controls

Title Keywords  
HowTo: Give a ListView control flat headersListView, header, flat headerDownload
HowTo: Create a new ActiveX button using Controls.Add and respond all of its eventsbutton, Controls.Add, eventDownload
HowTo: Create new controls using Controls.AddControls.Add, controls, create controlsDownload
HowTo: Load an ActiveX control at run timeControls.Add, new control, ActiveXDownload
Talk: Confessions of a Control Freakcustom controls, controls, UserControl 
HowTo: Hide the caret in a TextBoxTextBox, caret, hide caret, cursorDownload
HowTo: Add new tabs and controls to a TabStripControls.Add, new control, new tab, TabStripDownload
HowTo: Create a new button using Controls.Add and respond to its click eventbutton, Controls.Add, eventDownload
HowTo: Create a new control using Load and put it in a FrameControls.Add, new control, FrameDownload
HowTo: Highlight a control when the mouse is over itcontrol, highlightDownload
HowTo: Get a control's imagecontrol image, clipboard, PrintFormDownload
HowTo: Safely manage control arrays with missing elementscontrol array, safeDownload
HowTo: Enable or disable all controls on a formcontrol, enable, disableDownload
HowTo: Enable or disable a group of controlscontrol, enable, disable, EnableControlsDownload
HowTo: Know when the user clicks on any control on a formform, click, controlDownload
HowTo: Give an ActiveX control a caption property that is also its defaultdefault, caption, ActiveX, propertyDownload
HowTo: Give an ActiveX control a default propertydefault, ActiveX, propertyDownload
HowTo: Give an ActiveX control a caption propertycaption, ActiveX, propertyDownload
HowTo: Make a TextBox allow only letters and numbersTextBox, letters, numbers, field, validate, context menu, popupDownload
HowTo: Subclass to see when a control is about to become visible or invisiblecontrol, visible, invisible, hide, event, subclassDownload
HowTo: Resize specific controls to take advantage of form sizeresize, specific controls, form sizeDownload
HowTo: Resize controls to fit a resizing formresize, controls, fitDownloadBook

Quick Questions

Title Keywords  
Quick Question: .NET Declarationsquick question, quiz 
Quick Question: Switchquick question, quiz, Switch 
Quick Question: Choosequick question, quiz, Choose 
Quick Question: Dim xxx As New Employeequick question, quiz 
Quick Question: X \ COL_WIDquick question, quiz 
Quick Question: False * Truequick question, quiz 
Quick Question: End of Weekquick question, quiz 
Quick Question: Weekday(Date) Mod 6quick question, quiz 
Quick Question: KeyAscii And 223quick question, quiz 

Mouse

Title Keywords  
HowTo: Simulate a mouse movement and click the mouse in Visual Basic 2005VB2005, Visual Basic 2005, mouse move, click, mouse_event, APIDownload
HowTo: Simulate drawing with the mouse in Visual Basic 2005VB2005, Visual Basic 2005, mouse move, click, OnMouseDown, OnMouseMove, OnMouseUpDownload
HowTo: Record and play back mouse movementsmouse, move, mouse_event, APIDownload
HowTo: Move the mouse to a particular position and click itmouse, click, move, mouse_event, APIDownload
HowTo: Tell whether the Shift key is pressed during a mouse click in Visual Basic .NETmouse, MouseClick, Shift, click, mouse click, VB.NETDownload
HowTo: Track the mouse's movement and display its position in a tooltip-like windowmouse, cursor, movement, track mouseDownload
HowTo: See what word is under the mouse in a RichTextBox and look it up in a list of known wordsRichTextBox, TextBox, word, mouse, cursorDownload
HowTo: Display the word under the mouse in a RichTextBox inside a TooltipRichTextBox, TextBox, word, mouse, cursorDownload
HowTo: See if the mouse is moving even when it is not over the programmouse, cursor, CursorPosDownload
HowTo: Use API capture functions to make a button that changes its caption when the mouse moves over itbutton, caption, mouse overDownload
HowTo: Display a message when the mouse is over a buttonbutton, message, mouse overDownload
HowTo: Hide and show the mouse pointerhide mouse pointer, show mouse pointer, ShowCursorDownload
HowTo: Confine the cursor within a form's client areaconfine, cursor, clip, client areaDownload
HowTo: See if the left mouse button is up or down even outside this programmouse, up, downDownload
HowTo: Position a form under the mouseposition, form, mouseDownload
HowTo: Determine where the user clicked on a formform, click, positionDownload
HowTo: Hide the cursor on a formhide, form, cursor, mouseDownload
HowTo: Display an animated mouse cursoranimated, cursor, aniDownload
HowTo: See what word is under the mouse in a RichTextBoxRichTextBox, TextBox, word, mouse, cursorDownload
HowTo: Programmatically move the mouse and simulate a clickmouse, click, move, simulateDownload
HowTo: Make a label display a shadow safely when the mouse is over itlabel, shadow, mouse, GetCursorPos, ScreenToClientDownload
HowTo: Make a label display a shadow simply when the mouse is over itlabel, shadow, mouseDownload
HowTo: Center the mouse over a controlcenter mouse, mouse, center cursor, cursorDownload

Enum

Title Keywords  
HowTo: Easily list the values defined by an Enum in Visual Basic .NETEnum, list values, enumerated values, GetValues, VB.NETDownload
Tip: Enforce Enum caseEnum, case 

Randomization

Title Keywords  
HowTo: Make a button quiver franticallybutton, quiver, moveDownload
HowTo: Randomize a listrandomize, shuffleDownloadBook
HowTo: Build a random ASCII text file for testing data transfer ratesASCII, random, data file, test fileDownload
HowTo: Make a random choice using the PickOne functionpick one, PickOne, randomDownload
HowTo: Generate random textcode, random textDownload

Clipboard

Title Keywords  
HowTo: Get the selected text from a frame within a WebBrowser control by using the control's methodsWebBrowser, browser, internet, text, selected text, frame, frameset, framesDownload
HowTo: Copy all of the text from a WebBrowser controlcopy text, clipboard, WebBrowser, Ctrl-A, Ctrl-CDownload
HowTo: Get all text or the selected text from a WebBrowser control by using the control's methodsWebBrowser, browser, internet, text, selected textDownload
HowTo: Let the user select an irregular area and copy it to the clipboardselect, area, polygon, irregular area, clipboardDownload
HowTo: Copy, cut, and paste pieces of a picturecopy, cut, paste, Clipboard, image, picture, piece, section, area, regionDownload
HowTo: Save and restore data on the Clipboard in multiple formats in VB .NETClipboard, multiple formats, formats, VB.NETDownload
HowTo: Copy objects to and from the Clipboard in VB .NETClipboard, object, VB.NETDownload
HowTo: Keep track of what's on the clipboardclipboard, clip board, copy, cut pasteDownload
HowTo: Capture an image of a form in a PictureBoxcapture form image, PrintFormDownload
HowTo: Get and set file names copied to the clipboard by Windows ExplorerWindows Explorer, clipboard, files, file namesDownload
HowTo: Copy the selected text in another applicationcopy text, clipboardDownload
HowTo: Copy the selected text from a WebBrowser controlcopy text, clipboard, WebBrowserDownload
HowTo: Simulate Alt-PrintScrn to capture an image of a window in the clipboardAlt-Prnt, print screen, clipboard, screen captureDownload
HowTo: Simulate Alt-PrintScrn to save a form's image into a bitmap fileAlt-Prnt, print screen, clipboard, screen capture, form imageDownload
HowTo: Use the Clipboard to copy and paste textClipboard, copy, paste, textDownload

SendKeys

Title Keywords  
HowTo: Send an Outlook Express attachmentOutlook Express, email, e-mail, attachment, ShellExecute, FindWindowDownload

MDI Forms

Title Keywords  
HowTo: Display a progress bar inside a status bar on an MDI formProgressBar, progress bar, StatusBar, status bar, MDIDownload
HowTo: Initialize the controls on a new MDI child form by copying them from an existing formMDI, MDI child, initializeDownload
HowTo: Programmitcally activate an MDI child formMDI, child form, activate, MDIFormDownload
HowTo: Make an MDI application with an MRU listMRU, most recently used files, MRU list, MDIDownload
HowTo: Make an MDI application replace MDI container menus with child menus in VB .NETMDI, Multiple Document Interface, mergereplace, menus, VB.NETDownload
HowTo: Make an MDI application in VB .NETMDI, Multiple Document Interface, VB.NETDownload
HowTo: Make an MDI application combine MDI container menus with child menus in VB .NETMDI, Multiple Document Interface, mergereplace, menus, VB.NETDownload
HowTo: Keep an MDI form on top of other programsform, top, on top, topmost, ontopDownload
HowTo: Give an MDIForm a resizing background pictureMDI, background, draw, MDIFormDownload
HowTo: Manage MDI children using a toolbarMDI, background, draw, MDIForm, childDownload
HowTo: Tile an MDIForm's backgroundMDI, MDIForm, background, tileDownload
HowTo: Manage menus in an MDI application, approach 2MDI, background, draw, MDIForm, child menusDownload
HowTo: Manage menus in an MDI application, approach 1MDI, background, draw, MDIForm, child menusDownload
HowTo: Give MDI child forms different toolbarsMDI, MDIForm, toolbarDownload
HowTo: Draw on an MDI parent form's backgroundMDI, background, draw, MDIFormDownload
HowTo: See why a form is closingclose, unload, QueryUnload, UnloadMode, closingDownload
HowTo: Arrange MDI child formsMDI, child form, subformDownload

Keyboard

Title Keywords  
HowTo: Disable certain key combinations such as Alt-Tabdisable keys, key combinations, Alt-TabDownload

Copyright © 1997-2008 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated