Tip Bank

DevX - Software Development Resource

Creating Directories

Question: Is there any way to create a directory from within a PowerBuilder application without using the RUN command? Or is there a way to get the RUN command to

DevX - Software Development Resource

Inserting Text at Cursor Position

Question: How can I insert text in a textarea at the current cursor position ? I am able to insert it at the end, for example: textarea.value = textarea.value +

DevX - Software Development Resource

Logging in to WinNT4.0 Svr

Question: Some of my users cannot logon to a new WinNT 4.0 server with the standard account I have created for them. Some users get the logon dialog box that

DevX - Software Development Resource

Configuring a CD-ROM

Question: I have formatted my machine, which does not have any operating system. I used DOS 6.22 to boot the system and was planning to install Win 95. But my

DevX - Software Development Resource

Start Menu

Question: When I start my PC, the first thing on the screen (after the virus scan)is Internet Explorer. Then I get a navagation cancelled box. How do I stop IE

DevX - Software Development Resource

Set Printer Margins

You can use the Printer’s scale properties to set margins. Set the properties so the position (0, 0) is mapped to where you want the margins. This code makes the

DevX - Software Development Resource

Make a Form Stay on Top

You can make a form always remain above others, even when it does not have focus. Use this code in a BAS module: #If Win16 Then Declare Sub SetWindowPos Lib

DevX - Software Development Resource

Perform One-Time Initialization

You can use static variables to perform one-time initialization: Private Sub GetValue()Static initialized As Boolean If Not initialized Then ‘ Perform one-time initialization. : initialized = True End If ‘

DevX - Software Development Resource

Use Explicit Object Types for Speed

It is much faster to use explicit object data types instead of generic ones. In this test that simply sets an object’s public variable, the generic object takes more than