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

Using Abstract Classes in Visual Basic.NET

or years, Visual Basic programmers pleaded with Microsoft to give them the object-oriented programming (OOP) capabilities that were enjoyed by C++ and Java developers. While a few OOP-related features were

EJB Messaging, Part II: Message-Driven Beans

nterprise messaging has become an increasingly important component of loosely coupled, reliable enterprise frameworks. This is due in large part to the proliferation of enterprise applications (CRM, ERP, SCM, etc.)

Count Sort, a special case of indexed sort

CountSort is yet another sort algorithm, which can be applied only under very particular conditions but that, when such conditions are met, turns to be the fastest of the lot.

ASP Calendar

This ASP page lets you display a calendar that starts at a given data and lets the user browse previous/next month or year. The zip file contains a test HTML

Database Paging Just by Query

In Web development, putting too many records from the database into the Web server is memory intensive processing. This is where the concept of paging comes form. At any point

Two Dimensional Array Simulation Using One Vector Object

To simulate a Matrix class with M*N elements, initialize a vector withM*N elements and overload the () operator such that Foo(i,j) returnsFoo[i-1+M*(j-1)]. This way Foo(1,1) is equivalent to Foo[0], Foo(2,1)

Be Careful with operator ==

A common mistake in C++ programming is typing = instead of ==. This can be due either to a typo error or because you are used to other languages such

Setting Breakpoints Programmatically

It is often useful to make a breakpoint by calling the DebugBreak function. However, this is not necessarily always convenient because the breakpoint will occur in DebugBreak call stack. You

Use the Generic Accessors Class

Generally, from an OOP perspective, the direct access to data members should be prevented. This is why we use accessors: Class UserDetails{public: string getUserName() const; void setUserName(const string& name); string

LTrim(),RTrim(),Trim() Functions in JavaScript

JavaScript lacks the Trim() function. See below the code for trimming a string: function LTrim(ValueToTrim){ValueToTrim =ValueToTrim.toString()var WhiteSpace=new String(” “);var i=0;while(WhiteSpace.indexOf(ValueToTrim.charAt(i))>-1){ i++;}return ValueToTrim.substring(i);}function RTrim(ValueToTrim){ ValueToTrim =ValueToTrim.toString() var WhiteSpace=new String(” “); var

Advanced Sorting Using the CASE Statement

Many developers use the CASE statement in the select list of a SQL statement. But not everybody knows that it can be used to do so much more. One example

Unicode and the Watch Debugger Window

Managing Unicode strings (LPWSTR, BSTRs, etc.) is now a very common task. However, Visual Studio 6 does not allow you to view Unicode strings correctly in the watch window. It

Security101: MessageDigest Class

In Java, message digest is represented by “java.security.MessageDigest class”.All main classes in java.security package are instantiated using the factory method “getInstance()”.This method takes the String parameter, which is the name

Security101: MessageDigest

Message digest is a hash code of a byte sequence (message).It has certain properties that make it very unique and very useful: It has a fixed size (in bytes), which