
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
‘ Evaluate the age of a person, given his/her birth date’ Example: Debug.WriteLine(Age(#9/28/1980#)) ‘ => 22Function Age(ByVal birthDate As Date, Optional ByVal currentDate As Date = #1/1/ _ 1900#, Optional
rom the get-go, Microsoft’s huge (10,000+ attendees) Tech?Ed conference in Dallas has been primarily about acting defensively?turf protection rather than turf expansion: protecting networks from intruders, protecting users from spam
n my last article, I explained how to use the XML Data Source Object to extract content from an external XML file or XML data embedded in the HTML file
t is sometimes challenging to create and organize XML documents. This is even more true if the document content needs to be presented in several different languages. It creates unwanted
XML is not all it could be. Despite all its promise for free data exchange among disparate applications, Web application developers still contend with XML’s shortcomings: it’s too verbose, it’s
or the past several years, browser development for Windows has been more or less stalled. Sure, there have been under-the-hood improvements; but the basic browsing feature set has remained nearly
EA revolutionized the Java Web services world with WebLogic Workshop 7.x, which abstracted all the infrastructure details of the Web service and allowed the developer to simply develop his or
This little bit of code is great for doing stuff like “COPYRIGHT 1998?(present year).” It saves Webmasters from having to cull through their source code looking for the year (every
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
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