Quantcast
Channel: SCN : Popular Discussions - SAP PowerBuilder
Viewing all 2135 articles
Browse latest View live

Datawindow .net - End Of Life Notice

$
0
0

Hi Community,

 

I want to know if there is a migration path for .net developers using Datawindow .net in their applications?

Is there some third party products in order to migrate the Datawindow .net functionality ?

 

Or after the "End Of Life Notice" all companies must migrate manually to another architecture, it is the only option?

 

Thanks in advance for your help.

 

Best Regards,

 

Douglas


Spire.barcode.DLL

$
0
0

Hello,

I trying to implement the spire.barcode.dll. I have to scan an image whit barcode and read the barcode. the DLL does just that (I see lool it in Visual basic).

I did not undestand how to implement this dll in my project powerbuilder.

Do I have to declare look like a local externale function ? But, How to do?

Thanks for any response

marco

PB12.5 - Oracle 11g conenction issue - Failed to get local NLS_LANG charset ID

$
0
0

Hi Everyone,

 

We have recently migrated our OS to windows 7 and orcle client to 11g since then I am getting error "Failed to get local NLS_LANG charset ID" while connecting to Oracle using the IDE. I tried to connect using O10 Oracle 10g and ORA Oracle interface as I dont see anything for 11g; result was same in both cases. Can someone please help to resolve this issue?

 

Following are the system details

OS - Windows 7 62 Bit

PB - 12.5 Build 2511

Oracle Client - 11g 32 bit

 

Thanks,

Robin

RowsCopy not working

$
0
0

I am trying to copy rows from one datawindow to another.  The source window has 19 rows in it, but when I update the destination window it only produces 1 Insert statement.   Can anyone tell me why its not working or how to debug.

 

Here's the code:

 

uo_transaction  ltran_Transact
string ls_SQLAnyConnectString
ls_SQLAnyConnectString = "ConnectString = 'DSN=dbbasesqlany;UID=" + is_DbLogon + ";PWD=" + is_DbPwd + " ' "
ltran_Transact = CREATE uo_transaction
ltran_Transact.DBMS = "ODBC"
ltran_Transact.dbParm = ls_SQLAnyConnectString
CONNECT USING ltran_Transact;
IF  ltran_Transact.SQLError()  THEN
ltran_Transact.SetSQLError("Error connecting transaction to ~""+ltran_Transact.DBMS+"~"")
RETURN FAILED
END IF

uo_ds_base luo_dw_local_security_log
uo_ds_base luo_dw_central_security_log

luo_dw_local_security_log = CREATE uo_ds_base
luo_dw_central_security_log = CREATE uo_ds_base

luo_dw_local_security_log.dataobject = "d_security_log"
luo_dw_central_security_log.dataobject = "d_security_log"

 

integer err1, err2, err3, err4

err3 = luo_dw_central_security_log.SetTransObject(itran)
err4 = luo_dw_local_security_log.SetTransObject(ltran_Transact)
//err1 = luo_dw_central_security_log.Retrieve()  // Either retrieving or not retrieving yields only 1 insert statement
err2 = luo_dw_local_security_log.Retrieve()

 

integer li_CentralRowCount, li_LocalRowCount
li_CentralRowCount =luo_dw_central_security_log.RowCount()   //0 Records
li_LocalRowCount = luo_dw_local_security_log.RowCount() // 19 Records

 

luo_dw_local_security_log.RowsCopy(1, li_LocalRowCount , Primary!, luo_dw_central_security_log, 1, Primary! )


IF luo_dw_central_security_log.Update() <> 1 THEN  // Only 1 insert statement generated
    itran.SetSQLError( "Unable to copy security_log data from local to central database" )
    RETURN FAILED
END IF

COMMIT USING itran;

how to Connect pb12.5 to sql server 2012?

$
0
0

Friends,

i was working in pb7 with sqlserver 2k.

we have created an ini file to connect the db(sql server 2k).

now we are planning to create our application thru pb12.5 classic with sql server 2012 as a backend.

can anybody provide a link or sample code to connect pb 12.5 classic to sql server 2012 thru code not with ini file.

 

thanks

PB12.5 and Microsoft WebBrowser OLE Control - object doesn't support querySelectorAll

$
0
0

Hi,

 

I'm trying to run a JasperReport inside PB12.5 application using an Ole control (Microsoft WebBrowser). All works fine until at some point the web control(?) returns error "Object doesn't support property or method "querySelectorAll". The report is a sample report that comes with Jasper.

 

 

What I have learned from the web it would be a compatibility issues, IE support s this method first in IE8.  When I retrieve the report using e.g. IE10 or Chrome all is fine.

 

My question is - what options do I have to solve this issue? I don't think that I have the possibility to change users registry so the solution would need to be e.g. that I can the the PB application to use users current default browser or have a web control that I can control (e.g. .Net component that I then could use true "Interop".

 

 

The second question to all PB users that use OpenSource Jasper-solutions to do reporting is - what kind solutions have implement and how you you have resolved e.g. sending username/password and parameters to the reports.

 

Thanks,

ktp

Migrating 32 Bit Classic PowerBuilder app to 64 bit

$
0
0

Hi All,

 

I am trying to migarte my Powerbuilder 32 Bit classic application to 64 bit Version. All I could get from Internet that developing a Power builder 64 bit classic app can be done only by using Powerbuilder 15 IDE. Can Anyone Help me with the same. I am having PowerBuilder 12.5.2. Does This Version Support 64 bit application developemnt ??

Thank you

How to use assembly created by PB.NET 12.6 in .NET 2.0

$
0
0

Hello,

 

We have an application in PB8 and a web application with VS2005. This web application is using DW.NET 2.5 to print the reports created by PB8. Now we upgrade PowerBuilder to version 12.6. The reports created in PB12.6 cannot be imported by DW.NET 2.5 anymore.

 

I try to create a project .NET Assembly in PB.NET. I also register this assembly as COM component with command REGASM and GACUTIL. But in web project, I cannot reference to this assembly. It’s a newer version of .NET framework and cannot add to VS2005. It does not appear also in the list of COM component in Add Reference popup.

 

How can I use this assembly in VS2005 with .NET 2.0?

 

Regards,

Richard


Powerbuilder 12.6 slow behaviour

$
0
0

A friend need some help with this issue.

We deployed our application on Windows Server 2012 SMB File Server.

The application is deployed to a UNC shared directory. The clients access this directory from Windows 7 32-bit stations and the run the application locally. PB Runtime 12.6 has been installed locally on these client stations.

 

After the deployment we run a pilot to test various aspects of the application, especially it’s performance. During the pilot we have found that compared to our old PB 11.5 based version, the visual performance of our PB 12.6 application was seriously impaired. The menus blink, the windows open slowly… As a result the clients complained that the new version is just unusable.

 

We estimated that the problem is probably connected to the PB 12.6 inherent feature of lack of persistent memory caching of pbd files.

Such lack of caching seems causes sequential excessive loading and unloading of these files on each and every user interaction.

 

We then tried to improve the performance by defining "Caching" option in "Advanced Sharing" dialog of Windows Sharing. Specifically we tried to check the option "All files and programs that users open from the shared folder are automatically available offline" + "Optimize for performance".

Such option should cause all our application related files to be downloaded from the application server and cached locally on the client computer “behind the scenes”.

 

The visual performance of the application in this case indeed was drastically improved, but not immediately.

It took some 3-5 minutes after starting the application until we could feel that the performance was indeed smooth as in the 11.5 version.

 

We turned to Microsoft for an advise if such “cached” application server configuration is feasible.

In turn, Microsoft representatives requested the manufacturer (SAP) recommended operational and configuration instructions for such deployment configuration. After receiving such document they will be ready to assist us further in this matter.

 

I will be glad if you can provide, as requested by Microsoft, such instructions for the proposed application server configuration (Windows 2012 SMB server with file caching), or provide us with any alternative solution for the problem I described.

Downloading InfoMaker v 12.1; contract for InfoMaker 12.6

$
0
0

I was told by the sales team to open this question in this forum. I'm trying to verify this is possible through the specific versions before officially purchasing. I couldn't find an InfoMaker forum for the discussion, so I hope this is relevant enough. We are looking specifically for InfoMaker 12.1 as our end goal to use to develop plugins for an existing software. Unfortunately, it does not work with new versions of InfoMaker, and we NEED 12.1

 

Since instructions for older versions were made available for licensees of 12.5, I need to verify this works with 12.6, since unfortunately, 12.5 is no longer available and 12.6 is.

 

Through our software vendor, we can purchase: Sybase Infomaker 12.6 w/1 year of support.

 

From previous version we were still trying to access 12.1; instructions said we could log into SAP Support portal; and find SyBase Infomaker 12.0/Installation.

 

From there, it said we would be able to additionally download Solution 32; IM121_6950 to upgrade 12.0 to 12.1.

 

I would like to verify this option is still available to us if we were to buy InfoMaker 12.6. We would like to make this purchase knowing we can access version 12.1.

 

Thanks for all of your time.

Connecting to a Oracle database over LDAP

$
0
0

Hi Powerbuilder Community,

 

a customer asked us if a PowerBuilder application can authenticate to an Oracle database via an LDAP server.

We do not even have such a configuration and can therefore not try and before we create a time consuming test environment I want to pass the question to the community. Can a PowerBuilder application log into an Oracle database, which uses an LDAP server. Probably about an OS authentication or something else? Does anyone have any experience with it.

 

Greetings

Alex

 

PB Classic 12.5.1 Build 4953

How to solve the "procedure has not been executed or has no result" error

$
0
0

Recently we are getting the "procedure has not been executed or has no result" error while executing Procedures and Dynamic SQL queries in our PowerBuilder 12.5 Application. Can anyone  diagnose the cause of such error messages? Better still can someone help us in finding the resolution for this issue?

Thanks in advance!

Using PowerBuilder .NET Assembly in Classic PowerBuilder

$
0
0

I have a PB Classic 11.5 application for which I need to use REST Services.  I know very little about how to do this.  Bruce Armstrong's YouTube video published on Dec 7, 2012 (SAP D&T Academy - How to Use Non-Visual .NET Assemblies in PowerBuilder Classic Win32 Apps) was very helpful to me in creating the .NET assembly.  If I create a "WPF Window Application" in PB .NET 12.6, my REST Client Proxy works fine.

 

But when I create a PB .NET 12.6 Assembly project and try to use in with my PB Classic 11.5 application I am having issues. Specifically, I am getting error code -3: "Object could not be created" when using myOLEObject.ConnectToNewObject("my.class").  If I use myOLEObject.ConnectToObject("", "my.class"), I get error code -5: "Ca not connect to the currently active object."  I am assuming that "Ca not" is really "Cannot".  I used RegAsm to register the assemblies.  I have tried both placing the assemblies in the GAC with strong names for the DLLs and using the assemblies as local files without strong names, and many countless other things that I cannot even remember now.


I have spent several days doing Google searches.  Part of my problem may be not knowing the proper terminology to use for my searches.  I even found the same question being asked on the old Sybase Forums about 8 years ago, but no one provided a final answer.  I have also privately emailed Bruce requesting a link to his source code used in the video.  While I am waiting for his response, I continued doing Google searches and decided to ask the question here.


Thank you for your help.  (This is my first question on SAP community.)


Lane Poole



Spire.barcode.DLL

$
0
0

Hello,

I trying to implement the spire.barcode.dll. I have to scan an image whit barcode and read the barcode. the DLL does just that (I see lool it in Visual basic).

I did not undestand how to implement this dll in my project powerbuilder.

Do I have to declare look like a local externale function ? But, How to do?

Thanks for any response

marco

PowerBuilder - Sysam served license

$
0
0

Hi Folks,

 

We are using served license for our PowerBuilder 12.5 and recently we did a system refresh. We have installed PB in the new PC and point the license to our sysam server. But the PowerBuilder in the new PC showing that we are in grace period. I checked the sysam logs on the server and it looks like installation from old PC is still holding the license. Can someone please advise how can we release this?

 

Thanks,

Robin Kurian


Documentation for older PB versions

$
0
0

Dear all,

 

I start this thread in order to ask if it is possible to access documentation & supported platforms resources for older PowerBuilder versions (5, 7, 8, 9).

 

In Infocenter Archieve, I have found documentation for PowerBuilder 10.2.1 -> 12.1

In SAP Help Portal, the available documentation covers versions 12.5 -> 12.6

 

Any other information will be highly appreciated.

 

Kind regards,

ilias

Can PB 12.1 co-exist with PB12.5?

$
0
0

We support various applications in different versions of powerbuilder. (For example, I have one application in PB5 on my laptop, but most are in PB12.1) One of my co-workers must now also support applications in PB12.5. However, our field support team is telling us that PB12.1 and PB12.5 can not be installed on the same machine. Is this correct? I've never encountered that restriction when I was migrating an application from PB 7 to PB12.1. During the migration, I had everything from 7 through 12 on my machine. Is there something special about PB12.5?

TimeOut when calling wcf from powerbuilder 12.5

$
0
0

Hello,

we created a webservice and installed on iis.

when we call the ws from winform it reply correctly,

when we  call the ws from PB we got timeout.

what could be the problem ?

where sholud i look for the problem ?

thank you,

Eyal

Problem calling procedure

$
0
0

PB Version: 12.5.1

Database: SNC ( SQL Server 2008 )

 

Source code:

 

DECLARE sp_proc PROCEDURE FOR procedure_name

   @param1 = :ls_var1, @param2 = :ldec_param2 OUTPUT;

 

EXECUTE sp_proc;

 

On a specific customer: "Cannot use the OUTPUT option when passing a constant to a stored procedure"

On a local backup, and other 10 customers: Works Fine.

 

Someone knows why and how to solve it?

Thanks in advance.

PB12.5 - Oracle 11g conenction issue - Failed to get local NLS_LANG charset ID

$
0
0

Hi Everyone,

 

We have recently migrated our OS to windows 7 and orcle client to 11g since then I am getting error "Failed to get local NLS_LANG charset ID" while connecting to Oracle using the IDE. I tried to connect using O10 Oracle 10g and ORA Oracle interface as I dont see anything for 11g; result was same in both cases. Can someone please help to resolve this issue?

 

Following are the system details

OS - Windows 7 62 Bit

PB - 12.5 Build 2511

Oracle Client - 11g 32 bit

 

Thanks,

Robin

Viewing all 2135 articles
Browse latest View live


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