We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

DevX - Software Development Resource

Hide or disable the Windows’ application bar

The Windows’ application bar (or Startbar) is a window like any other window in the system, so you can hide/show and enable/disable it. The only thing you need to know

DevX - Software Development Resource

How to apply the flat style to a toolbar

All recent Windows applications use a flat toolbar similar to Internet Explorer ‘s and Microsoft Word’s ones. Visual Basic 6 includes a Toolbar control that supports the flat look, but

DevX - Software Development Resource

Get IP Address Via The Hostname

The class java.net.InetAddress represents an Internet Protocol (IP) address. You can use this class to find the IP address of a host using the hostname. The following code demonstrates this:

DevX - Software Development Resource

Get the Hostname via IP Address

The class java.net.InetAddress represents an Internet Protocol (IP) address. You can use this class to find the hostname of an IP address. The following code demonstrates this: try{ java.net.InetAddress inetAdd

DevX - Software Development Resource

Using URLEncode to Pass Query String Values

Question: I’m passing a string from one ASP template to another. The string may contain spaces so I call URLEncode, which works well as far as preventing the 400 Error

DevX - Software Development Resource

Access Legacy Data on Mainframe

Question: How do you access data on a mainframe using ASP? Answer: It depends on your mainframe application. If there is a way to connect to the data via ODBC

DevX - Software Development Resource

Format a Date as mm/dd/yyyy

Question: I need a VBScript function that will format a date as mm/dd/yyyy. The FormatDateTime function does not give me this option and the CDate function wants to convert everything

DevX - Software Development Resource

Programmatically Force a Save As Dialog Box

Question: Is it possible to force the file download box to appear through ASP? I want to create a file on the fly with the response.write method to fill its

DevX - Software Development Resource

Read Content From a Remote URL

Question: How can I read the content of an HTML page from another URL? I tried using the FileSystemObject by providing the virtual path, but it says http permission is

DevX - Software Development Resource

Read Metadata With OpenSchema

Question: How do I read the names of tables and fields in an Access database? I tried OpenSchema, but I got the error, “The operation requested by the application is

DevX - Software Development Resource

Properly use Underscores with LIKE in a WHERE Clause

Underscores signify a single character in SQL language. Using LIKE for underscores will returns all values for ‘x’ whether they contain an underscore or not. Therefore, usage as shown below

DevX - Software Development Resource

Enumerate a Dictionary Object

Although the Dictionary object does not have an enumerator, it does have an Items method that returns a Variant array. You can use the For…Each construct on the array: Dim

DevX - Software Development Resource

Find the Last Modified Date of a Web Page

Microsoft’s Internet Transfer Control (MSInet.ocx) is a great tool to use to automate the Web. However, how do you know you’re looking at an updated version of a Web page?

DevX - Software Development Resource

Avoid IIf Inefficiencies

The IIf function-which returns one of two values determined by logical test-has this syntax: IIf(Expression, TruePart, FalsePart). At first, it might seem like an ideal shortcut for an If…Else…End If

DevX - Software Development Resource

Support Enumeration in Your Collection Classes

To create a collection class you can use with the For Each…Next syntax, add a subroutine that looks like this: Private myCollection As CollectionPublic Property Get NewEnum() As IUnknown Set

DevX - Software Development Resource

Customize Colors and Fonts for Statusbar Panels

You can easily customize the fonts and colors in individual statusbar panels using a PictureBox control and an API call. Each statusbar panel can display a Picture object, so you

DevX - Software Development Resource

Make a Form Stay on Top Redux

Many routines use the SetWindowPos API to always keep a form on top. Most require the user to remember several nonintuitive arguments. I’ll not only show you how to simplify

DevX - Software Development Resource

Speed up String Operations

It’s often faster to perform string operations with byte arrays than with 32-bit VB’s native double-byte character strings. Even when using 16-bit VB4’s single-byte character strings, it’s still often faster

DevX - Software Development Resource

MCI Supports Multiple CD-ROMs

The Media Control Interface (MCI) can easily support multiple CD audio devices.You simply specify the drive letter in the MCI open command. To eject the CD from any drive,first place

DevX - Software Development Resource

Proper MouseLeave Detection

I have read many tips about using MouseMove events to create an Explorer-like coolbar look. The problem is that if your button is located close to the main form’s border