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

Integer-to-string Conversions

Question: I want to convert an integer into a string. Is there anything in Java similar to the itoa() function in C? Answer: To convert a number (or in fact,

Scrolling a TDBMemo

Question: I work with large blobs and I would like that when I accessed them in the TDBMemo window they showed theyr final portion instead of their beginning. Is it

Getting the List of Valid Aliases at Runtime

Question: How can I load a list like a TComboBox Items property with the list of valid aliases at runtime? Answer: There are two ways to do this. The first

Using replaceText with MenuItems

Question: I created a UI for a selector guide using Frame, Menubar andMenuItems. I am having trouble writing the event handling; specifically, Ineed to see an example using replaceText when

Is there a SQL equivalent to Delphi’s Pos() function?

Question: Is there a SQL equivalent to Delphi’s Pos() function? Answer: You bet. It’s called the SUBSTRING function. Like the Pos function,the SUBSTRINGfunction in SQL will return a substring of

Displaying Scrolling List of Database Items

Question: I want to display a scrolling list of items from a database: product | description | manu | expiration | product | description | manu | expiration | product

How do I change Table Editor?

Question: When dragging and dropping fields from the table editor onto a form, the field text appears above the field. For the sake of faster development, is there any way

Delphi will not start after adding component

Question: *Delphi will not start anymore after adding component.*In Delphi 2.01 C/S after compiling a program and then changing the .DCL with Open Library or compiling a new component library

Resizing Spawned Browser Windows

Question: If I have an applet on one HTML page, I can useAppletContext() to cause a new HTML page to becreated. How do I control the size of the Netscapewindow

Can Browser Print Applet’s Output?

Question: I have written an applet that creates a graph from the resultsof a query of our Oracle database. The graph looks good in the browser(Netscape 3.0), but if I

Abort DialogBox using Delphi 2.0 on NT 3.51

Question: I created a simple abort dialog box with one button. During a long query I want to display my box so the user can abort. The dialog box creates

Making a Binary Executable

Question: Is there a way to make a binary executable from Java code? Answer: There are several stunts you could try in order to accomplish this,but they all cripple the

Including Random Numbers from Poisson in Application

Question: How can I include random numbers drawn from a Poissondistribution in my applications? There is only a Gaussian distribution in java.util.Random. Answer: Well, this one is a little off

How can I resize forms independent of screen resolution?

Question: How can I resize forms independent of screen resolution? Answer: The following code comes to us via Peter Jagielski, a formerBorland engineer, and myself. Peteris responsible for the SetSize

Non-portable Data Problem

Question: I’ve read, in several places, that Java sets bit-size and format for numeric representation internally. I can’t find anything that says Java also dictates how the data will be

Accessing Client Disk with 1.1

Question: I read(somewhere) that the Java spec. allows for applet access to the local diskin a restricted way. That is, the client should be able to specify adirectory on the

Applet Takes Up CPU Time

Question: I am trying to make an HTML page with many applets running concurrently.Unfortunately, an applet that I created uses up much of the CPU time andslows all the other

The ‘greater-than’ vs. ‘comment’ dilemna

Question: The ‘greater-than’ vs. ‘comment’ dilemna Answer: There is a trick in writing JavaScripts which all developers should learn as soon as possible. When putting a script in your HTML,

How is memory deallocated?

Question: The new operator allocates memory for objects.How isthis memory deallocated? Answer: If you have ever programmed in C++, you might wonder why JavaScript doesnot have a delete operator to

How do I restore a window’s size and position?

Question: How do I restore a window’s size and position? Answer: This new tip comes from Hamish. He has converteda TurboPascalfor Windows routine that allows you to save and restore

What’s New in C# 3.0? Part 2

ith the release of Visual Studio 2008, Microsoft has updated the C# language to its latest version, 3.0. C# 3.0, contains several key language enhancements

Changing the Title in a Web Form

In ASP.NET, a web form’s title is determined by the HTML View’s Title attribute. However, there is no property in the default (or any other

What’s New in C# 3.0? Part 1

ith the release of Visual Studio 2008, Microsoft has updated the C# language to its latest version, 3.0. C# 3.0, contains several key language enhancements

SharePoint’s Delegate Control Power

ne complaint about Microsoft Windows SharePoint Services (WSS) 2.0 and Microsoft SharePoint Portal Server 2003 was the difficulty in making changes to the environment after

Tracking XML Data Changes Easily with SDO

racking data changes is an essential requirement in many software, application, and business-integration scenarios. Rigorously implementing this requirement is relatively difficult because modeling and working