The Latest

DevX - Software Development Resource

Storing Your Secret Data in Windows

Developers often ask me how they can safely store secret information when building secure systems. A secret is any data known only to one or more valid computers, users, or

DevX - Software Development Resource

Merge VBL Files into Your Registry

Use this tip when developing ActiveX components and testing ActiveX OCXs that require license files. These Registry entries allow you to merge VBL file contents into the Registry. You add

DevX - Software Development Resource

Open Namespace Objects From VB

As you probably know, you can open an Explorer window on a directory from VB by using the intrinsic Shell function: Dim TaskId As LongTaskId = Shell(“Explorer c:”, vbNormalFocus) But

DevX - Software Development Resource

Keep Selected Areas in Grid Read-Only

I needed to lock a row on a grid to show totals as well as a percentage row that needed to remain read-only to the user. I didn Related Posts

DevX - Software Development Resource

Duck the Modal Form PopupMenu Bug

Microsoft confirms this bug: If an application contains at least two forms, and one of those forms is displayed modally using a PopupMenu on another form, a PopupMenu on the

DevX - Software Development Resource

Zoom Continuously in Your Image-processing Apps

This code demonstrates how fast you can zoom into images using VB Related Posts Developers Can Now Pre-Order Microsoft HoloLensMolly from China reports Tesla bugIFA Reveals Cool Home GadgetsStanford Project

DevX - Software Development Resource

Quick Split

When you use the Split function from VB6 or VBScript, sometimes you need only a single value and not the whole array. To do this, you can reference the element

DevX - Software Development Resource

Object Properties as Parameters Are ByVal Only

In VB, we can use a function/sub call to return results by passing parameters by reference (although it Related Posts Rising cloud costs challenge digital transformationOpen-Source vs Proprietary AI: Epic

DevX - Software Development Resource

App.Path is Inconsistent

The path returned by App.Path is inconsistent. If the program is running in a root directory, the path will have a backslash on the end. Otherwise, it won Related Posts

DevX - Software Development Resource

VBScript for “ShowOpenDialog”

Ever want to use the Common Dialog “ShowOpenDialog” but were frustrated because it required that Visual Studio be installed on each user’s PC?Here’s an alternative written in VBScript that can

DevX - Software Development Resource

Internet Doomsayers Exaggerate Dangers

ust before Christmas, in an annual telebriefing designed to predict future technology trends, John Gantz, chief research officer of International Data Corp. (IDC), in Framingham, Mass., remarked that “a major

DevX - Software Development Resource

Executable UML: Diagrams for the Future

“The entire history of software engineering is that of the rise in levels of abstraction” said Grady Booch in his talk “The Limits of Software.” Today, we’re at the beginning

DevX - Software Development Resource

Visual SourceSafe Browser Control

This ActiveX control enables browsing of Visual SourceSafe databases in form of a hierarchical tree. The control supports partial hierarchy loading to prevent delays while working with databases containing large

DevX - Software Development Resource

Creating a default button for the page

It is usual for a web form to have more than one button control. How can you set the default button that should submit the form and raise its Click

DevX - Software Development Resource

Creating multi-steps input forms

In a typical user registration form, you may ask for quite a lot of data, such as the first and last name, full address, phone and fax numbers, e-mail address,

DevX - Software Development Resource

Uploading a file on the server

Uploading a file from the client to the server is very straightforward with ASP.NET. Just use the tag and its wrapper class HtmlInputFile. Here’s how you define the control on

DevX - Software Development Resource

Deploy Your J2ME Application on a Sprint Phone

recently tested one of my J2ME MIDlet applications on a Sprint Vision handset. Once on the handset, the application ran great and I needed to make only a few changes

DevX - Software Development Resource

Java History 101: Once Upon an Oak

few weeks ago I was talking to someone about the origins of Java when I realized that I had big gaps in my knowledge of Java’s history. Trying to fill

DevX - Software Development Resource

Eliminating IsEmpty and IsNull Issues in ASP

When dealing with COM, unfamiliar database schemas, or regular code, sometimes you will find yourself wondering whether to test if a variable is Null by using either: IsEmpty(varname)IsNull(varName)If varname =

DevX - Software Development Resource

Multiply Values of a Particular Column in SQL Server

There is no T-SQL function for getting product of rows in a particular column. For example, say you had a table like this: –/////////////////////////////select * from #tbltest order by mydate