devxlogo

The Latest

XML 1.0 Superset Makes XML Concise

Because XML was not designed for data, it has serious ambiguities and constraints. These limitations are hard for many to understand because most articles and books never address them. A

Use an API Function to Limit the Entry of a Textbox Control

First, place the function ischaralpha in the proyect. In this example it’s in the general declarations section of the form: Private Declare Function IsCharAlpha Lib “user32” Alias “IsCharAlphaA”(ByVal cChar As

Binary File Copying

Use this function for binary file copying. Call it to copy files of any type?executables, images, not just text files. The argument infilename represents the (full) path to the original

Integrate Your Inventory System with the eBay SDK

f you’re involved in creating applications for manufacturing or retailing organizations, unless those businesses are the size of roadside taco stands, you probably already have some kind of inventory management

A Developer’s First Look at Web Parts

rom the end user point of view, Web Parts provide customization tools that affect the appearance and content displayed on a workspace. Web Parts empower end users to design their

Introducing Microsoft Windows SharePoint Services

he much-anticipated release of Microsoft Windows SharePoint Services is not far away. This is the successor to SharePoint Team Services, and the changes go beyond small enhancements. In the new

Using Smart Tags in Office 2003

f you developed smart tags in Office XP, you’ll be interested in the changes in Office 2003. Smart tag technology links text to resources that provide relevant information useful in

Introduction to Microsoft Office InfoPath 2003

t’s Monday. After arriving at the office, you fill out last week’s timesheet (Microsoft Excel), your expense report (a handwritten form), and your project status report (Microsoft Word). When you

Working with Microsoft Office Word 2003’s XML

he .doc file format that is still present in Word 2003 is essentially a proprietary binary format; sadly, .doc files are difficult to extract information from. By saving documents in

Expand Your VB6 Printing Repertoire—Part I

Figure 1. Printing and Previewing Plain Text: Here’s the main form of the TextPrinting Project in Part II of this series, along with the print preview form from the same

WSE 2.0: Get Your .NET Web Services Security Up to Spec

n October 2003, Microsoft announced the technical preview of its Web Services Enhancements for .NET (WSE) 2.0 toolkit. This release implements some of the new Web Services Architecture (WSA) specifications

GetCurrentMethodName – Retrieving the name of the current method

‘ Return the name of the method that calls this function.’ The function is useful for logging purposes, for example.” Example:’ Private Sub Button4_Click(…) Handles Button4.Click’ MessageBox.Show(GetCurrentMethodName()) ‘ => Button4_Click’

The SystemInformation Class

System.Windows.Forms.SystemInformation is a little known class that exposes a number of static properties that return information about many system settings, such as: Icon and cursor size (IconSize and CursorSize properties)

GetRandomColor – Generating a random color

‘ Return a random color’ Example: Me.BackColor = GetRandomColor()Function GetRandomColor() As Color Dim rand As New Random Return Color.FromArgb(rand.Next(0, 256), rand.Next(0, 256), rand.Next(0, _ 256))End Function Related Posts Top Web

Select Quick Dates (Current Hour/Week/Month)

The following class retrieves the starting and end dates for the Current Hour/Day/Week/Month/Year: Option ExplicitPublic Property Get CurrentHour() As CollectionSet CurrentHour = New CollectionCurrentHour.Add CDate(Date & ” ” & Format(Now,

Discover Enhanced Image Manipulation with GDI+

s there any reason to do image processing in unmanaged code anymore? GDI+’s managed classes may just be good enough to give the unmanaged approach (mainly in unmanaged C++) a

Dragging & dropping files on a form

Most document-based applications typically allow to open a document file in two ways: with the Open File menu command / toolbar button, or by dragging and dropping the file from