Tip Bank

DevX - Software Development Resource

Bitmap size in PB toolbar

Question: How can I use a bitmap of 32X32 size for my toolbar icons? Does PB5.0 support this or is it necessary to shrink them to 16X16. Answer: The bitmap

DevX - Software Development Resource

PowerBuilder source recovery

Question: I have a client with a PowerBuilder application, but no source code. Is there a way to reverse-engineer or recover the source code?? Answer: It is not possible to

DevX - Software Development Resource

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

DevX - Software Development Resource

removing the sheet toolbars

Question: I am using PB 5.0. I have an MDI application. There is a menu on the MDI frame. I inherited that menu to create a window menu. The window

DevX - Software Development Resource

Share Data from two primaries

Question: If I try to share data from one primary into the secondary, no problem. The problem occurs when I try to share data from two primaries into one secondary.

DevX - Software Development Resource

Is there a PB code profiling utility?

Question: I was wondering whether you could direct me the appropriate product or contact for the following information.I am currently investigating the use of supporting test tools for PowerBuilder. In

DevX - Software Development Resource

Append data to a text file

Question: How do I append information to a file? This information is inserted by the user, into a text box, and then a command button is clicked to update the

DevX - Software Development Resource

CD-ROM Detection

Question: How can I find the CD-Rom drive letter(s) from Visual Basic 5.0? Answer: The simplest method is to call the Win32 GetDriveType API against drives C:-Z:.Private Declare Function GetDriveType

DevX - Software Development Resource

List boxes

Question: How can I put the output of a do-while loop in a list box then delete it for the next run?ex.o=0do (o=o+1)Randomize timerx=rnd( * 6)+1z=x*4Print z to loop Answer: