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

Disable the Right Click Menu in the Browser

Sometimes you want to restrict users from saving the images on your Web pages. Use the following code to disable the right click menu in the browser: Disable Right Click

Use Java to Extract All the Name-value Pairs from a URL

import java.net.*;import java.io.*;import java.util.*;import java.text.*;//Program to get all the cookies(name/pair values) from the URL passed as parameterpublic class GetCookieFromURL{ public static void main(String args[]) { try{ //create url by pass

When to Use Whole-object Member Variables

While it’s usually best to use pointers for member variables rather than storing them by value, sometimes it’s better to store the member as a whole object, that is, to

Using the CMAB for Enterprise, Client, and User Settings

pplications use many forms of configuration data, storing settings that are used in applications, enterprise, client computers, and user settings. The Configuration Management Application Block (CMAB) is typically used for

A Test Drive of the MySQL Migration Suite

he MySQL Migration Suite facilitates the movement of data from a proprietary database application. This MySQL product suite consists of three tools: MySQL Migration Toolkit, a package capable of reverse

Python + .NET = IronPython

t’s not often you see Microsoft adopting a language from the world of Open Source Software (OSS), but IronPython is just such a project and has gathered a growing following

Easy Web Services with SQL Server 2005 HTTP Endpoints

QL Server 2005’s HTTP/SOAP endpoints provide SQL Server developers with new capabilities for using Web services within SQL Server. It’s worth noting though that Web services aren’t new to SQL

Passing Pointers Instead of Const Reference Parameters

Usually, you pass const reference parameters to functions like this: class OneKind;class AnotherKind;class Example{ public: Example( const OneKind &inParam ); // conversion operator Example( const Example &inOriginal ); // copy

Printing the Contents Displayed in an Applet

Step 1: Draw any graphics objects in the applet as shown below: public void drawDemo(int w, int h, Graphics2D g2) { GeneralPath p = new GeneralPath(GeneralPath.WIND_EVEN_ODD); p.moveTo(w*.2f, h*.25f); // adds

Forcing HTML Data to Render Properly

If the data in your database looks like “SomeValue or other HTML, you have to do something to prevent the browser from showing the tags, when you want just to

Microsoft to Add AJAX Capabilities to ASP.NET

ver the past few months, there’s been an increasing amount of buzz about Asynchronous JavaScript and XML (AJAX) programming. It’s about time. AJAX is the new term for a technology

Port Your Java MIDlets to a Palm Device

alm OS-based handhelds and smartphones are powerful, pervasive computing devices that have changed the lives of many users through the applications they house. As a Java developer, why not tap

Windows Forms Secrets

o call Visual Studio .NET “pretty cool” is getting a little cliche. You know it. I know it. We’ve created Web applications in minutes, figured out the power behind the

Master Simple Math Concepts to Electrify Your ActionScript

any Flash creators?even experienced ActionScript coders?are unnecessarily frightened by math. Some find the subject so intimidating they will avoid even simple scripting projects if there is any “serious” math involved.

New Flash: How to Integrate Flash with Office 2003

ntegrating Flash or any other XML-supporting application with Office 2003’s XML capabilities is easy. In fact, when I was noodling around trying to come up with demonstration apps, I was

Java Turns 10: The Developer Retrospective

ay 2005 marked 10 years since Sun first introduced Java technology to the world. In the decade to follow, the language begat a platform, which begat a community, which begat

What’s New in Visual Basic 2005?

f you have been a hardcore VB6 programmer and you’ve hesitated about switching to Visual Basic .NET, Visual Basic 2005 will change your mind and you’ll want to take the

Building .NET Projects with the Correct References

Building projects with VS.NET 2003 (devenv.exe), you run into some hassles with the ReferencePath property. You can see this property in the project user file: .vbproj.user and .csproj.user. The problem

Managing the Form Flow in J2ME

To manage form flow, the first thing you need to do is create a singleton class with static methods. Next, you implement a stackable system in which to store any

Uploading Larger Files

To upload larger files, you have to configure the web.config httpRuntime tag’s maxRequestLength property.