
Select Areas Within a Graphics Window
Graphics applications sometimes require users to select a rectangular region of a picture or drawing visually. You need to provide a resizing box manipulated by the pointer at run time

Graphics applications sometimes require users to select a rectangular region of a picture or drawing visually. You need to provide a resizing box manipulated by the pointer at run time

This add-in for VS.NET 2003 automatically: 1) Registers the assembly in the GAC right after it has been built. 2) Exports types to COM: produces the type library (and registers

The VS.NET’s Tools menu can be customized with your own commands, to launch external programs. For example, you may want to have a command that opens the current project’s folder

As explained in this article, the applications you create with one version of the framework, can target only that version or both, according to the settings you put in the

If you open the VS.NET documentation (either from within the IDE or by clicking the respective icon under the Start | Programs| Microsoft Visual Studio 2003 folder) you can use

VS.NET 2003 comes with a nice feature that allows you to automatically run an external executable file before or after a build. For example, you may want that after a

You can get the serial number of your hard drive, floppy disk, or CD-ROM easily without any additional ActiveX component. First, start a VB project, add a standard module, and

hether you are using WinForms, WebForms, or Web services, Database Access with Visual Basic.NET, Third Edition, is your practical guide to developing database applications with Visual Basic.NET and ADO.NET. The

uch has changed since the first edition of Firewalls and Internet Security was published in 1994. For one thing, the Web was still a rather obscure concept for most people

Related Posts Antarctica’s rapid rise could alter coastlinesScalability and Goal Testing for DevelopersHow to Pass Parameters in @QueryAvoid the XML Encoding TrapHow to Bind Only Filtered Values to a Dropdown

his book explores the full spectrum of wireless networks including Bluetooth, Wi-Fi, and 3G. You’ll also find easy-to-understand guidelines and pointers on how to implement a mobile and wireless application

Use Bitwise Operators in T-SQL to do AND/OR/XOR (&/|/^) between two or more bit/integer variables. You can use z = x and y in VB where x,y,z is Boolean, in

Here’s the syntax for the stored procedure: CREATE PROCEDURE [dbo].[RenameColumn] @tblname as varchar(50), @oldcolnameas varchar(50), @newcolname as varchar(50)ASdeclare @tblColname varchar(100)set @tblColname = @tblname +’.’ + @oldcolnameBEGIN TRANSACTIONSET QUOTED_IDENTIFIER ONSET TRANSACTION

Suppose you have a String containing comma-separated substrings. In order to access the substrings individually, you’d normally rely on a StringTokenizer. And if you wanted to put the substrings in

he authors show you how to design complex software to get the best from the UNIX operating system. Using short code snippets to illustrate how to use system calls, they

The basic JTable rendering mechanism supports a single renderer for all cells in a column. The Column Renderer may be set in the TableColumn class. If the TableColumn Renderer is

Brackets are well balanced if each ‘(‘ has its ‘)’. The argument str represents the array of characters which contains the expression. The following function returns 0 if the brackets

In some cases, it is possible to call a class member function without creating the class object. In the following example, the program will print “hello world” although class A

If you need to output to the screen or print a long text string that has no spaces, the text string will not wrap to the preset dimensions of a

This code stops the annoying flicker often seen when you pack an object with data. Test this code with the controls that bother you most: Private Declare Function SendMessage Lib

If you put many TRACE’s, in your code, it might be very convenient to jump to each one of them by double clicking a text line in the Debug window.

These permissions are required for security reasons USE pubsGOCREATE PROCEDURE GeneralSelect @TableName SYSNAMEASEXEC (‘SELECT * FROM ‘ + @TableName)GO You probably expect that your stored procedure will make a call

When you write a new version of an API, you want to deprecate the old API. If you deprecate old API’s, the compiler will tell you wherever that deprecated API

here are thousands of ways of applying speech recognition technology to business applications. If you’re not already using some form of speech recognition in your organization, you’ve probably thought of

ack in the early days of the browser wars, Microsoft created a huge incentive for existing Visual Basic developers to transition easily into building Web applications by creating a cut-down,

elare Technologies’ ATCT (Asynchronous Transfer of Control Threading) is a versatile new programming library that implements a “separation of concerns” approach?one of the key precepts of aspect-oriented programming?to enable programmers

This registry file adds the following entries to the Windows Explorer’s context menus, that will help you speed your development and test cycle:1) .idl files : Build : run midl.exe

‘ This macro routine makes VS.NET switch to the previously selected code editor ‘ / designer window, if it is still open. It is equal to opening the Windows ‘

‘ Creates a IIS virtual directory with the specified name,’ and that points to the specified physical path’ Note: requires a reference to the System.DirectoryServices.dll assembly’ Note: exception handling (for

‘ Resets the value for the input array of controls, and thier child controls’ Example:’ – reset all the controls on the form: ResetControls(Me)’ – reset specific controls: ResetControls(TextBox1, CheckBox1,