The Latest

DevX - Software Development Resource

Make A More Efficient Split Function for VB4 and VB5

This is a fast, efficient way to make a split function. For longer strings, performance can be improved by enlarging AllocUnits. Public Function Split(strText As String, _Optional Byval Delimited As

DevX - Software Development Resource

Extract the Extension of a Filename

Extracting the extension of a filename is a requirement in many file searches and file I/O related applications. A simple way to do this is to use the split function.

DevX - Software Development Resource

Create a Linked Server in SQL Server

You can establish a link to the remote SQL Server using this code: Sp_addlinkedserverSyntax :SP_addlinkedserver[@Server]=’server'[,[Srvproduct=]’product_name'[,[@provider=]’provider_name’][,[@datascr=]’data_source’][,[location=]’location'[,[@provstr=]’Provider_string'[,[@catalog=]’catalog’]server: Name of the linked server to createproduct_name: Product name of te OLE DB data sourceProvider_name:

DevX - Software Development Resource

Why Static Methods Can Only Make Calls to Static Methods

Write the following code, compile it, then try to run it: class TstApppublic static void main (String args[])Next_Level(args[0]);}public void Next_Level(String Incoming_String)System.out.println(Incoming_String);}} It is very simple code but it will not

DevX - Software Development Resource

Retrieving the Date From lastModified()Method

The lastModified() method in java.io.File returns a long datatype. Thislong datatype represents the date and time when the file was last modified.The value does not carry any usage unless it

DevX - Software Development Resource

Counting the Occurrences of a String

Counting the occurrences of a string can be useful when you Related Posts MSAL: New Authentication Library from MicrosoftSony Begins Selling Developer Preview of SmartEyeglassKEMP Technologies delivers dynamic approach to

DevX - Software Development Resource

Create a Shortcut Key For a TextBox

Associate a label that describes what the text box is meant for.For example, a label with the caption ‘Name’ would be a good pair for a text box wherein you

DevX - Software Development Resource

Add Multithreading to Your VB.NET Applications

evelopers have been requesting that Microsoft add more threading functionality to VB for some time?it will finally happen with VB.NET. VB6 does have support for building multithreaded EXEs, DLLs, and

DevX - Software Development Resource

Understanding and Calculating Dates

QL Server provides many sophisticated functions to calculate dates. But knowing how to use them can often be a challenge. Suppose you want to calculate when a package is due

DevX - Software Development Resource

Cloning Data Accurately and Randomly

ecently I encountered a couple of Oracle-tuning projects that required me to evaluate the performance of PL/SQL and SQL code. I had to generate a substantial amount of data from

DevX - Software Development Resource

Creating Clickable Appointments

onsider the scenario in which you are building a Web application that displays events or appointments for different dates. If you want your users to remember this event within their

DevX - Software Development Resource

XML Parsers: DOM and SAX Put to the Test

ML is becoming increasingly popular in the developer community as a tool for passing, manipulating, storing, and organizing information. If you are one of the many developers planning to use

DevX - Software Development Resource

Choose Your Java XML Parser

he XML parser world is a dynamic one. As standards change, the parsers change as well–XML parsers are becoming more sophisticated. For most programming projects, the parser, at minimum, must

DevX - Software Development Resource

Show the List Box of a Combo Box Using SendKeys

It’s possible to show the list box of a combo box, with focus, using SendKeys “{F4}”. It Related Posts Create a Snapshot of Your DatabaseMusk and LeCun clash over xAI

DevX - Software Development Resource

Use Early Binding to Speed Up Procedure Calls

Use early binding by declaring variables as the correct object/interface. This will speed up procedure calls. Example: * Create a new Standard EXE Project * Add a list box to

DevX - Software Development Resource

ErrReport DLL

ErrReport provides an easy way to add centralized error reporting capabilities to applications written in Visual Basic. ErrReport has the following features: (a) Thorough diagnostic information. In addition to the

DevX - Software Development Resource

HTMLDecode – Convert an HTML string to a plain text

‘ Decode an HTML string to a regular ANSI string” it strips down all special HTML sequences (eg “<“)’ however, it doesn’t strip HTML tagsFunction HTMLDecode(ByVal html As String) As