The Latest

DevX - Software Development Resource

Dealing with DllImport

Part 1: Although the .NET framework encapsulates a large portion of the Win32 API, it’s sometimes still necessary to call the API from your managed code using the DllImport attribute?and

DevX - Software Development Resource

D

You can use the technique for an “undo” menu/toolbar option. Use a collection instead of a listbox to reduce overhead. Support for both LIFO and FIFO is also included: Public

DevX - Software Development Resource

Create ISAM Files Out of Thin Air

Visual Basic Programmer Related Posts Gold prices dip amid assertive fiscal commentsBlack Myth: Wukong release date announcedMicrosoft to Open Cloud Computing Centers in GermanyRevolutionizing Banking: Grasshopper Meets Treasury PrimeFlexiant Launches

DevX - Software Development Resource

Find the Cause of Query Malfunctions

This tip is for SQL Server 6.5 and up. When debugging a SELECT query, add an absolute true condition as the first condition of the WHERE clause: SELECT au_lname, au_fnameFROM

DevX - Software Development Resource

Get Dynamic Array Information

Use the GetSafeArrayInfo function to rip the lid off a SAFEARRAY. It allows the caller to identify the number of dimensions and number of elements for each dimension (among other

DevX - Software Development Resource

Return File Version Info

To use the FileSystemObject, you need to reference the Microsoft Scripting Runtime: Public Function GetExecutableFileVersion(ByVal _ Filename As String) As String Dim FileObj As Scripting.FileSystemObject ‘ Create Object Set FileObj

DevX - Software Development Resource

Let MTS Handle Transaction Management

When you call a stored procedure in SQL Server that performs data manipulation on the database from a Microsoft Transaction Server (MTS) transaction, let MTS handle all the transaction management.

DevX - Software Development Resource

Loop Using GetTickCount or timeGetTime

This TickDiff function returns the difference of two calls to GetTickCount or timeGetTime, taking into account things such as VB Related Posts Get All the Available Time ZonesQuickly Get a

DevX - Software Development Resource

Tweak the Key and Mouse Events

Many VB objects have KeyDown, KeyUp, MouseDown, MouseUp, and MouseMove events. They Related Posts Explore the New Updates to Power BI DesktopGoogle Cloud Databases Now Generally AvailableMicrosoft Announces Azure IoT

DevX - Software Development Resource

Compare Oracle and SQL Server Strings

Oracle and SQL Server treat strings slightly differently Related Posts Intel announces major restructuring amid $1.6B lossSQL JOINsThe Big Data IllusionIBM Bluemix Adds New DevOps ServiceIncrease Your Productivity With These

DevX - Software Development Resource

Upload Files to Active Server Pages

This tip works with ASP/IIS 4.0 and up. Many companies sell ActiveX objects for uploading files to Active Server Pages. However, you can easily write a bit of VBScript to

DevX - Software Development Resource

Execute a Temporary SQL Stored Procedure

If a user doesn Related Posts Top 15 Laptops in 2023: Industry AnalysisVisual Studio 2015 Update 2 Boasts Faster C/C++ PerformanceHow to Increase the Size of an Array in JavaFinding

DevX - Software Development Resource

Tiling Made Easy

Use this method whenever you need a tiled background on your forms. All you need is an Image control with its Visible property set to False, and a graphic in

DevX - Software Development Resource

Updates, Uninstallations, and Product Codes

Install and uninstall issues are some of the most common sources of calls to help desks. The following is a tip on an implementation strategy for software updates using InstallShield

DevX - Software Development Resource

The Late but Great Rearchitecture of DevX

t was just about exactly two years ago that DevX changed enough things around that our readers were likely to notice. At that time we were implementing a site-wide navigation

DevX - Software Development Resource

Go Beyond Keywords! Perform a Visual Image Search

arge collections of diverse images, graphics and video are becoming common, both on the Web and in media asset databases. As the size of the image collections expand, it becomes

DevX - Software Development Resource

Master Font Manipulation in Java

hether you think very much about fonts or not, as an application user, you are constantly interacting with and manipulating fonts. Particularly in word processing programs, where it’s common to

DevX - Software Development Resource

Make SQL Server Respond to an ORDER BY Clause

ometimes, how you present data is just as important as the data itself. One of the simplest presentation techniques is to sort the data in some meaningful way, but SQL

DevX - Software Development Resource

Make Your Existing Perl Apps .NET-compliant

The Perl language gains popularity daily among programmers from all over the world because of its flexibility, vast sphere of application, and easy source-code availability. The Comprehensive Perl Archive Network

DevX - Software Development Resource

Create Owner-Draw List and Combo Boxes with .NET

ou create an “owner-draw” ListBox or ComboBox when you want to bypass the control’s automatic item display in order to do something special, such as display an image for each

DevX - Software Development Resource

Using OLE Drag-and-Drop in Visual Basic 6

ll graphical user interfaces, including Windows, make excellent use of the mouse. One way that the mouse can be used is drag-and-drop, the ability to initiate some action by dragging

DevX - Software Development Resource

Automate Component Registration Using MTXAdmin

As developers, we are trained to look at workflows, trends and needs, perform an analysis of our own personal experience, and recognize repetitive actions that could benefit from automation. So

DevX - Software Development Resource

Build a Reflection-based Interpreter in Java

cripting languages exist because some programming tasks are both simple and important, and carrying them out with a language that doesn’t tax the mind as much as a system programming