devxlogo

Tip Bank

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

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

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

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.

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

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

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

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:

Browsing with Netscape

Question: I need a way to find the “netscape.exe” file using VB. Then I want to send them to an Internet address using API. Answer: What if Netscape isn’t installed?