You can read the full text of past Basically Visual columns. Here I present solutions to a few problems that I have encountered in my programming. Customizing the Web Browser control Avoid using the Internet Transfer control Validating web links Sending email from a Visual Basic program Clear all Text Boxes on a form Create blinking text on a form Display 3-D text on a form Change Text Box margins Aligning controls at a specific position Don't forget the Tag property Sizing a Form's interior Getting colors from a Picture Box control Auto Redraw and the Paint event Capturing screens from a Visual Basic program Filtering Text Box input Getting and using screen information Clipping the mouse cursor Move the mouse cursor in code Drawing "rubber-band" boxes Undo for Text Box controls Disable a form's Close button Modify the System menu Accept only uppercase letters in a Text Box Keeping a form on top Using custom mouse cursors Ensuring that all forms unload Remembering a form's size and position Support formatted text with the Rich Text Box control Toggling a form's title bar at run-time Understanding the Combo Box control Get to know the Sys Info control Changing Combo Box height Implement auto-find in a List Box Selecting all text when a Text Box gets the focus Save time with control arrays Adding controls to a form at runtime Scrolling controls on a form Understanding the Key Preview property Create a pane splitter Changing text alignment for Forms and Picture Boxes Create an "auto-OK" dialog box Create a "Sticky" Button Creating Graphical Command Buttons Implementing mouse-over effects Using the Picture Clip control Implement a Mouse Exit event Fire a Command Button repeatedly Create a temporary file name Verify that a path is writable Determining the type of a drive Using INI files for program settings Deleting files to the recycle bin Dragging files to your Visual Basic program Display file properties Display a select folder dialog Reverse character order in a string Parsing strings Is that on a weekend?
These were originally published in Visual Developer magazine. Perhaps you will find something that is useful to you. Encoding and decoding passwords Implementing a stack Counting strings Converting numbers between decimal and binary Use the Data Report Designer Making the most of UDTs Comparing dates in Visual Basic Using the Collection object Normalize spaces in a string Send raw data to the printer port Creating synthetic keystrokes Detecting the state of the "lock" keys Using the standard input/output streams in Visual Basic Playing WAV files Playing the Windows system sounds Keeping an application log file Detecting a sound card Reduce the size of Visual Basic distribution files Easy creation of database connection strings Do you Do Events?
The Status Strip and Tool Strip Status Label controls replace and add functionality to the Status Bar and Status Bar Panel controls; however, the Status Bar and Status Bar Panel controls are retained for both backward compatibility and future use, if you choose.
Often, a program will call for you to update the contents of status bar panels dynamically at run time, based on changes to application state or other user interaction.
(November/December 1999) Active X Documents part 1. (September/October 1999) Visual Basic for Applications. Column 3 (August/September 1996): Using resource files with Visual Basic Column 2 (June/July 1996): Variant speed penalties, uses for collections.
(July/August 1999) Data Sources, Data Sinks (part 2). Column 4 (October/November 1996): Taskbar tray icons.
Each quote is flushed to the network as it is generated, one per second. Just assume I have some objects ( instances of T ) in your TAP method. The arduous bit for Microsoft was implementing TAP versions of the methods in the framework that block on IO. If you have any feedback, please feel free to contact me.
The requirement is to write an application that consumes this service and shows both the current progress percentage and all the quotes as soon as they arrive from the ether. Here is the entire code for the main as a parameter. I'll fudge a little bit here and gloss over the implementation of the progress object. As I have shown, the new Task-based Asynchronous Pattern makes this sort of code much easier to write - and read. Even if you have to write a method TAP yourself, it is still quite simple if you know the patterns. Application developers can now give their users more information about what an app is doing in an increasingly asynchronous world. The following sections discuss all these parts from the default SPA project template in detail. NET MVC 4 adds a new project template in Visual Studio 2010. NET MVC4 Web Application project based on this template.The default project created using the SPA project template contains data models, views and client script files for performing CRUD operations of a sample "To Do" application.Unfortunately this excellent magazine stopped as of May 2000, so Column 24 was my last. Maximizing and evaluating computational performance Using command line arguments Use environment variables Prevent multiple program instances from running Avoid the End statement Creating formless Visual Basic applications Improving the Shell function Unlocking a program Determine if the Visual Basic IDE is running Using a resource file in a Visual Basic project Control the CD-ROM door Get data from Excel Understanding VB's advanced compiler options Don't forget the Class Builder utility Take advantage of conditional compilation Cautions when using the Setup and Deployment Wizard on Windows XP Tools for working with XML Save time with the API Text Viewer Keeping track of program usage Getting the current User Name Working with project groups Creating and using global properties Creating and using DLLs Understanding By Val and By Ref Avoid bugs with Option Explicit Customize your code editor Make use of Visual Basic's constants Using objects as properties Using the Friend keyword Making use of polymorphism Use the Collection object Simplify programming with enumerations Display the Windows search dialog Validate credit card numbers The Web Browser control is a powerful tool useful in many Web-related projects. Column 1 (April/May 1996): Objects in Visual Basic.SPA extensively uses two Java Script libraries, namely Knockout and Upshot.