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

More than One Class in Same File?

Question: Is it possible to have more than one class in the same file ? Answer: Yes. The file Foo.java may contain several class declarations, but amongthem must be a

DevX - Software Development Resource

Changing Applet’s Background Color

Question: Can you tell me how to change the background color of an applet from the normal grey to white? I would greatly appreciate it. Answer: Try putting the line:

DevX - Software Development Resource

Memo Fields and Carets

Question: I need to be able to move the caret in my memo field back to the begining of the field. Any idea how I do this? Answer: Try this:Memo1.SelStart(0);This

DevX - Software Development Resource

Insufficient Memory, TFloatField in TQuery

Question: 1. I developed an application, but after running for about one hour, a message error: “Insufficient memory to do the operation” occurred. The error did not cause the application

DevX - Software Development Resource

DBGrid

Question: I am using a DBgrid. I have defined two NEW Persistent fields as lookupfields. In the Columns editor, I added them to the grid display. Those two fields are

DevX - Software Development Resource

Playing a sound collection

Question: I have 10 .wav files that I want to play in a loop.If I make the mmplayer wait property true, I suffer from control failure during the loop time.I

DevX - Software Development Resource

Is there a way to kill a sleeping thread?

Question: I am creating numerous threads on-the-fly in Delphi 2.0. I create them suspended. The question is: How do I make the threads go away? I’ve tried Free, Terminate… nothing

DevX - Software Development Resource

Dynamic Buffer

Question: I’m using Delphi to do a client-server application in which all the lines I get from a socket I send to a TMemo in my form. I want that

DevX - Software Development Resource

Flat Combo

Question: Do you know how to create a flat, non-3D combo box with only a thin black border? Setting CTL3D to False doesn’t seem to have an effect on the

DevX - Software Development Resource

Filtering Table Records

Question: I want to be able to filter records in a table based on criteria in, say, three combo boxes on a form. Answer: If you have indexes on those

DevX - Software Development Resource

Resizing Resolution

Question: How do I re-size the buttons, etc. on my forms when the resolution changes? If I create something in Delphi at a high resolution and run it on a

DevX - Software Development Resource

Putting a char into a Pchar

Question: I’m using the Winexec command and trying to use a string as the argument, but Winexec takes only a Pchar as its argument. I can’t figure out how to

DevX - Software Development Resource

What’s the C++ Equivalent to _getch()?

Question: What is the C++ equivalent to _getch()? I need to have program control immediately after any keypress in a DOS-based program. Answer: Unfortunately there is no specification in the

DevX - Software Development Resource

How to turn text string into Integer

Question: How can I turn a text string into an integer? Answer: You can convert a string to an integer by using the atoi function. For example:void foo (){int i

DevX - Software Development Resource

String handling in C++

Question: What is the best way to manipulate strings in C++? Answer: Here is an example.#include void foo (char *instring){ // Declare char array big enough to read in input

DevX - Software Development Resource

How to do large scalar math

Question: How can one do 64-bit or larger math calculations in C++? Do you know of a free class or class library that supports large scalar math? Answer: There are

DevX - Software Development Resource

Copy constructors

Question: I have a class with multiple parents. In my copy constructor, should I invoke the parents’ copy constructor or their default constructor? Answer: In all but the rarest of

DevX - Software Development Resource

Program compiles but does not show age data

Question: I’m anxious to know why my program is notdisplaying the data, yet it compiles perfectly.I want to read this struct; in particular: age. Ihave two sets of code that

DevX - Software Development Resource

Virtual Functons

Question: How are Virtual Functions implemented in C++ ? What is a virtual table? Answer: Let me start by saying that the C++ language definition does not impose any implementation

DevX - Software Development Resource

How to view an image

Question: An old high school friend said he put a picture of himself on the Web, and to view it I should go to JPEG … WHAT DO I DO???

DevX - Software Development Resource

Screen resolution detection

Question: I need to know how to detect the screen resolution of the client machine. Then I need to tell it to go to specific pages based on what it