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

NumberOfCPUs – The number of processors

Const HKEY_LOCAL_MACHINE = &H80000002′ Return the number of processors” Requires the CheckRegistryKey routineFunction GetNumberOfCPUs() As Integer Dim keyName As String ‘ loop on the subkeys of HKEY_LOCAL_MACHINEHardwareDescriptionSystem ‘ CentralProcessor ‘

DevX - Software Development Resource

Avoid Double Quotes Inside Quoted Strings

Avoid putting double quotes inside of double quotes in your HTML code. You may not get a compiler error, but your script just won’t work. Instead, substitute single quotes for

DevX - Software Development Resource

Pass Variables From Page to Page

We can pass variables from page to page with the following script: This snippet of ASP script will also automatically create hidden fields that will be dumped into all following

DevX - Software Development Resource

Nest Frames Within Frames

If you’re writing complex frame sets by hand, it’s easy to get lost in “spaghetti code.” To keep a handle on the situation, don’t build the entire frame set at

DevX - Software Development Resource

Determine Which Style Sheets to Use

There are some differences in Cascading Style Sheet implementation in Internet Explorer 3 and 4. So you may want to choose which set of style sheets to load for your

DevX - Software Development Resource

Identifying Browsers Using ASP

Using the BrowserType object, your ASP pages can detect the type of browser being used to download the page. In addition, you can also test the browser for specific capabilities.

DevX - Software Development Resource

Mouseover Effects for Links

The following code can be used in the tag of an HTML document for automatic mouseover effects on all links on the page. The styles ‘a’ and ‘a:visited’ are used

DevX - Software Development Resource

Connecting Informix Databases

Question: How can I use SQL to access an Informix database that’s on a remote site and connected via a VPN while connected to an Informix database locally? Both are

DevX - Software Development Resource

Displaying Server Variables

ServerVariables’ collection of request objects provides vital information about the client browser, HTTP header, etc. During the development of a web application, we use various variables of this collection to

DevX - Software Development Resource

How to Tile Background Images in Table Cells

Both IE and Navigator let you specify different background colors in table cells. However, IE ups the ante by supporting tiled background images in different cells or even behind an

DevX - Software Development Resource

Changing the ScriptTimeout

The default setting for ScriptTimeout is 90 seconds. For IIS 3.0, it is located in the system registry where we can easily change it to another value. It is advisable

DevX - Software Development Resource

Using the JavaScript Keyword “This”

JavaScript provides a special keyword, “this”, which is a reference to the object that contains a JavaScript statement or function call. For example, if we have a text box object,

DevX - Software Development Resource

Updating Multiple frames at Once

If you use frames in your page, it’s easy enough to create a link that updates one of them. But what do you do when you need to update two

DevX - Software Development Resource

Confirm Dialog From a HREF

We can use the following JavaScript code to get a confirmation from the user before navigating to another page. Redirect

DevX - Software Development Resource

A Smart Ceiling for a Ratio of Two Integers

I often use the following trick in my code. Let “a” and “b” be real positive numbers. You want to find the smallest integer greater than or equal to “a/b”.

DevX - Software Development Resource

Separating Colors with a Pull-Down Menu

Question: When I implemented a pull-down menu, it wiped out the default, anchoring color schemes. When I changed the pull-down menu to blue text, my anchored text showed blue again.

DevX - Software Development Resource

Custom Menu Pop-Up

Question: When I press the right mouse click, I’d like to have a custom menu pop up instead of the usual default browser pop-up. How can I do this with

DevX - Software Development Resource

Opening New Windows With iframes

Question: I’m loading news links from our companies’ database to our home page using the tag. However, when a user clicks on one of these links, the news item appears

DevX - Software Development Resource

HTML Table Filling Using DHTML

Question: Is there a way to read the contents of a directory into a table so that the contents of each cell of the table becomes a link? Answer: This

DevX - Software Development Resource

Inserting Data Through SQL

Question: I’m using ASP to register data in a DBF table through a SQL statement. I get data from a form (textarea) in an HTML page. However, the SQL statement