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

Determing RGB values

Question: Is there an easy way of determining the RGB values when you have the long value of a color (for example, a “reverse” RGB(x,y,z) function)? Answer: You can make

DevX - Software Development Resource

Order by

Question: I can’t sort by the second-last digit of a number (for example, sorting the numbers 4491, 1195, and 1364 by the third digit). Answer: Try using the “RIGHT” function

DevX - Software Development Resource

How do I add sound to my app?

Question: I have searched high and low and cannot seem to find a code example of how to add sound (attach a WAV file) to the opening of my application.

DevX - Software Development Resource

Maximum SQL database size recommendations

Question: Are there specific recommendations for the maximum size of any database? For instance, does performance suffer if the database size is too large? Answer: Certainly, the amount of data

DevX - Software Development Resource

Application Versioning

Question: Is there an easy way for Powerbuilder developers to version their apps for releases (Major.Minor.Revision)? Is this built into PB? Answer: No, you have to do this manually with

DevX - Software Development Resource

Access controls inside a tab object

Question: How can I access the controls placed on a tabpage in a tab object (for example, from a user event on a sheet window containing the tab object, to

DevX - Software Development Resource

Variant Records

Question: Does Java support an equivalent to the Pascal variant record or C union? I need to port some code to Java that uses these constructs. Answer: No, Java does

DevX - Software Development Resource

Constructors and Method Invocation

Question: The following code works: public class MyClass { private int value; public MyClass() { this(1); } public MyClass(int v) { value = v; }} Changing the null constructor to:

DevX - Software Development Resource

Cloning: Shallow vs. Deep Copies

Question: I am seeking to clone an object that contains anarray of the type float[][] which in turn contains primitive types. Using super.clone() and a clonable interface in the class

DevX - Software Development Resource

Reading keyboard input without hitting CR

Question: I would like to respond to the user as soon as the user hits a key without pressing CR. An example would be to ask a yes/no question and

DevX - Software Development Resource

Creating classes

Question: When you create a class, what do you create? Answer: When you enter the source code statements to define a class, you create a template that tells the compiler

DevX - Software Development Resource

double pointer

Question: Please describe the primary use of the double pointer in C and C++; that is, **pointer. Answer: A pointer is simply the address of some variable. If you placed

DevX - Software Development Resource

Difference between structures & classes

Question: Why use classes when the same can be implemented using structures? Answer: Reasonable question. For starters, structures in C could not work like classes. Classes were needed to implement

DevX - Software Development Resource

Boolean casting

Question: Why am I getting a type conversion error with the following method: public synchronized void setVisible(Boolean b) { setLocation(50, 50); super.setVisible(b);} Answer: You do not mention what setVisible method

DevX - Software Development Resource

How standard is the string class ?

Question: We may want to use the C++ string class if itis specified as part of some open standard andis not just provided by the g++ compiler. Is the string

DevX - Software Development Resource

Linked List

Question: I need some help with this C++ add function.It adds a new node to the end of the list. I need it to add it to the beginning of

DevX - Software Development Resource

Integers: signed and unsigned

Question: I am reading Sams’s Learn C++ in 21 Days, and this sentence doesn’t make sense to me: “Because you have the same number of bytes for both signed and

DevX - Software Development Resource

SQL 6.5 Stored procedure

Question: Is it possible in SQL 6.5 to write a stored procedure that has an ARRAY as an input parameter? I have done this with Oracle using Oracle Objects for

DevX - Software Development Resource

Drop column from a table

Question: How can I drop a column from a table? Is there any way to do it without recreating the table? The table in question has several dependencies that I

DevX - Software Development Resource

void pointers

Question: I am having trouble converting the info in a void pointer to usable information. I have a method that returns a void pointer (void*), and in one instance (the

DevX - Software Development Resource

Character Sets Available in SQL 6.5

Question: We’d like to find a table or listing of all the character sets available in SQL Server 6.5. Is there any way to get this from the Charset files

DevX - Software Development Resource

Convert function

Question: I am trying to do the SQL statements on the client side. Because I have declare int in the database, I need to convert the column before I can

DevX - Software Development Resource

printing all the source code

Question: Is there any way to print all the source code in an application or library? Answer: You can use a product called PowerDoc to achieve this, or you could

DevX - Software Development Resource

Web-enabling existing PB 6.0 Application

Question: I know that there are several ways to Web-enable applications in PB. I am looking for the most cost-efficient and least time-consuming solution. Any ideas? Answer: This is a

DevX - Software Development Resource

Get a Dropdown Datawindow Handle

Question: How can I insert rows into a dropdown datawindow that is a column in a datawindow im my report? Answer: You need to use the following code to access

DevX - Software Development Resource

How can I tell if Word is running

Question: Using Pb 6.5 and Windows 95, how can I tell if Word is running in the background? Answer: This is a difficult answer depending on if you know what

DevX - Software Development Resource

Check contraints

Question: I have a primary key (client id) of five characters which contains: character # 1: A-Z character # 2: 0-9 character # 3: 1-9 character # 4: blank or

DevX - Software Development Resource

Migrating to SQL Server and Keeping Novell 4.1

Question: Our business expects to migrate to a SQL Server base. We have two servers&#151the platform is Windows 95/Novell 4.1. Our manufacturing vendor application is upgrading, and it requires a

DevX - Software Development Resource

Form Security

Question: Is there a method of encrypting the body of an e-mail form using JavaScript or Java without access to a secure server or a cgi-bin? I want to use

DevX - Software Development Resource

Where Are My Files?

QL Server version 7 is an exciting new product. And although it is called “version 7,” so much of it has changed that I consider it a new product rather