devxlogo

Tip Bank

Changing Password in Oracle 7.3 database from PB

Question: I am creating a “Change Password” screen in PowerBuilder 5.0. The window basically accepts the password entered by the user, verifies it by connecting to the database, then tries

Piping External Process Output

Question: I am attempting to run a series of externalapplications within JAVA. I need the resultsof the prev. application piped as input to thefollowup application. I understand the spawningof the

Java and Unix

Question: Is it possible to use Java to execute a command on Unix and get the output from that command? Answer: Yes. The java.lang.Runtime class has various exec() methods thatcan

Wait for 1 second

Question: I have a place in my Active Server Page script (VBScript) where I’d like to wait for 1 second before performing an action. What can one do to cause

Calculating the Records

Question: Can you help me to get a calculated value from many records? A dataset(Paradox table) that I use has an Integer field which is used to put minutes value.

Percent Bars with the Windows 95 Look

Question: How do you make a percent bar with the Win 95look and feel? I know that you can make a percentbar using a picture box, but I am trying

Counting Work Days

Question: I need to calculate the number of workingdays. Is there an easy way to do this? Answer: From what I can see, there is no built-in function to do

Setting Environment Variables in VB

Question: My 16bit application requires the presence of a DOS environment variable. On startup I check for it. If it does not exist I display an error. I would like