Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all 2881 articles
Browse latest View live

DW group number

$
0
0

Hi,

 

how to print the group number in a datawindow please ?

 

a group by customer report for example , first customer 1 , second customer 2

 

so basic, can't remember it  

 

tia

John


PB15 Beta - triggering resize event on tabpage in Windows 8.1

$
0
0

I have run into a potential Beta issue.

 

I have some 'PFC style' resize logic in a window wherein when its size is changed some ancestor code is run which loops through the control array of the window and triggers the resize event on each control.

 

Now the tabpage control does not have a resize event script but so what, it should just silently fail.

 

On a 64 Windows 7 machine the window works fine.  On a Windows 8.1 machine PB stops working and shuts down.

 

Will post further information as it is revealed to me...

 

 

Matt

Trouble building a web service DW with a parameter

$
0
0

I am having trouble building a web service datawindow.  I enter the WSDL file.  The wizard finds the service, then asks me to should the method

I need. Then it gives my a list of possible parameters and asks me to select.  After I select the parameter the wizard asks me to select IN / OUT, but there is no place to click of make the selection. I wanted to include screen shots but the attachment has been rejected.

Calling 64 bit com wrapper from 32 bit PB application

$
0
0

Hi

 

Currently running a PowerBuilder 12.5.2 classic application and wondering if it is possible to call a 64 bit COM dll from the application?

 

The reason for asking this question is I may have some clients going to 64 bit version of Office and we currently use redemption as the interface to outlook.  64 bit outlook requires 64 bit redemption which in turn requires a 64 bit calling application.

 

Thanks in advance

Allan

Win API function GradientFill not working in PB15

$
0
0

I have found that the Win API function GradientFill is not working properly in the PB 15 beta. I think this may be the cause of reported issues with the Advanced GUI Library.

 

I have a sample app in both 10.5 and 15 flavors. If you run them side by side, you can see that color2 (right side on horizontal) is not the correct color. It seems to be showing as Fuchsia when it should be something else. If you choose Lime for color2, it shows Blue instead.

 

You can't attach zip or pbl files so I'll need info on where to upload it.

PowerBuilder Classic 15 beta error

$
0
0

Doing some initial testing with PowerBuilder Classic 15 beta against our applications.  Some migrate ok, however there is one set of apps which are generating an error.  This group of apps leverage the PFC as well as a custom library which is itself leveraging the PFC.  These application work perfectly under 12.5.2 classic (and below).

 

When migrating, we are getting the following error in a popup: "Invalid type in cm_intrinsic_int, file cmintrin.cpp, line 375"  Our applications don't have such a file so I'm guessing this is something internal to PowerBuilder.  I am also given Abort, Ignore, Retry buttons so I just ignore.  Everything 'seems' ok as I can open the object in question, but when trying to regenerate this specific object, the same error appears.

 

I guess this is why we test beta software.

 

 

Other than this issue, things looking good so far but I'm early in testing..

 

Any ideas/suggestions would be great.

 

 

 

Shane Maitland

Web service / .NET Framework SDK issue in win8 (PB 10.5)

$
0
0

I keep getting the ".NET framework SDK is not installed" error when trying to consume a wsdl file in PB10.5.2 on windows 8.  I have tried to install SDK from 2.0 - 4.5 with no success.  Just wondering if anyone has had any success with this, and what you had to do to make it work.  Yes I know PB 10.5.2 is not supported on win8, but like I said I'm sure someone has done this!  Any help would be appreciated.

 

Thanks,

Kevin

PB15 Beta - Advanced GUI

$
0
0

Hello,

 

The advanced GUI objects are not properly rendered in PB15 Beta (see attached image).

 

Regards,

 

Message was edited by: Philippe Pilat


How to Use drools Rules in powerbuilder

$
0
0

How can i use drools rules in powerbuilder?Is there any document/examples are there.Please suggest me asap.

Using Tableblob

$
0
0

I'm trying to figure out if the new tableblob feature in the classic PB 12.5 datawindow meets my needs.  Basically, I have two tables:

 

TABLE A (ID, FNAME, LNAME)

TABLE B (ID, PHOTO (image type))

 

I need to join table A with B on ID and show ID, FNAME, LNAME, and PHOTO (as an image) in a tabular dw (multiple records).

 

I've played around with tableblob and the documentation is... sparse.  Can it do what I need it to do?

Powebuilder 12.5 build 2511 static text font odd behaviour

$
0
0

Migrated an application from PB 9.0 to PB 12.5. Running the application on Windows 7.0 Enterprise. When running the application in PB12.5 , noticed that when using keys like tab, shift, cntrl on any screens that had static text controls, Every time one of the above mentioned keys are pressed the static text controls.text property's font gets bolder and gets shadows in colors green and red.

The application does not explicitly modify the properties of the static text controls, yet we get the behaviour described above. No special third party fonts are used. The application re-generates and compiles correctly. The application worked correctly in PB9.0.


Powerbuilder 12.5.2 and Hana database

$
0
0

Hi, guys, how are you?

 

I've been testing my PB application with SAP Hana and I am trying to get a better performance.

While comparing results between Hana and Oracle I couldn't notice any great improvement, that's bad...

 

Is there  anyone using Hana?

 

Someone told me that if I change some tables to column format instead of row  format, I would get better results.

So, I've selected some tables that are frequently updated in order to change them to 'row format', but I got nothing.

 

 

 

Thanks!

different result exponent pb9 vs pb11.5

$
0
0

Hi All,

 

I do a conversion from pb9 to pb11.5 and there is some calculation that give not the same result on both versions. The problem is following script:

 

integer ii_number

double ld_nr

 

ii_number=69 //in the script from 1 to 999, but 32 to 96 have other results

ld_nr=ii_number^9.417

 

In pb9     : ld_nr=2.072248755415554E+17

 

In pb11.5 : ld_nr=2.07224875541556E+17

 

The last digits are different, afterwards there is a mod(...), so the script uses the last digits. They used a datatype to little, but I can't change it because the results are used in other programs(hardcoded).

 

Have someone an idea how we have the exact same result on pb11.5?

PB 15 BETA; is Ghostscript still needed for dw.Saveas PDF?

$
0
0

I get a -1 return from dw.saveas('c:\beta\matt.pdf',PDF!,TRUE) on a Win 8.1 test machine which does not have Ghostscript installed.  Was the requirement for having Ghostscript ever removed?

ImageMagick on Windows 7 64bit

$
0
0

I want to use ImageMagick OLE object in my application for some image manipulations.

On WinXP everything is fine. ImageMagick (32bit version) is installed and working fine.

But when I tried to install it on Win7 64bit there is a problem.

ImageMagickObject (64bit version) cannot be registered.

Did anyone run into this problem before?


Memory leak in 12.5?

$
0
0

We have had a application that has been running on PB since PB 9. However it looks like in 12.5 the application has started to use a lot of memory? I have had places in the code that have been the same for years suddenly spike up in memory use.

 

I guess has anyone noticed that 12.5 uses more memory? And does anyone know of any good memory tools to use for PB? I have used some c++ memory tools but they don't really tell me a lot.

Call function on lose focus

$
0
0

Hi,

 

I have an input datawindow where I would like to do a small check on the reference number to make sure that the information has not been added yet, and if it does exist ask the user if they want to edit existing rather than create new.

 

I would like this to be done when the reference input box loses focus, that way it can run a quick database check in the background before the user inputs everything.

 

Is this something that is easy/possible to do in PowerBuilder?

 

we have had a few duplicate entry's we would like to avoid if possible.

 

I found the LoseFocus event in SyBooks Online, but there is not a whole lot of information on how to properly implement it.

 

thanks,

PB12 error using Message.PowerObjectParm

$
0
0

Hello,

I'm facing some wierd behavior in PB 12 classic app. We migrated our app from PB7, where it was running with no problems.

In PB12 app, our customers (from different companies, with different OS etc.) are reporting some "random" crashes in several forms. But these crashes have something in common.

 

We have a small NVO n_cst_datastore_params with instance variable ids_parm of type datastore for passing data between forms,

ids_parm is created in the constructor of NVO.

 

Sample code:

n_cst_datastore_params lnvo_params

 

lnvo_params = CREATE n_cst_datastore_params

lnvo_params.ids_parm.DataObject = 'ds_dataobject'

lnvo_params.ids_parm.InsertRow(0)

lnvo_params.ids_parm.Object.column[1] = 'some value'


OpenWithParm (w_form2, lnvo_params)

...


In pfc_preopen or pfc_postopen event of w_form2:

n_cst_datastore_params lnvo_params

string ls_value

 

lnvo_params = Message.PowerObjectParm

ls_value = lnvo_params.ids_parm.Object.column[1] // this is the line, where it crashes...

 

Error message usually sounds like 'Null object reference at line xxx in pfc_preopen event of object w_form2.'


I am not able to reproduce this behavior on my machine. Customers encounterthese errorsoccasionally - when they repeat the action, it usually works well...

It seems like the data get lost while passing to another form. I am supposed to fix it somehow, but I'm running out of ideas...


Thanks in advance for any input.

Tomas

PB15 Docking Issue

$
0
0

The new mdidoc! and mdidockhelp! window types ignore the getminmaxinfo event I coded on the window. The event with calls to GetMinMaxInfo & SetMinMaxInfo are used to set the minimum and maximum size of a window.

 

I can upload an example if you need one.

 

If the window had minimum size properties standard, this code wouldn't be needed.

Powerbuilder & surface 2 pro

$
0
0

Hi world.

 

someone can tell me if the programs developed in Powerbuilder are compatible with windows 2 surface pro?

 

in particular, has anyone test: surface 2 pro, powerbuilder and oracle ?

 

Ty for answer.

 

 

Gmmy

Viewing all 2881 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>