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

PrintRotatedText – Display a rotated message

Const LF_FACESIZE = 32Private Type LOGFONT lfHeight As Long lfWidth As Long lfEscapement As Long lfOrientation As Long lfWeight As Long lfItalic As Byte lfUnderline As Byte lfStrikeOut As Byte

DevX - Software Development Resource

Access Help More Easily

Several developers have complained that in order to use Visual Studio 6.0’s online help, they must keep the MSDN Library CD in their CD-ROM drive, or copy all 680 MB

DevX - Software Development Resource

Redirect Based on Time of Day Using JavaScript

Redirecting based on the time of day is fairly easy to do. One thing to remember, however, is that because client-side JavaScript runs in the user’s browser, the time your

DevX - Software Development Resource

Maximize VB’s MDI Memory

If you use the VB development environment in MDI mode (the default) and you like your code windows maximized, you might have noticed that, unlike VB5, VB6 doesn’t remember this

DevX - Software Development Resource

Class Module(.cls) vs. Module(.bas)

Question: For the same global function, what’s the difference between placing it in a global module and in a class module?Are there any performance issues involved? If so, which way

DevX - Software Development Resource

Rounding function

Question: Is there a way to round numbers to the nearest multiple of n, where n could be any number? For example, if n = 5, it would round 8

DevX - Software Development Resource

String Manipulation

Question: I have a VB app which formats a large text file and then prints it using MS Word. I need to include what amounts to a thick underscore in

DevX - Software Development Resource

ActiveX EXE vs. DLL

Question: I have an ActiveX dll into which I can pass an existing ImageList containing a set of images. This works fine and means that I only have to maintain

DevX - Software Development Resource

DataObject Object

Question: In an event, I declared a dataobjectvariable and instantiated it this way : Dim do_1 as dataobject Set do_1= New dataobject But when I run the program I get

DevX - Software Development Resource

Customizing Serialization

If a class contains non-serializable variables, and you need to preserve the state of those variables, you will have to customize the default serialization behavior of the class. You can

DevX - Software Development Resource

Watch out for the NotSerializableException

The Serializable interface is a marker interface–in other words, it contains no methods. Its purpose is to categorize the classes that may be serialized using Java’s serialization API. Only the

DevX - Software Development Resource

Enable or Disable Triggers on SQL Server 7.0

You can enable and disable triggers on tables for SQL Server 7.0. This means you don’t need to drop triggers and recreate them if some process (which requires that triggers

DevX - Software Development Resource

Validate a Drop-Down List on a Form

The easiest way to make ensure that a user picks a value from a dropdown list is to add a value to the top of the list that isn’t really

DevX - Software Development Resource

Accessing a C++ Object in C Code

C code, which of course is unaware of object semantics, can access the data members of a C++ object directly, but certain requirements must be met. There are some guarantees

DevX - Software Development Resource

Threading Piped Streams

Piped streams are typically used in separate threads. One thread writes output to a PipedOutputStream. The other thread reads the same data from a PipedInputStream. The two streams are connected

DevX - Software Development Resource

Running Piped Threads

In a typical application using piped streams, an object of type PipedInputStream and an object of type PipedOutputStream are started as separate threads. One thread uses a PipedOutputStream to output

DevX - Software Development Resource

Set Objects to Nothing

If you set objects to Nothing, then test their nothingness, this suggestion might help you. If you declare an object as New and later set it to Nothing, VB won’t

DevX - Software Development Resource

Hashed Associative Containers

The Standard Template Library (STL) provides only one type of associative container–the sorted associative container. The STL sorted associative containers are map, multimap, set, and multiset. However, there is another

DevX - Software Development Resource

Track MousePointer Changes

If you develop large apps, this routine can help you keep a count of calls to change the mousepointer. The routine, called MouseStack, keeps a stack of those calls and

DevX - Software Development Resource

Scrub Out Unused Constants

Low-level parsing in VB doesn’t come up every day. This routine demonstrates how to search a VB module for dead module-level constants with only a few lines of code. Reading