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

Choose Consistent Case for Open and Close Tags

Writing well-formed HTML is really quite simple. It has the benefits of markup being unambiguous as well as a way to increase the robustness of the Web, while simplifying and

Navigate Back to the Target

One of the easiest methods to navigate back to the page where they came from is with JavaScript object.property called document.referrer. This document.referrer means the page that referred the current

Setting Timeout for ADO

If you have a data driven Web site, you might provide functionality so that a user can delete records from the database via a Web page. If there are lots

How to Construct Images in Memory

There are many simple images (stripes, hue gradients, fractals, and the like) that can easily be constructed in memory via code. To do so, you need a one-dimensional array to

Exploit Serialization To Perform Deep Copy

The clone() method of java.lang.Object class makes a shallow copy of anobject i.e. a copy that excludes the objects that the to-be-cloned object contains. Therefore, to produce a deep copy

The Fraction Gotcha In Java

In Java The expression x/y (x and y are both integers) will represent an integer operation that would result in an integer. So, the result of 4/5 would be 0.

Discover the IP Address of Your Local Machine

The class java.net.InetAddress represents an Internet Protocol (IP) address. It has a static method, getLocalHost(), that you can use to obtain an instance of java.net.InetAddress based on your local machine’s

Display Data from a Database in Your ASP Page

nce you go beyond the basics in ASP?scripting some fancy output?the next thing you usually want to do is access a database and display data from it. This ASP primer

DHTML Collapsing Treeview

y now, I’m sure that you have some Web development experience, either with VB DHTML applications, or HTML pages using VBScript. If not, then you will soon, so pay attention.

FormManager Fun in Visual InterDev 6

his article takes a first look at the FormManager, one of the important new featuresin Visual InterDev 6. When dropped onto an Active Server Pages (ASP) page, the FormManagerdesign-time control

Overloaded Log File

Question: Our Web server (NT 4.0) became inoperable over the weekend due to a SQL Server error that stated that the “applications log file is full”. From what I understand,

Why don’t destructors work on global classes?

Question: Why don’t destructors work on global classes? Answer: Actually, destructors do work in global objects. The problem is, they are invoked after the program has ended so you don’t

How do I get the TextBox to display

Question: How do I get the TextBox to display automatically at the end of text, instead of at the begining of the text? Answer: The answer is very simple. All

User ID Scripts

Question: I need to write a script that tells me the last user_id entered on a table and then another script in order to allow me (or a user) to

Problem Using Execute SQL in Microsoft Query

Question: In Microsoft Query I can’t seem to use the Execute SQL function. I’m learning SQL from a book called The ColdFusion 4.0 Web Application Construction Kit (Macmillan, 1998). The

Display the “Shut down Windows” dialog

To programmatically display the “Shut down Windows” standard dialog box you can use the SHShutDownDialog undocumented API function, whose declaration is: Declare Function SHShutDownDialog Lib “shell32” Alias “#60” (ByVal lType

Hide or disable the desktop icons

The Desktop is a window like any other window in the system, so you can hide/show and enable/disable it. The only details you need to know is how to retrieve

Format a drive using an undocumented function

SHFormatDrive is an undocumented but simple API function that allows you to format a drive. This function simply opens “Format Drive” diaolog window. Being undocument you won’t find its Declare

Add pizazz to your apps with an animated cursor

Who said you can’t use an animated cursor with Visual Basic? Actually, it’s so simple! You just have to load your animated cursor through LoadCursorFromFile API function, then you get

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

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

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:

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

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

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

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