The Latest

DevX - Software Development Resource

Including Debug Code in Your Classes

You will often need to verify the correct running of your code. While you can use the debug mode of an IDE or compiler, you can also include some debugging

DevX - Software Development Resource

Use Safer International Conversions

I have problems developing applications for non-English Related Posts Microsoft Launches AI DivisionUsing the HASHBYTES Function in SQLFormat the Currency for a Culture in C#Report: Windows ‘Redstone’ Coming in 2016Black

DevX - Software Development Resource

Handle Errors Within Forms

When you load or show a form, errors don Related Posts Eclipse Foundation Releases Mars TrainSaaSGenius Provides Reviews of Cloud Computing ServicesCheck if a Character Is WhitespaceVolvo EX30 Electric SUV

DevX - Software Development Resource

Store Multiple Values in a Tag

It would often be convenient to store multiple values in the Tag property. Here are two simple functions that help you do that. The first function stores the value in

DevX - Software Development Resource

Use Objects Directly Within Collections

If you use collections in your apps, you Related Posts Aspect Boosts Performance, Features And Functionality In Latest CTRM ReleaseChinese Engineers Mentor Indian iPhone AssemblersSpaceX spacewalk launch reveals immune challengesMicrosoft

DevX - Software Development Resource

Select a Whole Row in Any ListView

Only in VB6 do the common controls OCX files provide an option to select a full line in a listview. In earlier versions, you can select a ListItem only by

DevX - Software Development Resource

Assign Null Fields to Controls Without Error

Here Related Posts How To Start A Tutoring Business In 2024Apple hits all-time high, nears $3.176 trillionAI-Assisted Breakthrough in Battery TechnologyCorsair HS70 Wireless Headset ReviewSamsung India Launches Galaxy A25, A15

DevX - Software Development Resource

Find the Error-Generating Line

After trapping an error in debug mode with the usual “On Error Goto ErrorHandlingCode”, you might be frustrated that you can Related Posts What Are Effective Methods for Handling Large

DevX - Software Development Resource

Perform a Strict Date Validity Check

If you use dates in your program frequently and you want them to be in a particular format, you don Related Posts Top App Development Companies in ChicagoSolar Electric Vehicles

DevX - Software Development Resource

Return Empty Arrays Too

With VB6 came the ability to return arrays from functions. Returning an uninitialized array is a problem because there is no easy way?other than error-trapping?to find whether an array has

DevX - Software Development Resource

Restrict Control Sizing

A few ActiveX controls, such as the Common Dialog Control, don Related Posts Study: Code Refactoring Doesn’t Improve QualityBuilding Robust SoftwareModern Warfare 2 remastered mod now availableQuickly preview the file

DevX - Software Development Resource

Calculate Finishing Time

If you ever wondered how some DOS applications, such as Norton Utilities, calculate the estimated finishing time for a long process, here Related Posts CES 2024: Tech Innovations and Smart

DevX - Software Development Resource

Load a Bitmap Resource from a DLL

You can employ any DLL Related Posts Survey: Most Enterprises Still Focus on Structured DataDiscover XYZ Company’s Redesigned WebsiteMicrosoft Unveils PowerApps Development ServiceReport reveals flaws in corporate carbon offsetsCollaborative Peer

DevX - Software Development Resource

Operate on an Array of Selected ListItems

The fast way to get multiple selected items from a ListBox control is to send it a LB_GETSELITEMS window message. Here Related Posts How To Clear Cookies On AndroidCloud Security

DevX - Software Development Resource

Generate Normal Distributions of Random Numbers

Visual Basic Related Posts Enhancing Global Education: The Impact of AI on Video TranslationRevolutionizing Energy: SunZia and Clean Power AllianceNYC uses AI to detect subway fare evasionHow To Backup Android

DevX - Software Development Resource

Add Incremental Search to a Combo Box

As the user types into a drop-down combo box, he or she passes keystrokes to the ComboIncrementalSearch routine, which then searches the combo box Related Posts The Role of Breach

DevX - Software Development Resource

Open Your VB Projects With a Clean Slate

If you Related Posts Getting the Current Date and Time in MySQLHow to define an auto-incremented identifier via JPA annotationsKey Steps to Ensure Quality Phone Repairs Kaynes and Telangana Unite to

DevX - Software Development Resource

Customize the IDE Toolbar

The VB Integrated Development Environment (IDE) contains many toolbars and menu functions, and the functions you normally use are usually on different toolbars and menus, so most programmers have several

DevX - Software Development Resource

Force the Short-Circuit

To optimize the If construct, separating testing conditions (“And” operator or “Or” operator) in different expressions can improve the performance. For example, don Related Posts Using the DATALENGTH SQL FunctionThe

DevX - Software Development Resource

Reading Binary Data from an ifstream

To read a binary value from an input file stream (ifstream) object, use the read() member function. read() takes two parameters: char * and long, which hold the address of

DevX - Software Development Resource

Parenthesize Macro Arguments

It’s a good idea to parenthesize every macro argument. For example: #define MAX(x,y) (x)>(y)?(x):(y) The parentheses ensure that the macro is evaluated correctly, even if the user passes complex expressions

DevX - Software Development Resource

Serializing a Polymorphic Object

A polymorphic object has one or more virtual functions. When you serialize such an object to a file so that it can be reconstituted later, the deserialization might rewrite its

DevX - Software Development Resource

Writing Binary Data to an ofstream

To write the binary value of a variable to an output file stream (ofstream) object, use the write() member function. write() takes two parameters: const char * and long, which

DevX - Software Development Resource

CUDL – A class to create UDL files

‘ A class that creates UDL files for use as ADO Data Sources.’ Universal Data link files are handy for select data sources but there’ are lack of a way

DevX - Software Development Resource

Fill a Combo with Available Drive Letters

To create a drop-down control with a list of used or unused drive letters, place two ComboBox controls on a form, named Combo1 and Combo2, and include this code to

DevX - Software Development Resource

Restore Properties as They Were

If you don Related Posts Achieving FlowJames Webb telescope uncovers early black holesHybrid Cloud Computing Leads to IoT, Cognitive Computing, Says IBM ReportTurn Off the Index Maintenance of DataTable when

DevX - Software Development Resource

Perform String “Math” With Leading Zeroes

In an introduction to VB Related Posts Home Depot bolsters B2B with $18.3B acquisitionMedical AI Struggles with New PatientsBitcoin miners diversify into AI and HPCEnhancing Web Security with Website Virus