Tip Bank

DevX - Software Development Resource

Handling Session Timeouts

Question: When a user accesses an application on my site, a sessionID is generated. After the application is accessed the user leaves the machine alone until the session times out.

DevX - Software Development Resource

Resize the Browser On-the-Fly

If your Web page is formatted to look best in a certain size of window, you can try resizing the visitor’s browser using the resizeTo() method. Do this when the

DevX - Software Development Resource

Attach Table

Question: I have 2 databases in SQL7. I need to attach one table, TB1, from DB1 to DB2, to run a join query. My query uses TB1 from DB1 and

DevX - Software Development Resource

Application Termination

Question: I have a message box that comes up to warn the user that they are terminating the application as it normally should be left running. I want to know

DevX - Software Development Resource

Copying char array to integer

Question: I have a char array, for example: char orig_amt [20]. I need to convert this to an int orig_amt so I can do some calculation. Is there a command

DevX - Software Development Resource

Modifying Generated SyntaxFromSQL Datawindows

Question: When creating a Datawindow from SyntaxFromSQL function with a group break, the Trailer Group Totals and the Summary Totals get generated with a Format of #,##0.00. I would like

DevX - Software Development Resource

Recovering a Corrupt pbl

Question: I have a pbl which gives gpf’s when I try to open it in PB v6.5. I am able to see some syntax when I view the pbl in

DevX - Software Development Resource

Command Line Arguments

Question: I have a small console program that requires I pass arguments for it to run specific functions. I want to change the code so it automatically runs a set