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

Powerbuilder import utilities

Question: I would like to know if there are any PB import utilities that can import Excel files into a datawindow, datastore, or database table. Answer: PowerBuilder 6 can import

DevX - Software Development Resource

Year 2000 compliant

Question: Which versions of PowerBuilder are year 2000 compliant? Answer: PB5.0.4 is year 2000 compliant. All versions before that release had a few minor problems that would not affect most

DevX - Software Development Resource

Blob comparsion

Question: How can you tell if blob1 = blob2? Answer: You can just use: IF blob1 = blob2 THEN I have used this in the past to compare bitmaps to

DevX - Software Development Resource

Different develop/deploy operating systems

Question: What are the issues involved, if any, if your development environment uses Windows NT and you want to deploy the application to a Windows 95 environment? Answer: There are

DevX - Software Development Resource

Datawindow column sorting

Question: I am looking for a way to display an arrowin the the “sorted column” heading to indicatethe direction and column sorted. This functionality can be seen in MS-Exchange. Answer:

DevX - Software Development Resource

ToolBar

Question: Can I change the font size of the ToolBar text for the application (not the development painters)? Answer: No. The font size is taken from the user’s operating system

DevX - Software Development Resource

Scaling DW

Question: How can I scale down a DW object? Why is the DW object Ruler inch size much bigger than a real inch size? Answer: You can scale a datawindow

DevX - Software Development Resource

Read specific number of chars from file

Question: I am a rookie at PowerBuilder. I use PB 5, and I can’t seem to find a function that reads a specific number of chars from a file into

DevX - Software Development Resource

Powerbuilder / application directory

Question: How do I get the application directory for a PB5-16 app? Answer: You can use the API call GetCurrentDirectory when your application starts to find out its home directory.

DevX - Software Development Resource

Unions in C++

Question: I am trying to find some information on Unions in C++, specifically syntax and some type of example and perhaps a discussion as to when and why they are

DevX - Software Development Resource

Draw order of dynamic datawindow objects

Question: How can I control the draw order (i.e., BringToFront, SendToBack) of datawindow objects dynamically created in the deatil band? Answer: At design time you can layer objects by using

DevX - Software Development Resource

Weird error message (classes related)

Question: I can compile all of my .cpp files (they were written by my teacher), but I get error messages when I try to run them. I get a make

DevX - Software Development Resource

How to terminate a program safely?

In standard C, the functions abort() and exit() perform an immediate program termination, regardless of where they are called from. Although this also works in C++, it is usually not

DevX - Software Development Resource

Local SQL

Question: In Delphi 1 I am trying to emulate the “..” function for wild card search in Paradox in Local SQL. I am aware of ‘like’ but it is not

DevX - Software Development Resource

Using Output parameter with TQuery

Question: In a TQuery component, I use the SQL property to call up a stored procedure which is kept on a MSSQL server. The string used is ‘Execute [nameofproc] :param1,

DevX - Software Development Resource

API functions

Question: I want to ask you how can I run windows applications inside of Delphi applications (for example notepad.exe)? Answer: It’s actually even simpler than that… Look in the tips

DevX - Software Development Resource

Telling your program about modifications

Question: An ordinary Stringgrid with 5 columns and 7 rowsThe user wants to add 1 or 2 more rows. So farI know how to write the code! But where do

DevX - Software Development Resource

Converting strings to reals

Question: I am trying to read in a value of pi/4 from an editbox. Is there a built in command to convert it to a real from a string or

DevX - Software Development Resource

Copying a file for source to target in Delphi

Question: How to I copy a file from a source to a target in Delphi. I have been trying: SourceId := OpenFile(Source, FileStructure1, of_Read); if SourceID = -1 then ShowMessage(‘Unable

DevX - Software Development Resource

Beware of throwing exceptions from a destructor

The most plausible way to report a failure during object construction is by throwing an exception. However, this is not recommended for destructors. The problem is that a destructor may

DevX - Software Development Resource

When is virtual inheritance needed?

Multiple inheritance is a powerful and useful feature in C++, but it can lead to a problem known as the DDD or “Deadly Diamond of Derivation”, as in this case:

DevX - Software Development Resource

Strange linked list

Question: How can I create a linked list that contains different datatypes? For example: assume that I have Human as a basic class. Man and Woman are two children to

DevX - Software Development Resource

WinCE / Access97

Question: Can you design an Access97 application to run on a Windows CE machine? Has this been done? By whom? And finally, do you need to create a runtime version

DevX - Software Development Resource

find and replace values loaded in memory

Question: I am trying to write a program that will search memory for a hexadecimal string and replace it with the values hardcoded in my program. It’s a game cheat

DevX - Software Development Resource

Mainframe connectivity

Question: I am looking for a way to use VB to connect and retrieve information from a VAX mainframe. The computer has a windows 95 emulation terminal program, and I