
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.
here will be times when you’ll need to hand-code your .NET Compact Framework controls, without using the drag-and-drop feature of Visual Studio .NET. For example, you may not know how
This LED (Light Emitting Diode) control displays positive long integers, and it is particularly useful for counters. It has a few simple properties that allow you to set the control’s
s a database programmer, when you don’t know where the tables and columns you need to do your job are, you’re dead in the water. You can browse through Enterprise
‘ Get an array with the name of an application’s roles’ Note: requires a reference to the COM+ Admin Type Library” Example:’ Dim roles() As String = GetComPlusAppRoles(“System Application”, “”)’
‘ Get an array with the members of an application’s role’ Note: requires a reference to the COM+ Admin Type Library” Example:’ Dim members() As String = GetComPlusAppRoleMembers(“System Application”,’ “Administrator”,
‘ Shut-down the COM+ application with the input name’ Note: requires a reference to the COM+ Admin Type Library” Example: ShutDownComPlusApplication(“MyComPlusApp”, “”)Sub ShutDownComPlusApplication(ByVal applicationName As String, _ ByVal serverName As
‘ Export the COM+ application with the input name to a MSI installer file’ Note: requires a reference to the COM+ Admin Type Library” Example: ExportComPlusApplication(“MyComPlusApp”, “C:MyComPlusApp.msi”, “”)Sub ExportComPlusApplication(ByVal applicationName
‘ Start the COM+ application with the input name’ Note: requires a reference to the COM+ Admin Type Library” Example: StartComPlusApplication(“MyComPlusApp”, “”)Sub StartComPlusApplication(ByVal applicationName As String, _ ByVal serverName As
If you need to reach a Web Service and you are behind a proxy server, you have to set some Proxy values. When you add a Web Reference in your
he purpose of the Jakarta POI open source project is to provide Java with the ability to manipulate file formats based on Microsoft’s OLE 2 Compound Document Format. Currently, the
ord automation has traditionally been the province of VB Classic developers, but it’s alive and well in VB.NET?it’s just a little different. Word automation is the process of using the
Visualization is all about taking data and turning it into useful information. The technique is glaringly useful and widely used. Consider the following situation: you want to display the profiles
isualization is all about taking data and turning it into useful information. The technique is glaringly useful and widely used. Consider the following situation: you want to display the profiles
This can be achieved in Java by throwing an exception from your constructor. Since constructors cannot return a value, this is the only way to perform error handling. Class MyCLass{
Recall that you must use an SDK with a version number that is less than or equal to the version number of the Application Execution Environment (AEE) loaded on the
Normally most of designers do this: if(someVariable == someValue){ doSomeActions;} If you type ‘=’ instead of ‘==’, it will not be detected during the compilation. This means you could spend
he Help sections of your applications are probably never going to be particularly sexy—and rightly so—but that doesn’t mean that you’re stuck forever with a standard, text-heavy, and uninspired user
art 1 of this series began a discussion of the differences between PalmOS and Symbian OS. Despite their superficial similarities, programming in Symbian isn’t just like programming a Palm PDA.
T managers once maintained a semblance of control over what types of operating systems were run in the data center, but they may as well relinquish all hope of doing
‘ Save the content of a FlexGrid control as a CSV-file’ Example: SaveCSV(“C:Test.csv”, MSFlexGrid1)Private Sub SaveCSV(ByVal strFilename As String, ByRef msFlex As MSFlexGrid) Const SEPARATOR_CHAR As String = “,” Dim
‘ This VB6 function returns a string with a set of parameters replaced with ‘ variables, similar to the C function printf().Public Function PrintF(strMask As String, ParamArray Values()) As String
‘ *** International date handlerPublic Enum eDateLocale edlArabic = &H401 edlDanish = &H406 edlGerman = &H407 edlSwissGerman = &H807 edlAmerican = &H409 edlBritish = &H809 edlAustralian = &HC09 edlSpanish =
‘ Set the printer with the input name as the default printer for *this ‘ application* (not for the whole system)Function SelectPrinter(ByVal printer_name As String) As Boolean Dim i As
Private Declare Sub CopyMemory Lib “kernel32” Alias “RtlMoveMemory” (pDst As _ Any, pSrc As Any, ByVal ByteLen As Long)’ This is a replacement for the “Replace” function provided by VB6,’
‘ Do the check spelling on the input text’ Returns the input text with the corrections applied from the Word’s check-‘ spelling dialog’ Note: it requires a reference to the
racle has given its grid-ready, next-generation database the ability to manage itself and assume the burden of daily management tasks from the database administrator (DBA). During a session dedicated to
ode generation abstracts the design of the code so that multiple outputs can be created from a single model of the application functionality, which means development teams can focus on
Ever get annoyed that there’s no “direct mode” environment in Perl? Instead, you have to save your code to a file and then execute it everytime. To offset this, I
You can create an ODBCDirect recordset for use with the Excel Range objects CopyFromRecordset method by using the DAO.Connection objects OpenRecordset method: Public Function CreateDaoRecordset( _ ByVal sDataSource As String,
n a previous column I explained the rules of POD initialization. The rules of class member initialization are radically different, due to the fact that, in certain contexts, member initialization










