
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.
I find this particularly useful in an MDI environment where you don’t want to keep switching forms to read information?just make the front form transparent to read the one behind,
Sometimes, you can’t avoid declaring global variables in C++. However, should you prefer not to mix C++ with C code techniques, try the following: Create a global class and add
Say you want to get the latest processes running on Microsoft® SQL Server and their time, hostname, and the username. The following query retrieves this data: Use MasterSelect SysPro1.program_name,SysPro1.login_time,SysPro1.MemUsage,SysPro1.Hostname,SysPro1.Hostname,SysPro1.nt_domain,SysPro1.nt_usernameFrom sysprocesses
Do you find yourself constantly registering and unregistering ActiveX .exe, .dll, .ocx, or .olb files? This script allows you to do so with just a mouse click. Here’s how to
erhaps the single biggest challenge in writing Java applications is dealing with UI issues. Regardless of the application’s power and flexibility, people will always want it to look familiar?to look
SL (eXtensible Stylesheet Language) enables you to transform an XML document into HTML, another XML document, or any plain text. Using XML with XSL separates the business logic data from
As useful as pointers to member functions are, in certain situations?for example when using STL algorithms?you need to use more sophisticated constructs that wrap bare pointers to members and transform
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
In this column, I have grouped the XML based on the GroupID element by using the generate-id() function. This generates unique keys used for indexing the key value. The key
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
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
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
With some classes, it doesn’t make sense to instantiate the class itself but overriding of any of its methods will result in a usable class. This is the case for
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
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
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
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
Figure 1: The Research Library is available from the task pane. icrosoft Office 2003 Editions add a powerful new tool to the Office task pane: the Research Library.By default, the
ffice is a staple in most corporations, and .NET developers can easily take advantage of its power and omnipresence. The Visual Studio Tools for Office provide the ability to use
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
t DevX we’ve dubbed 2004 the Year of the Document. And one technology?and only one technology?gets the credit for putting the limelight and a bit of excitement back on the
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
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
‘ 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’
‘ Return the Tag value of the selected RadioButton from the input array of ‘ controls.’ This is useful when you have many radio buttons, with a value associated to
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)
‘ 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
‘ Return a case-insensitive hashtable containing all the members in a type’ Note: requires Imports System.Reflection” Example:’ Dim ht As Hashtable = GetAllMembers(GetType(String), False)’ For Each key As Object In
It took me a while to figure out how to enable debugging on a traditional .asp project with Visual Studio .NET using Windows 2000. I would always get an error
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,











