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

Algorithms: A Linear Search

This is a very straightforward loop comparing every element in the array with the key. As soon as an equal value is found, it returns. If the loop finishes without

Interview with Ingo Rammer

ngo is an independent consultant, developer, author, and trainer based in Vienna, Austria. His books “Advanced .NET Remoting” and “Advanced .NET Remoting in VB.NET” were published by Apress in 2002.

GetGreyScaleImage – Convert a bitmap to greyscale

‘ Convert a bitmap to greyscale – the function returns a new bitmap,’ it does not directly modify the input image.’ Note: requires the GetGreyScale function” Example:’ Dim bmp As

GetGreyScale – Convert a color to greyscale

‘ Convert a color to greyscale’ Example: Me.BackColor = GetGreyScale(Color.Red)Function GetGreyScale(ByVal col As Color) As Color Dim greyValue As Integer = CType(col.R * 0.3 + col.G * 0.59 + col.B

Put Your Sensitive DB2 Data Under Lock and Key

ackers are trying to find some way to get into your database. If you think they’re not, you’re just deluding yourself. The news stories about compromised credit card numbers are

A Technological Sea of Change

t the Professional Developer’s Conference (PDC) in Los Angeles this week, Microsoft’s presentations herald a sea change in application development capabilities. These changes have the potential to cause huge upheavals

Whidbey to Longhorn: PDC a Satisfying Tease

os Angeles?Microsoft rolled out a superabundance of new technology at the Professional Developer’s Conference (PDC) in Los Angles this week?so much new technology that it’s difficult to determine which of

The Eolas Patent: Don’t Be a Victim

y now, most Web developers know that Eolas and the University of California (UC) sued Microsoft over a patent infringement related to the , , and tags used to launch

Send Form Data from Java: A Painless Solution

ending simple GET requests from Java is extremely easy (be it an application or a servlet), but sending multipart forms, like when you upload files, is painful. The former can

ScrambleWords – Scrambling the words of the input string

‘ Scramble the words of the input string’ Note: requires the ArrayShuffle routine” Example:’ Dim text As String = “This is a test string for the ScrambleWords function”‘ Debug.WriteLine(ScrambleWords(text))Function ScrambleWords(ByVal

Creating Container-managed Entity Beans with JBoss

n Entity Bean is an Enterprise JavaBean (EJB) that represents a persistent object in a relational database. JBoss provides two methods of entity bean persistence, Bean Managed Persistence (BMP) and

A VBScript Function that Emulates the VB IIf()

If you’re still using classic ASP, this is a simple little VBScript function that emulates the VB IIf(). It helps in intializing and making your code look a little cleaner.

Create a Statically Initialized List of Objects

A group of objects can be organized into arrays or collections. Arrays are nice because you can statically initialize them, but collections have far more functionality. Using this tip you

A Better Version of Bubble Sort

This version of bubble sort stops when there are no more exchanges and it also sorts a smaller range each time. void bubbleSort3(int x[], int n) { bool exchanges; do

Format Color for HTML

This function, which converts a color value into a string suitable for HTML, formats an RGB color value, palette index, or system color constant. You accomplish this by breaking out

Copy One Array to Another Without Using Loops or Conditions

Here’s the code the usage of arraycopy: public class testarrcopy{ public static void main(String arg[]) { //Array of any object can be user defined object String source[] ={“one”,”two”,”thr”,”four”,”five”,”six”,”sev”,”eight”,”nine”,”ten”}; //Array of

Change-proof Your Flat-file Processing with XML

very new enterprise system built today has to integrate with and support existing systems. Since the earliest days of programming, passing data between systems via flat files has been a

Time Conversion GMT to Current Time and Back

When you’re working in several time zones, you need to save date values in a common format?the most obvious one being GMT. The following stored procedures store datetime in GMT

Take Control of .NET Using Custom Attributes

ET has more than 100 attributes that are used to control XML serialization, Web services, COM interoperability, and more. For example, XmlElementAttribute is used to control the element name and