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

Azure, PowerBuilder & PowerDesigner

$
0
0

Greetings All,

 

I read the following article and decided to try out Azure:

 

TechWave 2011: PowerBuilder and the Cloud - Jim O'Neil - Technology Evangelist - Site Home - MSDN Blogs

 

I created a database and I was able to create an ODBC connection to it.

 

But I could only connect to the master database, not the actual database that I want to populate with my tables.

 

After floundering around for an hour, I got the idea that maybe I need to use SQL Server Manager to manage logins and rights?

 

Can I get along with SQL Server express or do I have to buy something to do that.

 

Also, can anyone comment on the cost of Azure and the pro's and con's of using it with PowerBuilder?

 

Thanks all!!

 

Paul


PowerBuilder Winform Menu Issue - PowerBuilder 12.5 Classic

$
0
0

Greetings All,

 

I made a change to a menu in my application and now I cannot get the application to run as a Winform Application.

 

It works find as a 32-bit application, but that is all.

 

Does the error messages below look familiar to anyone?

 

Thanks for any help!!

 

Paul

 

 

---------- Error messages:    (08:21:33 PM)

Error when compiling generated C# code:

m_main.m_importairportcityrates.clicked(1,86): error CS1061: 'c__ap' does not contain a definition for 'w_affiliate_rate_import_facility_airport_city' and no extension method 'w_affiliate_rate_import_facility_airport_city' accepting a first argument of type 'c__ap' could be found (are you missing a using directive or an assembly reference?)

m_main.m_importairportcityrates.clicked(1,5): error CS1502: The best overloaded method match for 'Sybase.PowerBuilder.Win.PBSystemFunctions.Open<T0>(ref T0)' has some invalid arguments

m_main.m_importairportcityrates.clicked(1,86): error CS1503: Argument 1: cannot convert from 'ref c__ap.w_affiliate_rate_import_facility_airport_city' to 'ref T0'

---------- Finished    (08:21:33 PM)

How to know user clicked on which button on print dialog box?

$
0
0

Hi,

 

 

From PowerBuilder application  I am trying to print the pdf.

After my print code ,the print dialog box is showing.

In the dialog box we have Print and cancel button.

 

How can i know user have click on Print or cancel button?

 

 

Print dialog box screen shot.

 

print1.PNG

 

Thanks,

Rashmi R Giri

How to display pdf in datawindow

$
0
0

Hello ,

 

 

I have a pdf in my local path (like C:\temp\temp.pdf)

 

I want to display temp.pdf in datawidow.

 

Is there any way to display the pdf in datawindow.

 

Powerbuilder version (12.5)

 

 

 

 

 

Thanks

Rashmi Ranjan Giri

Import File / Appeon / .Net Assembly / LibXL

$
0
0

Greetings All,

 

I need to provide my users with the ability to import a file (spreadsheet) in my Appeon and process it in a datawindow.

 

In PB I have had good success using a Winform Target to be able to call LibXL.Net.DLL to open a spreadsheet and read and write to it using a PowerBuilder Winform Client.

 

And now I am wondering if that capability might exist in Appeon.  The documentation says that I can use a Winform target, but states that I have to re-write my code and possibly use something called the AppeonDotNetComponent.

 

So before I go any further down the rabbit hole, does this sound at all feasible?

 

If so, can someone point me in the right direction?

 

If not, is there some other way to open a file in the Appeon Web Client and read the spreadsheet so I can import the data?

 

Thank you!!

 

Paul

Datawindow Column Name is created with another name while try to create

$
0
0

Hi,

 

     Datawindow Column Name is created with another name while draging ( column name is already in the datawindow ) .

 

    e.g. "Emp_Name" which is already in detailed band and I drag again the "Emp_Name" from the column list and put it in the detailed band Datawindow created another name say "Emp_name_1" , new column which is not listed in "column specification" list but it is in "Control List", while I take the column count I am getting the column count from the column list, but I try to get the name of the corresponding column it is pointing to new column name "emp_name_1" instead of "emp_name", and if use new column in the "Filter", "Find" , "Sort", datawindow return an error with "Invalid expression". Kind advice if anybody have solution. All other properties  for the new column are same, "db.name" property also same.

 

 

Regards

Antony

Will PB 12.6 Manuals be available in pdf?

$
0
0

I would like to mention that we don't have manuals in pdf (like sybase used to do and sap continues to do for other products). For PB 12.6 we only have 3 documents as you can see in the following link: SAP PowerBuilder 12.6 – SAP Help Portal Page. For other products (like powerdesigner) they released a full set of manuals (SAP PowerDesigner 16.5 SP04 – SAP Help Portal Page). Why not for PB? (The last set of manuals is for PB 12.5.x).


Thiswilllikelyhelpnewdevelopers touse the product!

 

Andreas.

Powerbuilder 12.6 32-bit app on Windows 10

$
0
0

Has anyone had weird things happen when running a PB12.6 app on Windows 10?  One of my clients recently upgraded their computer to Windows 10.  When running an app that has been running fine for many years, they had a big surprise.  On a data entry screen, when they clicked the 'Save' button, instead of doing what it has always done, it opened an app called "One Note" and showed a report.

The 'Save' button usually compares the current record with the db to check for a duplicate and if it is not, then writes the record to the db.  Other than a retrieve from the db, it does no external calls.


how to get list of file names in the printer queue

$
0
0

Hello,

 

anybody has any idea , how to get the list of documents in my printer queue.

PB.NET 12.6 Build 3506 : debugger does not show variables values

$
0
0

I'm having the same issue that some people had in PB.NET 12.5.1.

 

I'm in the migration process from PB 11.5 to PB .Net 12.6, but the debugger does not show variable values. Does anybody know how to solve that issue, should I install something more.

 

Currently I have those app in my PC

  • Microsoft .Net Framework 4 Multi-Targeting Pack
  • Microsoft .Net Framework 4.5 Multi-Targeting Pack
  • Microsoft .Net Framework 4.5 SDK
  • Microsoft .Net Framework 4.5.1
  • Microsoft .Net Framework 4.5.1 Multi-Targeting Pack
  • Microsoft .Net Framework 4.5.1 SDK


Thanks in advance.


Erick Siliezar R.


Change expired password error window

$
0
0

Hi All,

 

Using PB10.0 Build 5502 and Oracle 11G.

 

In the SQLCA.DBPARM, I specified PWDialog=1 to allow the user to change their password when it expires. We also use password verification function associated to the user profile for password complexity.

 

In my testing, when I enter a password that does not pass the verification function, an error is displayed, like the below screen shot:

2015-12-15_16-15-19.jpg

 

As you can notice, the title of the error window is like garbage and I'm not sure how to correct it. Any idea?

 

TIA,

Neil

What is the secret to exporting to PDF using XSLFOP?

$
0
0

I think I have done what I am supposed to do.  I have the FOP-0.20.5 folder deployed directly under my application folder; same with the JRE folder; I copied these folders from my PowerBuilder installation.  I execute a Modify statement to set the export method: adw.Modify("Datawindow.Export.PDF.Method=XSLFOP!").  Then I execute SaveAs: adw.SaveAs(as_filename, PDF!, True).  I don't get an error, but I don't get a PDF file.  Where am I going wrong?  I'm on PowerBuilder 12.5.2.   Mark

PowerBuilder & MySql

$
0
0

Hi

 

I´m working with PowerBuilder 11.5 and MySql, on my Log In Application Window if the user&password are bad or not exist, why I have gotten a message from Odbc Mysql  and then my own message ? I don't want to show that Window of Odbc ..... I attache an example

cant use pbdom to analyze xml in webservice pb 11.5

$
0
0

hi,everyone.

I have a webservice to recevice a String parameter as xml, then use pbdom to analyze xml but it doesnt'work. when I do some tests in C/S, pbdom can analyze xml.It's strange, can someone help me?

 

thanks in advance

Rory Vinc

PowerBuilder 12.5 Classic does not start in Windows 10

$
0
0

I recently updated my machine to Windows 10 having PowerBuilder previously installed. It does not get past the splash screen. I have attempted to uninstalled and re-installed with no success. Any ideas?


cant use pbdom to analyze xml in webservice pb 11.5

$
0
0

hi,everyone.

I have a webservice to recevice a String parameter as xml, then use pbdom to analyze xml but it doesnt'work. when I do some tests in C/S, pbdom can analyze xml.It's strange, can someone help me?

 

thanks in advance

Rory Vinc

Future of PowerBuilder webcast

Need to emulate changed item event in dw - PowerBuilder Classic 12.5

$
0
0

Greetings all,

 

I am working on a temporary project where I am importing data into a spreadsheet (about 100 rows).  That is working fine.

 

But then I need to fire the item changed event to make additional processing take place using the code in my itemchanged event.

 

But somehow, I can't seem to get it fire.

 

Can someone kindly suggest a way to make this happen?

 

Thank you!!

 

Paul

PB 12.5 to WORD 2010

$
0
0

I've been reading example after example. Both VBA and PB .

 

Can someone post an example of how to dynamically add rows to a word table, then for each cell i the new row add a bookmark that we can populate from dw data.

 

I dont want to create the table and add it since the user has formating all over and the column heading are set.

 

Thanks in advance !

Richard

PB 12.6 resize event before open event

$
0
0

Someone of you has problem with PB12.6 (build 4081) resize event

 

In my case the resize is called before the open event and just if I call my windows using OpenWithParm instead OpenSheetwithparm

 

Using PB 11.1 the order is Open the resize even using OpenSheetwithparm

 

Any hints please?

 

Thanks a lot

 

Regards

 

GM

Viewing all 2881 articles
Browse latest View live


Latest Images

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