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

CR 723465 update on a badly needed fix

$
0
0

I'm running in to the same problem as thread http://scn.sap.com/thread/3279653. Bruce referenced this CR and would like to know if it has been fixed. It's extremely easy to recreate. I can recreate it by dragging a datawindow object from the solution explorer and dropping it on a window. PB automatically adds several references to the solution. At that point the solution will never compile again even if I delete the datawindow and remove all the references that were added!

 

Error: Unknown build error, 'Method 'get_Command' in type 'System.Windows.Controls.Primitives.RepeatButton' from assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.

 

Windows 7

Net 4.5 (uninstalling is not an option)

PB.Net 12.5.2.5006

WPF target

 

Thanks,

Mark


PowerBuilder 12.6 RegistryGet Not Behaving

$
0
0

Howdy!

 

Has anyone noticed an issue with RegistryGet in 12.6.0.4035?

 

I have code which looks up the ORACLE_HOME key and in PB 12.5.1 it work fine, but in 12.6 it fails. The code is identical.

 

I will be totally transparent, here, and admit that my knowledge of Windows API's is dreadfully shallow. I did try running my app 'As Administrator' just in case this was a permissions issue, but to no avail.

 

Thanks in advance!

Tom

PowerBuilder 12.6 Runtime Packager

$
0
0

Good day!

 

I have installed the latest patch (Build 4035) and the runtime packager still does not list Oracle 12c. It only lists Oracle 11g.

 

When will this be fixed?

 

Thanks,

Tom

Powerbuilder 12.6 crashes if we try to use oData though a Datawindow.

$
0
0

We are  using this oData endpoint. http://services.odata.org/V3/OData/OData.svc  for my test.

 

We are using Version 12.6 build 3506.

 

Any help will be greatly appreciated.

Faulting application name: PB126.EXE, version: 12.6.0.3506, time stamp: 0x53bcb629 Faulting module name: PB126.EXE, version: 12.6.0.3506, time stamp: 0x53bcb629 Exception code: 0x40000015 Fault offset: 0x000052da Faulting process id: 0x3578 Faulting application start time: 0x01d07e182a356507 Faulting application path: C:\Program Files (x86)\Sybase\PowerBuilder 12.6\PB126.EXE Faulting module path: C:\Program Files (x86)\Sybase\PowerBuilder 12.6\PB126.EXE Report Id: 85492614-ea0b-11e4-872d-a0481cdc5a2c

 

 

 

 

Thanks

Venkt

fileattribute of '288'

$
0
0

hi,  i found file attribute in pfc_n_cst_filesrv with the following value

 


1, 32 . 33 or 128.

 

we have function using of_dirlist to get pdf files from directory and check if older than 3 hours then delete.

however the function only return todays files.  when debugging I found the file attribute = 288, if I include this value

in the code then system return all old files as well.

 

However I don't know what it  means (so I can't include the value in the pfc).  I searched everywhere but can't find any infor,

 

get same value for both pb8 and pb12.5

 

thanks

Registration-free .NET activation

$
0
0

I am attempting to use/deploy a Registration-free .NET component. Using PB12.6.NET and Bruce's SMTPClient code I created pbsmtpclient.dll. I then created pbsmtpclient.rc which looks like this: RT_MANIFEST 1 pbsmtpclient.manifest Question: Where do I place this file in the PB12.6.NET environment? Question: How do I compile it in the PB12.6.NET environment? Question: How do I embed the manifest info in pbsmtpclient.dll? I created pbsmtpclient.manifest which looks like this:

Question: How do I find out/assign the CLSID for pbsmtpclient.dll? NOTE: The CLSID in my manifest file may be wrong... Using PB12.6 Classic I created isemail_net.exe which uses the pbsmtpclient component. I created isemail_net.exe.manifest which looks like this:

                    />    Question: What do I do with this file? I assume it sits in the PB12.6 Classic directory alongside isemail_net.exe. Question: In the project painter do I need to set any of the Security settings? eg Generate options: Embedded manifest/External manifest/No manifest   Execution level:  As Invoker/Highest Available/Require Administrator NOTE: If I register smtpclient.dll using gacutil & regasm, isemail_net.exe works fine so I know that the pbsmtpclient.dll component is working. If I do not register then I would like the manifest technology to work - if I only knew how... TIA Larry

Powerbuilder 12.5 app unable to start correctly 0xc000020c

$
0
0

Hello,

 

I'm hoping somebody will be able to provide some assistance with my problem.

 

I have a few powerbuilder applications residing on a Windows 2008 R2 sp1 server with business users on windows 7 accesssing these applications.

 

From time to time users are, all of a sudden the users are unable to open the applications, instead receiving the following message  "The application was unable to start correctly (0xc000020c). Click OK to close the application." 

 

I have asked the users to reboot there machines, thinking perhaps some kind of locking is taking place, but it did not help.


At this point the only way for anyone to access the applications was to reboot the server, this to, had to be a hard reboot ( which to me indicates something with my runtime files doesn't like the something on the server, but that's just my guess).

 

Any help would be appreciated.

 

Thanks

datawindow blob

$
0
0

I have a database in sql server which contains families with a photo.  The column is a varbinary(max).  I want to create a tabular datawindow report that shows the family name and their picture retrieved from the database.  I have a blob column on the datawindow but it wont show any images. The column definition is as below.  id is the primary key to the table.  What am i missing?

 

client class = datawindow

client name = untitled

key clause id = :id

file template = blank

client name expression = "data for "+string(id)

table = family

large binary/text col = photo: blob

ole class desc = paint.picture: bitmap image


Problem retrieving BLOB column

$
0
0

I'm using PB 12.5.1 / DB2 Version 10 / ODBC driver

When executing this embedded SQL Statement in the application, I'm getting a popup window asking me to "Select Data Source"

 

SELECTBLOB BLOB_OBJECT

INTO :LB_TEST

FROM BLOB_TABLE

WHERE BLOB_NAME = 'BANANA.JPG'

;

 

Having the user manually select the ODBC DataSource from within the application is not an option for us.

 

I also tried with "USING SQLCA", that didn't make any difference.

 

Is there any specific transaction object/parameters that need to be defined for SELECTBLOB ?

 

thanks

Ganesh

PB 12.6.x MR

$
0
0

Hi,

Do you already have an appointment for PowerBuilder 12.6.x MR?

 

André Rust

Using PowerBuilder to build Interface between multiple applications

$
0
0

Greetings:

 

We have a PowerBuilder 11.5 application which interfaces with various other applications.  The method which is used to interface with these multiple different applications are:  Socket, File Copy, sFTP and it also uses the FTP Server like SecureFTP and EAI.

 

Is it possible to used PowerBuilder either 11.5 or 12.5 to implement these interfaces?  How can I use PowerBuilder to build these interfaces between these various applications?

 

I appreciate in advance for any help I can get on this.

 

Kind Regards,

 

Cannot Connect to database MS SQL Server Native Client error 11.0 Login Failed for user, Please contact your administrator

$
0
0

Hi,

We are working on SQL Server 2008 R2 and our application is built on Sybase PowerBuilder 12.0 and this a client server application.

Whenever we are trying to connect from client machine to server machine through Windows Authentication we are getting error like below,

Cannot Connect to database SQLERRTEXT.SQLSTATE = 28000 Microsoft SQL Server Native Client error 11.0 Login Failed for user, Please contact your administrator.

We have taken maximum care in connectivity string like below for Windows Authentication,

DBParm=PROVIDER='SQLNCLI11',DATASOURCE='XXX\SQLEXPRESS2008',PROVIDERSTRING='DataBase=XXXXX',IntegratedSecurity='SSPI'"

We have also configured the server Authentication mode in,

Windows Authentication

Windows and SQL Server Authentication.

But our all efforts are getting failed to establish a connection through Windows Authentication whereas the connectivity is fine when we use SQL Server Authentication.

Please help us to get this error resolved ASAP. We are looking only for Windows Authentication only.

NOTE: Our client machine is Windows 8 and our Server runs on Windows 7. So whenever we are executing application from Windows 8, the above error message is coming.

.Net assembly not working in VS app

$
0
0

I've written a .Net assembly in PB.Net 12.5.2 that has a datawindow that I create a PDF from using SaveAs(). The datawindow uses a web service as it's data source. The web service is written in PB.Net. I wrote a WPF client in PB.Net to test with that references the .Net assembly. Everything works fine on the development machine.

 

I installed the PB runtime and PB.Net runtime on my VS machine using the PB Runtime manager. I ran the msi for my .Net assembly on the VS machine. I made sure the WCF is reachable from the VS machine using the WCFTestClient program. I created a WPF project in VS 2012 and added a reference to my .Net assembly. When I call my method in the .Net assembly I return  the result of a call to Retrieve for the datawindow from the .Net assembly. The return value is -1. The pdf gets created and displayed but has no data because the retrieval failed. What am I missing?

 

Thanks,

Mark

PB control mplayer via Named Pipes

$
0
0

I'm trying to write a program that will control a few instances of mplayer (video player). Mplayer allows other apps to control it through named pipes and I'm having battles trying to get it to work. I'm hoping someone here has done this before and can supply an example for me. For others, here is a line command that starts mplayer:-

"C:\Program Files (x86)\mplayer\mplayer.exe" -vo gl -noborder -xineramascreen -2 -x 1920 -y 1080 -quiet "C:\Tomorrowland Trailer 3.wmv"

To run it in slave mode where a pipe can be used, you would add another parameter "-slave" after the "-quiet" that opens a command prompt which you can then type mplayer line commands (such as play or stop, etc.) and the player will action. You can also add "-input file=xxx" after -slave which makes it a work with a named pipe.

Either way, I need help running mplayer through PB. Anyone?

RadioButtons in Powerbuilder WebForm (V11.5.1, build 4964)

$
0
0

I having a RadioButtons style type for a field, with some item changed code to set other column to visible and invisible based on selection.

 

But when I click "Tab" on keyboard, it will tab through all the options in the radio buttons. Therefore, it will keeps on set visible and invisible based on selection.

 

Is there anyway to block the "tab" key press to tab through all the options and tab to the next column?

 

Please advice, thanks.

 

Regards,

VS


PowerBuilder 11.5 Download

$
0
0

Does anyone know where the prior version downloads are located?  I have a valid PB 11.5 license but can't find the download for the life of me. I am able to check-in and re-generate my license key but it appears Sybase took the download files down and finding something on the SAP site is about as intuitive as finding the Higgs Bison Particle without an education in physics. Thanks in advance for pointing me in the right direction.

 

Somehow I have a feeling that my PB 11, 11.1, 11.5 licenses are gone because I don't have the ISO's. It killed me to move on from PowerBuilder (to NetSuite and .NET) but when I come back to PB I realize that Sybase ruined PB, and SAP drove the final nail in the coffin. Frustrating to say the least. My manager wants to buy a copy of PB but he doesn't trust SAP because of the challenge finding someone who sells a license and those who had ability to sell PB revoked. Something about Fortune 500 (or similar size foreign companies) they are about as worthless as Government. </ rant >

Filter and validate in pb 7 datawindow

$
0
0

Friends,

 

Ver - PB 7.0

 

In the main window the user will select the male or female from the dropdown list.

and the user will import the file which contains rollnumber and fees in to the datawindow.

i have the validate button. when the user clicks the validate button. the system should check the *** of the students either male or female as per the selection from the main window.

if the main window has male and the datawindow contains any female rollnumbers the system should show the message with the rollnumbers.

Already i am validating the rollnumber for duplications. its working fine...

i want to do the same kind of stuff for the male, female validation as per the selection from the main window.

 

how can i alter the below code for my requirement?

 

dw_master.SetSort ("rollno A")

dw_master.Sort()

dw_master.SetFilter("rollno = rollno[-1] or rollno = rollno[1]")

dw_master.Filter()

 

if dw_master.RowCount() > 0 then

    MessageBox('Duplicate Rows','Check the Duplicate Roll numbers',StopSign!,OK!)

  Return 1

end if

 

thanks

Does PB 12.6 support to use other connection method (e.g. OLEDB) MS SQL server 2012 ?

PB 12.5 - MS Acces 2010 - OLEDB

$
0
0

hi,

I'm looking a sample for oledb database profiles for connecting MS Access 2010.

pb roadmap?

Viewing all 2881 articles
Browse latest View live


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