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

How to Change Sound Volume in Win95

Question: I need to change sound volumes (wave, midi, cd,line-in etc..) in Win95. How can I do it?Any Win32API functions I should call? Answer: I haven’t used this unit to

Help Files

Question: I would like to begin by saying your site is great. I have used Ask the VB Pro in the past, so I hope you can help with this

Is Drag-and-Drop on a Menu Item Possible?

Question: Is drag-and-drop on a menu item possible? Answer: If I was going to be rhetorical, I’d answer in very Zen-like terms:”Anything is possible.” But in more practical terms, no,

How to Use the CreateToolbarEx Function

Question: How do you use the CreateToolbarEx function? I want to use it to create dockable tool bars. Answer: With CreateToolBarEx, you’re walking into real low-level stuff that willrequire that

Universal Naming Convention (UNC)

Question: For file-based applications, how is the Universal Naming Convention obtained for path names? Answer: To get the UNC name of a drive-based path, use the Windows API callWNetGetUniversalName. This

Best Way to Delete Master Detail Records

Question: As you know, when you create .db tables with referentialintegrity (i.e. Paradox or Desktop), this makes detail records that dependon the master. When you want to delete records in

Resetting Net and Lock Files

Question: Is there a way to reset the net and lock files that an application develops withouthaving to shut down the software? Even a temporary pause would be acceptable. We

Delphi Queries and SQL

Question: I am trying to perform multiple queries, and to speed things up I want to perform a query on the result of a previous query. Is there an easy

Help for a Delphi 2 Beginner

Question: I’m trying to teach myself Delphi 2 and have no programming experience. I’m stuck on a simple problem. How do you bring up the About box from the About

DBLookupComboBox

Question: Can the drop-down items for a DBLookupComboBox be populated from the results of a TQuery? Answer: Yes, a query can act as the data source for a TDBLookupCombo. You

Strings in List Boxes

Question: When a user clicks on an item in a list box, how can I get the actual string that was clicked on? For example, if ‘dog,’ ‘cat,’ and ‘fish’

Pulling Digits Out of String to Sum Them

Question: How do I pull out every second digit from a string and sum them? Answer: This is a rather unusual question, but it’s not that hard to accomplish.What must

Compiled Program won’t Run

Question: I’m a Delphi rookie but an experienced programmer in Turbo Pascal.I’m trying to use DBF tables, with good results.But when I copy my compiled programs to a disketteand install

Passing Info to Word Processing Template

Question: I have a couple of questions about passing information to aword processing template and controlling the saving of the template toanother name. I appreciate any guidance you can provide.

Date Comparisons

Question: I cannot find much info on how to do Date math. I am trying to determine elapsed days from a record entry date to the current date. I am

DATABASES and TABLES

Question: I have a table. When I delete an item, the size of the table won’t change. I think the delete command for tables doesn’t move up the entries but

Calling a DOS Command

Question: How can you call a DOS command under Delphi 2.0? For example, I want to do a “TYPE >prn” from Delphi. Answer: You can do it with CreateProcess. Refer

Extending TCustomControl Painting

Question: I have two questions:Question 1:How can I extend the painting functionality of a TWinControl like the TGraphicControl‘s Paint method? Question 2:I cannot find the Paint method in TWinControl to

ActiveX/OCX objects in Delphi 3

Question: I am currently trying to convert three components to ActiveX components. I am doing this through Delphi 3, which I realize some people do not have access to.I need

Calling the Operator =

Question: How can I call the operator= of the base class from the operator=in the derived class?The data member in the base class is a private data member. I want

Difference between yield() and sleep()

Question: What is the difference between calling yield() and sleep()? Also, in what instances would you call either method? Answer: The Java platform uses the multithreading facilities of the host

ClassFormatError

Question: I’m a beginner in Java. I’ve tried two different applets now (one of which I borrowed from another site), both of which involved text fading and color changing. I

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

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:

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

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

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

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