The Latest

DevX - Software Development Resource

Store large Boolean arrays in a BitArray object

.NET Boolean values require 4 bytes each, as opposed to the 2 byte taken under previous VB versions. When creating very large Boolean arrays this extra memory impacts negatively on

DevX - Software Development Resource

Release COM objects earlier

If you’re using a COM object through COM Interop you should be aware that the object isn’t released as soon as you set it to Nothing, as it happens with

DevX - Software Development Resource

Let VB Spell the Control Name for You

I love the way VB Related Posts Understanding the Collection.removeIf MethodDiscovering the Reason for Poor Query PerformanceThis AI Make You RichIBM to Focus on Java, Node.js and SwiftHow to Change

DevX - Software Development Resource

Count the Number of Elements in an Array

This function computes the number of elements of any one-dimensional array?it sure beats ripping open the SAFEARRAY array descriptor. Use it when you Related Posts Get Current Language of SQL

DevX - Software Development Resource

Extend Registry Functionality

An (undocumented) feature of VB Related Posts Accelerate Mobile Pages with AMPTypes of Indexes that Exist in SQLMicrosoft Has More Open Source Contributors Than Any Other OrganizationRapid Battery Fire Surge

DevX - Software Development Resource

Return Strings From an API

In .NET, strings are immutable: When you pass them out to an API, you can Related Posts Virginia receives $1.5 billion for broadbandHow To Start A Painting Business In No

DevX - Software Development Resource

Pass Error Message Throughout Nested Components

When you use components in your VB projects, sometimes it Related Posts Revolutionizing Healthcare with AI-Enhanced UpToDateVariable Arguments in JavaRun Node.js from Inside a .NET Application Using Edge.jsYou Should Use

DevX - Software Development Resource

Preprocess Nulls in Your Recordset

I Related Posts Boost Your Mobile Signal: Expert TechniquesBlackstone sells 3,000 UK homes to USSCycle Taskbar Icons in WindowsCompress and Decompress SQL FunctionsReverse a String in Python

DevX - Software Development Resource

Toggle Min/Max Buttons at Run Time

Here Related Posts Healthcare Ransomware Crisis: OCR Enforces AccountabilityRemove a Constraint from a Table in Oracle SQLTop 5 Strategies to Combat Ad HijackingDate Settings Problem (Regional Settings)How To Connect AirPods

DevX - Software Development Resource

Use Bitwise Comparison in SQL Server Queries

The newsgroups offer a lot of discussion about bitwise comparison in SQL statements. VB supports true bitwise arithmetic with And, but SQL supports only a logical AND and returns only

DevX - Software Development Resource

Convert Values for Collection

If you Related Posts Block and Unblock Internet Access on a User’s Computer Using C#Getting the Current Date and Time in MySQLWhite House Proposal Promotes Open Source SoftwareCampaign Tracking with

DevX - Software Development Resource

Winning: It’s All About Distribution, Baby!

Stewart Alsop gave an offbeat keynote at the BREW 2002 Developers Conference in early June. A onetime editor-in-chief of PC industry newspaper InfoWorld, an entrepreneur, and a longtime PC industry

DevX - Software Development Resource

Comparing Computer Information with WMI, Part II

n part one of Comparing Computer Information, I covered some of WMI’s low-hanging fruit (meaning, information that is relatively easy to retrieve). However, there are other, rather interesting pieces of

DevX - Software Development Resource

Avoid Database Deadlocks with Planning

esolving deadlocks is one of the more elusive solutions in database application development. Deadlocks are the dark side of concurrency, that is, they occur when some combination of locking, coding,

DevX - Software Development Resource

A super-efficient subclasser routine

cSuperClass.cls is yet another compiled in subclasser but with some major differences… this one doesn’t use a module, instead it dynamically generates a machine code window procedure that can operate

DevX - Software Development Resource

Understanding passing arrays by reference

.NET arrays are object types, thus an array variable is actually a pointer to the object where data is actually stored. For this reason, when you pass an array to

DevX - Software Development Resource

Evaluate an expression at runtime

The .NET framework doesn’t offer any direct way to evaluate an expression that has been entered by the end user when the application is running. However, it is quite simple

DevX - Software Development Resource

Change the application priority

The application’s priority – and more in general the thread’s priority – indicates how the application is “important” for the CPU. The more the priority is hight the more the

DevX - Software Development Resource

The WebStresser utility

The WebStresser utility is a simple VB6 application that repeatedly sends an HTTP request to the Web server of your choice. You can use it to test the ASP or

DevX - Software Development Resource

Create a command-line filter utility

The Console class exposes two properties that make it very simple to create command-line utilities that work as filters, exactly like the FIND and MORE utilities that are provided with

DevX - Software Development Resource

Write applications that take arguments

C# has a nice feature that VB.NET lacks: the ability to define a Main procedure that takes an array of strings, each one containig one of the arguments passed on

DevX - Software Development Resource

Duplicate the SET operating system command

The Environment.GetEnvironmentVariables property returns the list of all the environment variables, as an IDictionary object. If you want to display them sorted by their name, as the SET command does