July 24, 1997

Sybase login creation from PB

Question: How can I create a Sybase login from a PowerBuilder front-end application using sp_addlogin? The normal way of executing stored procedures ? for example, declare procname for procedure ? did not work. Is there any constraint in Sybase or PowerBuilder while executing system stored procedures?Also, is there another way

Deploying a PowerBuilder Window plug-in

Question: How can we distribute the PB deployment kit (Upgrade version) to our remote end-users? Also, do we have to distribute any drivers for Oracle, or can they reside on the server? Answer: There are two different questions here:1. The deployment of the PowerBuilder runtime still has to be done

Printing Access reports from VB

Question: I understand that it is possible to print reports stored in a backend Access .mdb file from Visual Basic. Is it possible, and if so, how is it done? Answer: VideoSoft is actually coming out with a control that is able to do this.Here’s a description of the product

Monitoring for an open window off a timer event

Question: Using Win 95 and 32-bit PB v5.0, I want to, off a timer event, monitor for an open window. When I detect it, searching once every five minutes, I want to trigger its OK button.So far, I can find the window, and even bring it to the top ?

Windows API

Question: I’m writing a program which needs to clean up the temp files which are in the Temp directory as define by the Temp Environment setting. I don’t want the program to assume that the Temp directory is always C:WindowsTemp. There for I was wondering if there is an API

MDI applications

Question: I am trying to build a form that can be loaded as either MDI or SDI. If a use the SetParent API to force the window to be a MDI window it works…..but when you click the mouse on the caption bar or border the window suddenly moves away

Creating PowerBuilder executable

Question: I want to create an independent PowerBuilder executable. Which DLLs should I include, and how do I package them with my application so that it runs on a computer without any PowerBuilder installation? Platform: Win95 with PB 5.0 Answer: The answer to this question depends on the type of

How to determine ancestor’s return value from its descendant

Question: How can I determine the return value of an ancestor event from its descendant?For example, the PFC_addrow event of the PFC datawindow. If I were to extend this event, I would like to know the number of the added row (return value of PFC_addrow). Any clues? Answer: There is

How to print datawindow object and graph control on one page

Question: How can I print a datawindow object and a graph control on one page? Answer: This is a common question. Normally the graph datawindow and the reportdatawindow can be combined together into a composite datawindow. Tocreate a composite datawindow, select the composite style datawindowfrom the new datawindow dialog. You

No more posts to show