powerbuilder

RGiesecke dll Export template

[亡魂溺海] 提交于 2019-12-10 20:09:44
问题 I have a need to create a dll that can be called from PowerBuilder 12.5. I found the RGiesecke.DllExport page at https://sites.google.com/site/robertgiesecke/Home/uploads#TOC-Samples. I created the following very simple c# project as a console app and in the wizard I selected dll: VS2013 framework 3.5 Windows 7 using System; using System.Collections.Generic; using System.Text; using RGiesecke.DllExport; using System.Runtime.InteropServices; namespace PRS { internal static class

Migrating from Powerbuilder 6.5 to 10.5

早过忘川 提交于 2019-12-08 18:59:27
We have an application that is built using PFC. I am facing a strange problem. When I define a workspace and open only the PFC librares, I can migrate and do a full Build. However, when I include this in my application library, it will not build, and gives me an error stating C0001: Illegal datatype s_printsetupattrib. This error occurs wherever it is used. Googling hasn't given any answers. I have tried to regenerate s_printsetupattrib within the pfcapsrv.pbl, and it regenerates fine. The next step I tried was to regenerate pfc_n_cst_platform (pfcapsrv.pbl), and other such objects, but these

is there a way to differentiate from Barcode Scanner entry from Keyboard key pressed values in PowerBuilder

别来无恙 提交于 2019-12-08 14:30:29
Please help me in differentiating the source of entry into textbox. I am currently using Barcode Scanner to enter a value into textbox also i need to enter the value manually from keyboard. PowerBuilder 12.5 version. Use a singlelineedit control. Put the cursor there. User either scans barcode or types in entry. The scanner simulates keyboard input. There is not really any way to differentiate between the two. If you use an OCX or COM type control to operate the scanner then you may be able to tell between them 来源: https://stackoverflow.com/questions/35148584/is-there-a-way-to-differentiate

Migrating from Powerbuilder 6.5 to 10.5

醉酒当歌 提交于 2019-12-08 09:19:22
问题 We have an application that is built using PFC. I am facing a strange problem. When I define a workspace and open only the PFC librares, I can migrate and do a full Build. However, when I include this in my application library, it will not build, and gives me an error stating C0001: Illegal datatype s_printsetupattrib. This error occurs wherever it is used. Googling hasn't given any answers. I have tried to regenerate s_printsetupattrib within the pfcapsrv.pbl, and it regenerates fine. The

is there a way to differentiate from Barcode Scanner entry from Keyboard key pressed values in PowerBuilder

北战南征 提交于 2019-12-08 08:16:29
问题 Please help me in differentiating the source of entry into textbox. I am currently using Barcode Scanner to enter a value into textbox also i need to enter the value manually from keyboard. PowerBuilder 12.5 version. 回答1: Use a singlelineedit control. Put the cursor there. User either scans barcode or types in entry. The scanner simulates keyboard input. There is not really any way to differentiate between the two. If you use an OCX or COM type control to operate the scanner then you may be

PowerBuilder 10.5 Application on Windows XP 32-bit to Windows 7 64-bit

对着背影说爱祢 提交于 2019-12-08 07:24:45
问题 I currently have a 32-bit PowerBuilder application that we are trying to port over to a Windows 7 64-bit environment. Realizing the obvious that PowerBuilder 10.5 was built previously before Window7 came out and the big also the obvious fact that this application was built within a Windows XP 32-bit environment. The 32-bit PowerBuilder application spits out the following error message when deployed on a Windows 7 64-bit machine. Application Terminated. Error: Invalid DataWindow row/column

Looking for a Regular Expression extension [closed]

一世执手 提交于 2019-12-07 12:25:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm looking for a Regular Expression library I can use in our application, which is written in PowerBuilder (PB has some RegEx functionality, but it's too limited for my needs). Required characteristics are: interface: COM or exported functions (can't use exported classes) Unicode Free Production ready Any

How to import Excel file into DataWindow

試著忘記壹切 提交于 2019-12-07 08:41:03
问题 I want to import the .xlsx file into PowerBuilder DataWindow, I know we can able to do it with CSV format, but the user wants to use the xlsx format, Please let me know if there are any options to import. 回答1: you can import xls like this (this is our import function). Of course you have to know where to put each columns value from the excel to the datawindow. I think you do not need such a sophisticated solution, but there are the main guidelines: int li_rtn, li_i string ls_range long ll

.NET interop in PowerBuilder

旧时模样 提交于 2019-12-07 07:55:08
问题 I'm looking for a way to do two-way communication between a PB object and a .NET (C#) object. In looking at Brad's .NET version of his GUI controls, I see how to give the .NET object a reference to the PB object. But in that example, it's cast as a PowerObject (basically). That C# code only calls TriggerEvent() on the PB object. I want to create a custom class in C# called foo1. I want to create a method on foo1 called bar1(). I want to create a custom class in PB called foo2. I want to

PowerBuilder 10.5 Application on Windows XP 32-bit to Windows 7 64-bit

夙愿已清 提交于 2019-12-06 16:09:22
I currently have a 32-bit PowerBuilder application that we are trying to port over to a Windows 7 64-bit environment. Realizing the obvious that PowerBuilder 10.5 was built previously before Window7 came out and the big also the obvious fact that this application was built within a Windows XP 32-bit environment. The 32-bit PowerBuilder application spits out the following error message when deployed on a Windows 7 64-bit machine. Application Terminated. Error: Invalid DataWindow row/column specified at line 44 in function ivvisiblecolumn of object objectwindow The database profile setup points