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

Use UDTs for Irregular Arrays

If you use variable-length strings and/or dynamic arrays in a user-defined type (UDT), the actual data does not become part of the structure. Instead, four-byte pointers are stored in the

Clear a Masked Edit Box

To blank out the text in a masked edit box, make sure the string you assign uses underscores matching the mask. It’s difficult to maintain code when you have to

Returning a void Expression from a void Function

Examine this code snippet. Will your compiler accept it? void a_func_returning_void();void func(){ return a_func_returning_void(); //returning a value from a void function?} At present, most compilers will not accept this code

Rating your Compiler’s ANSI/ISO Conformance

The following link ranks several popular C++ compilers according to their ANSI/ISO compliance level. The comparison chart contains various features such as exported templates, Runtime Type Information, Koenig lookup, explicit

Get a Free C++ Compiler for Windows

Dev-C++ is a free graphical C++ compiler for Windows 95, 98 and NT. You can download it for free from: http://www.bloodshed.net/devcpp.htmlThe Dev-C++ package also includes a debugger and source file

The GNU C/C++ Compiler 2.95 is Here

The GNU project focuses on the development and distribution of open source software, including free compilers. The newly-released GCC 2.95 is a free C/C++ compiler. GCC 2.95 includes nearly a

Display Taskbar Icons for Borderless Forms

When you create a borderless form in VB (BorderStyle = 0) and make it visible to the taskbar (ShowInTaskbar = True), only the form’s caption shows and the form’s icon

Enhance Development with Registry Edits

Here are a couple useful Registry edits to enhance your day-to-day Visual Basic development. Save these Registry lines to a text file with a REG extension, and then double-click on

Catch Every TabStrip Click Event

You might have noticed that if you click on a TabStrip tab, then move the mouse pointer until it’s no longer over the TabStrip without releasing the mouse button, the

Convert File Size Into Proper Strings

Use this small API from the shlwapi (Shell Windowing API) DLL that ships with Internet Explorer (IE) to help you convert file size in bytes into proper strings such as

Sharing Files Between VB and VBA

You can easily share files such as standard code, form, and class modules (BAS, FRM, and CLS files, respectively) between VB and VBA by using the appropriate menu commands. Within

Manipulating the Browser’s Back Button

Question: I created a Web page that uses ASP to access a database on the server and return data to a client browser. While the data is accessed the client

Test for NULL Properly in a Recordset

Question: I have a column in SQL Server created like this: “vchrFirstName varchar (50) NULL” However, this code does not produce anything, including any errors, when the record is NULL:

Handling Single Quotes in Values From ASP

Question: How can I prevent sending the contents of a form field containing single quotes to the server? Single quotes should be converted to double quotes in a way that

Passing Parameters to an ASP Page

Question: How do you pass parameters from an HTML page using either Java or Visual Basic to an ASP page? Answer: You do not need Java or VB to pass

Use Underscores When Dealing With Long Strings

Question: Why do I get an “unterminated string constant” error message in this code? Answer: You can’t let your strings wrap onto multiple lines without using a continuation character. The

Run Code Only When Form Is Submitted

Question: I have a Web page that uses a form to submit information to an ASP page. Once the data is submitted, the page is reloaded. At this point, if

Installing IIS 3.0 to Read ASP Files

Question: We have a form that uses an ASP file to post results in Access 97. It works fine on my computer using Microsoft Personal Web Server, but will not

Publish Information From a Database to a Web Page

Question: How can I publish information from a database to a Web page? Answer: Microsoft’s Active Server Pages (ASP) makes it a snap to publish information from a database onto

WebClasses vs. Active Server Pages

Question: What do you suggest using as far as WebClasses versus Active Server Pages (ASP) is concerned? It appears that WebClasses do everything ASP can do, and are faster. Answer:

Always Create User Defined Data Types in the Database

While designing the database for your application, you should always create user defined data types for columns across the database. User-defined data types ensure consistency of column definitions across the

Make an ATL Object Noncreatable

Here is a simple way to make your COM object noncreatable. You can change the attributes of an ATL-based COM object so that the automation client cannot directly create the

Objects in Visual FoxPro

Question: How do you set a Visual FoxPro class or array as the value of a property of another VFP class? It appears that if you add a property to

Meaning of BLOB

Question: What does “BLOB” stand for? What is a BLOB datatype? Answer: BLOB is a binary large object. Binary files hold stuff like pictures and audio files that get stored