devxlogo

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

Finding Cursor Position in TextBox

Question: How can I find the current cursor position in text box? Answer: You can use the SelStart property of the TextBox to indicate where the cursor is in the

ASCII Values

Question: How do I change an ASCII value to a letter in C++? Answer: You can directly assign the ASCII vlaues to a variables of type char.The decimal value is

Problems with Getc and Scanf

Question: I want to make a menu, where you can select from 1-4. By pressing one of these keys you should get into a subprogram. Now I have to press

Creating Visual Basic DLLs

Question: Is it possible to create DLLs in Visual Basic? If so, how? For example, I want a DLL with a function that can accept 2 integer arguments and returns

Changing E-mail Addresses in Bulk

Question: How can I define a second SMTP e-mail address, specify that the new e-mail address be the reply address, and retain the old address easily for many (>1000) users?

Selling the Decision Makers on XML

Question: I am starting to see the benefits of using XML and XSL in Web site development, but my challenge is convincing the decision makers. Their usual responses are: “Show

Find Text Programmatically With textRange

Browsers Targeted: Internet Explorer 4+ You can find a string of text within a document programmatically using the textRange object, which handles most of the internal string manipulation capabilities in

Using XSLT to Transform Flat Data Into a Hierarchy

Question: I have a limited understanding of XSL (Extensible Stylesheet Language) and have been trying to figure out how to write an XSL document that will transform a highly de-normalized

Database Performance Degradation

Question: We are running Informix On-Line Database Engine 7.23 on an HP UX 11.0 machine with 4 CPUs.The database is connected through a middle-tier, which is ENTERA Application Server running

Fix VID Connections on NT Server

Users of Visual InterDev sometimes report getting an error message when they try to create a new project. The error claims that there is no Web named “”. This can

INFORMATION_SCHEMA: A Map to Your Database

f you’ve spent any time at all working with databases, you know that the time comes when you scratch your head and ask, “Now what was the name of that

Maintain Large Databases with XML Servers

ne of the more common questions asked here at “Ask the XML Pro” has to do with the dilemma of maintaining large databases of XML data. Specifically, suppose that you

Validating and Formatting a Phone Number

any of the more common questions asked of the VB Pro involve formatting and validating data. In this 10-Minute Solution, you’ll learn how to validate and format a phone number.

Writing Java for the Palm

ava continues to make inroads at all levels of computing. Mostrecently, Java has returned to its roots and found a home in the smalldevices for which it was originally designed.

Building an Application Error Handler

untime errors can occur as a result of attempts to complete an invalid operation while the program is running. There are two causes of runtime errors: either one of the

Ensure Efficient Usage of Connections

You should be very careful while establishing database connections from your Web-based application. MDAC 2.0 (Microsoft Data Access Components) provides automatic connection pooling behind the scenes. Connection pooling in OLE

Quickly Convert Recordset into an XML File

With MDAC 2.1 (Microsoft Data Access Components), you can generate a XML file quickly from a Recordset object. The Save() method of Recordset object takes in an optional parameter, adPersistXML,

Transferring .PST Files from Work to Home

Question: I’m running Outlook 2000 and would like to import my *.pst file into my home system. However, I receive an error message saying that the file needs to be

The Many Uses of the Split Function

s Visual Basic and VBScript have progressed from version to version, chances are you have not kept up to date with some of the new functions introduced in the later

Using AVIs as Buttons

Browsers Targeted: Internet Explorer 3+ Depending upon your bandwidth availability, you can incorporate AVIs into your Web pages as navigational elements. If you set the dynsrc property of the tag

Undo changes in a TextBox control

The TextBox control supports the capability to undo changes, but there is no property or method that exposes this feature. You can achieve the same goal with a a set

The first visible line in a multiline TextBox control

To determine the index of the first visible line in a multiline TextBox control you only need to send it the EM_GETFIRSTVISIBLELINE message: Private Declare Function SendMessage Lib “user32” Alias

Create TextBox with dithered background

If your video display has 256 colors or less and you assign a dithered color to the BackColor property of a TextBox control, you’ll find that the background color under

Recalculate the Download Time in DreamWeaver 2

By default, DreamWeaver 2 assumes that your page will be downloaded with a 28.8 KB per second modem. The estimated download time appears in the status bar. If you are

Be Aware Of The Signed Byte

Java lets you cast an integer into a byte and vice versa. While this provides power and flexibility, we should be aware that Java’s byte data type is signed, meaning

Validate Dates With Java

We can use java.text.DateFormat to validate dates. DateFormat is an abstract class for date/time formatting subclasses. It provides parsing methods for conversion of text into date. If the conversion cannot