powerbuilder

ODBC Driver Manager The specified DSN contains an architecture mismatch between the Driver and Application

坚强是说给别人听的谎言 提交于 2019-12-23 02:02:22
问题 I have created an ODBC connection in PB10 Data Source and once I attempt to connect, below stop sign error occurs. Any idea on how to resolve this kind of connection error? Error : ODBC Driver Manager The specified DSN contains an architecture mismatch between the Driver and Application 回答1: Also, you could try to create the 32-bit ODBC in the 64-bit Operating System. Here's the exe you need to execute to create 32-bit ODBC in a 64-bit Operating System. c:\windows\syswow64\odbcad32.exe 回答2: I

Spy++ for PowerBuilder applications

三世轮回 提交于 2019-12-22 05:43:16
问题 I'm trying to write a tool which lets me inspect the state of a PowerBuilder-based application. What I'm thinking of is something like Spy++ (or, even nicer, 'Snoop' as it exists for .NET applications) which lets me inspect the object tree (and properties of objects) of some PowerBuilder-based GUI. I did the same for ordinary (MFC-based) applications as well as .NET applications already, but unfortunately I never developed an application in PowerBuilder myself, so I'm generally thinking about

Powerbuilder 12.5 database connection beginner tutorials

谁说胖子不能爱 提交于 2019-12-22 00:27:22
问题 I am fairly new to powerbuilder 12.5 and i cant find much tutorials on database management on SQL 2008. I need to connect to it via code like in VB.NET vs2008 Dim con As New SqlConnection Con.connectionstring = "Data Source=servername;Initial Catalog=user;Integrated Security=True" I need to select, insert, update and delete data... Any help on code samples 回答1: Datawindows Most database work with PB is done using datawindows. After you create a new datawindow, you set up your select statement

Mercurial MSSCCAPI Provider?

99封情书 提交于 2019-12-21 17:17:46
问题 Does anyone know of an MSSCCAPI provider for Mercurial? I'd like to try out Kiln/Mercurial with PowerBuilder, but the PowerBuilder IDE only recognizes MSSCCAPI providers (which is not the same as MS SCC Package API) and the only one I can find is the original version of HgSccPackage. I've contacted the developer and he has stated that he will not switch back from the Package to the regular API so that option leaves me with no upgrade path. This question was asked in July of 2010 with only the

How to pass a function as parameter in PowerBuilder

廉价感情. 提交于 2019-12-13 05:07:02
问题 Lately, I am using PowerBuilder 12.5 for application development. But, I don't know how to pass a function as parameter in PowerBuilder. Is it possible? and what is the Callback type of Win API. 回答1: PowerBuilder does not support callbacks or passing of functions as parameters. 来源: https://stackoverflow.com/questions/53531446/how-to-pass-a-function-as-parameter-in-powerbuilder

“Can Not Parse the WSDL file” error in PowerBuilder 12

末鹿安然 提交于 2019-12-13 03:55:36
问题 In my application i am trying to use a web service for the credit card processing. I am using 3DSI WSDL to perform the task. The problem is, whenever I am trying to go through the Web Service Wizard, keeping the link and hitting the service button, PB is throwing an error, "Can Not Parse the WSDL file". I tried both with EasySoap and .net. But the result is same. My WSDL links are mentioned below: https://services.PWSDemo.com/CreditCardTransactionService.svc https://services.PWSDemo.com

Powerbuilder call WebService with BasicAuthentication

天大地大妈咪最大 提交于 2019-12-13 03:23:59
问题 I am using PB 11.5.1 (Classic) and I want to pass an XML to a WebService that uses BasicAuth. I cannot find how to implement the BasicAuth. I have searched forums/blogs but I found no clear answer if it is even possible. Any help appreciated 回答1: Perhaps you can use an oleobject which uses MSXML.ServerXMLHTTP : // args: as_username, as_password, as_basicauthstring oleobject lole_http string ls_response lole_http = create oleobject lole_http.ConnectToNewObject("msxml2.ServerXMLHTTP") lole_http

Error using WebBrowser control inside PowerBuilder app when select an item in <select> tag

ぐ巨炮叔叔 提交于 2019-12-12 19:17:36
问题 I'm using WebBrowser control in a window inside a PowerBuilder 11.5 application. Everything works fine on IE7 and IE8 but the application crashes in IE9 under Windows 7 when you select an item in a tag. In IE7 and IE8 I added my application to registry key FEATURE_USE_WINDOWEDSELECTCONTROL. In IE9 under Windows 7 64bits did the same and if the REG_DWORD value that corresponds to my application is 1, the application crashes. If the value is 0, the application does not crashes but item

External “Hello World” Function in SQL Anywhere with Powerbuilder-generated DLL

浪尽此生 提交于 2019-12-12 10:05:11
问题 I created a function in PowerBuilder.NET Hello World . The project compiled as Helloworld.dll , generated in C# from the PowerBuilder utility. Inside Helloworld, I made the non-visual n_cst_helloworld . Inside the non-visual, I made the object function of_hello() . These are the issues I encountered when trying to access Helloworld.n_cst_helloworld.of_hello() in an external function on SQL Anywhere. The external function uses CLR and is called in Interactive SQL right now. Here is the script

Migrating a Powerbuilder 9 app to 12

会有一股神秘感。 提交于 2019-12-12 06:10:14
问题 I've recently started to support a PowerBuilder 9 app which is finally being upgraded to PowerBuilder 12. I'm trying to figure out whether I should be looking at migrating to PowerBuilder Classic or .NET. It seems to me that going with PB.NET would give me more flexibility going forward, but reading the documentation doesn't give me a clear picture of what the benefits would be. Obviously, I'd be able to take advantage of WPF forms, and I'd be using the Visual Studio Shell, but I don't know