
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.
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
San Francisco, Calif.?Oracle believes the future of enterprise computing is the grid, and the enterprise software giant is staking its upcoming 10g platform on it. Oracle used this year’s OracleWorld
Presenting information on the web can be a challenge, especially when you need to show more information than fits neatly on a given screen. This article presents a way to
USE PubS– Sort Each of PubName in Natural Alphabetic Order but push A’s to thelastselect * from publishersOrder by (CASE left(Pub_name,1) WHEN ‘A’ THEN 1000 ELSE ASCII(pub_name)END)–Sort Publishers By City
Server.MapPath() actually generates an additional requests to the Web server. A cheaper way to get the physical path for virtual root path of your website on the server is: Request.ServerVariables(“APPL_PHYSICAL_PATH”)
Windows has the solution: the IsCharAlphaNumeric function, defined in User32.dll. This function uses the currently defined locale when performing comparisons, thereby allowing full use of accented characters. This sample demonstrates
This code highlights the cell of a JTable when the cell is moused over. It includes its own Table cell renderer and a Mouse motion listener, for getting the mouse
A constructor that takes a single argument is, by default, an implicit conversion operator, which converts its argument to an object of its class, the keyword “explicit” can be placed
ryptography is the science of transforming messages so that the meaning is hidden (encryption) and recovering the hidden meaning from transformed messages (decryption). A transformed message, in which the meaning
WordHelper is a C# class that helps working with MS Word 2000 documents and simplifies the programmatic construction of a Word document. It has methods to launch a Word instance,
‘ Insert an image into a RichTextBox, in the current position” This version takes in input the target RichTextBox and the path of the image ‘ to insert’ Example: InsertImageIntoRtb(RichTextBox1,
‘ Return a reference to the control with the specified name,’ searched into the specified container and its sub-controls’ Note: it requires the GetAllControls function” Example: get a reference to
‘ Create an InputBox like the one of VB6. You can define the dialog’s title,’ question and default value.’ Example: MessageBox.Show(InputDialog.InputBox(“Type your name:”, “Test”,’ “Marco”))Public Class InputDialog Inherits System.Windows.Forms.Form#Region “
Have you ever tried to change the BorderStyle, HideSelection, MultiLine, ScrollBars, WordWrap and TextAlign properties of a TextBox, or the ComboBox
It happens quite often that you have a DataGrid with hidden columns (with width = 0), because you need their values but don’t want to show them to the user.
f you’re a Web developer, you may well have written something like the following input tag, which accepts a number that a user types in. Unhappily, you’ve probably also experienced











