devxlogo

Tip Bank

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

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

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

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

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

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

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

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