powerbuilder

How could I create a Gantt-like chart in a datawindow (Powerbuilder)

I want a rather simple (and cheap) solution, just for presentation purposes (and just to show the task duration bars - no connection lines between them). So, I am not interested in buying some advanced custom control like this for example. Have any of you ever used something like this? Are there any code samples available? ...

PowerBuilder 11.5 WINFORMS question regarding event handling...

Hi all, I'm having an issue I'd like so get some feedback on. I'm not going to detail the exact issue about how my application functions as it really doesn't matter in this case. I'm using PB 11.5 and have been tasked with converting a Win32 app to WINFORMS. Suppose I didn't like the look of the PB command buttons and wanted to create...

Queries about DDE communication under Powerbuilder

I have a third party tool that can send or receive DDE pokes. I have been using DDE spy to monitor communications between it and a 3rd party DDE server emulator, with a view to replicate this using Powerbuilder. As far as I can tell, this is using warm links. I tried using openchannel, followed by execremote, but the type of call is d...

Saving a datawindow as PDF in PB 10.5

I have a grid datawindow with a picture in it's background (with dimensions of an A4 page) and I would like to export both data and the picture as a (single page) PDF file. I used several combinations of the following commands but at most I got a 0-sized pdf. //dw_1.Modify("Datawindow.Export.PDF.Method = Distill! ") //dw_1.Modify("Data...

Where can i download powerbuilder 8?

I am looking for Sybase PowerBuilder 8.0 setup. and i found http://www.sybase.com/detail?id=1013232 all dowload link is broken. Can anyone tell me Where can i download powerbuilder 8? ...

Emulating hyperlink functionality in datawindow text fields

The idea is rather simple. Some datawindow (not web datawindow) varchar fields contain detailed descriptions. I was wondering if it is possible to provide the following (wikipedia-like) functionality to users: The ability to click (or dbl-click or whatever) on specific words of the text, while reading (which somehow should be indicated a...

What to look for in estimating a PowerBuilder Conversion Project?

Hi there, I've been trying to do a spec for a PowerBuilder 9 to 11.5 migration of a relatively complex application. Granted PowerBuilder is not really my specialty I'm having issues trying to justify an estimate for this part of the project (and the PowerBuilder people I've been talking with have had some personal issues lately and ...

How to create an array of User Objects in Powerbuilder?

I am trying to convert a VISUAL USER OBJECT that was once embedded on a window, into a DYNAMICALLY CREATED VISUAL USER OBJECT in a different window (same package). The problem I'm getting is I can't seem to be able to create an array of these objects without getting null references or reusing the same object over and over. At the mome...

PowerBuilder IDE Customization for SCC

Our PowerBuilder application is fairly large and has many objects in several PBLs for organizing our code. We often have 10 or more datawindows on one window, and these datawindows may be spread across two or three PBLs. For version control, we use exclusive check-out to avoid merge conflicts. The situation is that when you right-click ...

PowerBuilder Plug-in Architecture

PowerBuilder seems to have some support for plug-ins since version 10. However, I can't find any documentation nor tutorials about this. The only hints I can manage are by examining the COM objects inside the existing DLLs. It doesn't help much, but I'm a novice at COM development. A very cursory example of how to do something would be ...

Invoking .Net COM assembly from Powerbuilder application (without registration)

We have a Powerbuilder 10 application that is using .Net COM assemblies. We are trying to embed the manifest in the PB application (to invoke COM assemblies without registration). The merged manifest file has added sections for dependecies on the .Net COM assemblies. We have tries various tools to inject the new manifest with different r...

Powerbuilder Dynamic Array Manipulation

string array[] long lBound, uBound lBound = LowerBound(array[]) // = 1, empty array value uBound = UpperBound(array[]) // = 0, empty array value array[1] = 'Item 1' array[2] = 'Item 2' array[3] = 'Item 3' lBound = LowerBound(array[]) // = 1 uBound = UpperBound(array[]) // = 3 array[3] = '' //removing item 3 lBound = LowerBound(array...

Is there a way to handle the dynamic change of a dropdown for a single row in a grid-based datawindow?

Is there a way to handle the dynamic change of a dropdown for a single row in a grid-based datawindow? Example: NAME LIKABILITY PURCHASED IN COLOUR (Text) (DropDown*) (Text) (Text) Bananas [Good] Hands Yellow [Bad] [Bananas are good] Apples [Good] Bags ...

How to combine "|" character in run () command in powerbuilder in order to read an txt file as metadata output of a file (pdf) ?

Could you please tell me how to use "pdftk mypdf.pdf dump data | findstr NumberOfPages in powerbuilder run command and save this metadata in a file by using the following code like this: string ls_runinput, ls_outputfile ls_outputfile = "c:\test.txt" ls_runinput = "c:\pdftk\pdftk.exe mypdf.pdf dump_data | findstr NumberOfPages >"+ls_ou...

Freezing the header of composite report in PowerBuilder 6.5

Setup: Using PowerBuilder 6.5. I have a composite report (with a report header) which is created from two unrelated individual DataWindows. Question: In composite presentation style, how can I freeze (lock) composite report header along with the column headers in the top DataWindow? E.g. When you scroll down the composite report, ...

PowerBuilder Indeterminate Progress Bar

I have a somewhat-long-running stored procedure being called from a PB application. I want the UI to show an indicator that it is processing, but I don't know the exact progress. That is, I can't say whether it is 10% or 90% done. All I know is when it is done. To give the user something to look at I'd like to put a "Inderterminate" (ho...

How to read a Web.Config in Powerbuilder 11.5.1?

My office mate created a web service application to be consumed by a .Net application on the presentation layer. He wants to read the connection string from the web.config. Thank you in advance. ...

Create WPF Browser (XBAP) Application in PowerBuilder 12?

Hi, Is it possible to create XBAP applications in Powerbuilder 12 ? I learned that powerbuilder 12 supports WPF but im not sure about WPF Browser (XBAP) Apps. Any help or link is appreciated. Thanks! ...

Can not recognize pdf scanned page with greek words by using PB , EZTWAIN and TOCR 3.0

Hi, Iam using PB 10.5.2 and EZTwain 3.30.0.28, XDefs 1.36b1 by Dosadi for scanning. Also Iam using the TOCR 3.0 for OCR management. In a function we use the following among all others : ... Long ll_acquire (as_path_filename is a function argument) ... ... TWAIN_SetAutoOCR(1) ll_acquire = TWAIN_AcquireMultipageFile(0, as_path_fil...

Powerbuilder query

How I can serach a .txt file in any directoty(i.e. c:\,d:\ etc.) using file functions in power bulilder. ...