powerbuilder

PowerBuilder Classic 12/12.5 guide/tutorials

帅比萌擦擦* 提交于 2020-01-11 09:41:13
问题 I'm new to PowerBuilder Classic 12, and I'm having a hard time finding any good guide/tutorial that can help me get started. Now I have already read the following tutorials http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc37772.1250/html/pbgs/CHDFGFBFA.htm But it did not explain how to build a application from scratch. It had a wizard that auto-creates windows, sheets, menu and etc for you. Any help/guide/tutorials are appreciated. Thanks in advance. edit: Forgot to

idea/solution how to edit PBL (PowerBuilder Library) files?

陌路散爱 提交于 2020-01-05 04:31:14
问题 I want to get the content of DataWindow from PBL (PowerBuilder Library) file and edit it in place. The idea is to read the pbl file, and access individual DataWindows to modify source code. Somehow, I have managed to do the first part with PblReader .NET library using IronPython. It allows me to read PBL files, and access DataWindow source code. However it doesn't support modifications. I would like to know if anyone have an idea for editing PBL files? 回答1: A PowerBuilder application can load

How to terminate a process if it has specific folder name in its path?

廉价感情. 提交于 2019-12-25 00:20:51
问题 I run an application from PowerBuilder and terminate it when i dont need it. But the application when running, it executes other processes from a specific folder. I want to kill all processes if they run from a specific folder. How to get the process handles of all those processes that have specif folder name in their path? 回答1: Here an example to show how to terminate all running instance of Notepad.exe OleObject wsh integer li_rc wsh = CREATE OleObject wsh.ConnectToNewObject(

Populate dropdownlistbox items from SQL table in PowerBuilder Classic 12.5

怎甘沉沦 提交于 2019-12-24 22:24:07
问题 I have been working on Vb.net but i switched to PowerBuilder 12.5 Classic, I am finding my way around. I need to know the equivalent PowerBuilder script; to clear a control "textbox1.clear()" to focus "textbox1.focus()" to insert SQL database items to drop-down listbox While dr.Read ComboBox1.Items.Add(dr("itemname")) end while 回答1: textbox1.Reset() textbox1.SetFocus() example (untested, but it shows the idea): string ls_sql, ls_syntax, ls_errors ls_sql = "select name from users" ls_syntax =

Need help to add help button and minimize to system Tray button in Powerbuilder

随声附和 提交于 2019-12-24 15:26:06
问题 I wanted to know how to add the help button and minimize to system tray button in Power builder window title bar. Does any one know it. kindly help me. Help with sample code are highly appreciated. Am having PB10.5 and SQLSERVER 2008. Thanks and regards Pushparaj 回答1: Here is an example of how to add your app to the system tray. http://www.topwizprogramming.com/freecode_icontray.html I don't know how to put a button on the title bar. 来源: https://stackoverflow.com/questions/22111757/need-help

How to select specific element in Powerbuilder window using HP UFT

╄→尐↘猪︶ㄣ 提交于 2019-12-24 09:10:12
问题 I am trying to record/automate an application developed in Sybase' Powerbuilder. I am currently using HP UFT v12.54. Using the default recording process, the object spy is only seeing the area on my PB Window, not the specific field/dropdown. In short, I am unable to select a specific object in the window. Please see the following image: I am trying to select the Authorized Signatory field, but instead, UFT does not see the specific element, but the field area Customer Data instead. UFT just

When activating OLEControl in my PowerBuilder application, toolbar items disappear

耗尽温柔 提交于 2019-12-24 05:10:26
问题 I have created a COM Interop Control in C# to use in my PB application. If I add an ole control to my userobject and select my C# object in the painter, then an olecustomcontrol is created and everything works as expected. However, in order to use a 64-bit version of my object when building the project for a 64-bit platform (in PB Classic 12.6) I added an ole control but hit cancel when asked to select an object, so an olecontrol is created and I can use InsertClass to select my object at

Creating PDF file in PowerBuilder

与世无争的帅哥 提交于 2019-12-24 01:24:44
问题 I am new to PowerBuilder. I got an assignment to create a PDF file using PowerBuilder. How can I do that? 回答1: as suggested by Alberto Megia, download PDF creator, but dont use SAVE AS. After you install pdf creator it will install a printer, use that printer to save the datawindow with the print function. after call print function, you will see a "Save as" dialog. If you use "saveas" function, the pdf will not have the format that the datawindow shows. 回答2: Our organization used to use

PowerBuilder 12.5 Web Forms - Columns Not Editable or Lost Tab Order upon Deploy

為{幸葍}努か 提交于 2019-12-23 15:49:52
问题 I am a seasoned PB developer, but primarily with the typical client-server architecture and am really having problems with a Web Forms application deployed to IIS7.5 using PB12.5 Classic . I am creating an updateable dataobject (web service) that works perfectly in design mode, however when run from deployed IIS server, all of the columns I have set to a positive tab order (editable) , appear as if they have a tab order of zero . I cannot select a row, cannot get focus to a column, the only

PowerBuilder Plug-in Architecture

巧了我就是萌 提交于 2019-12-23 11:58:08
问题 PowerBuilder seems to have some support for plug-ins since version 10. However, I can't find any documentation nor tutorials about this. The only hints I can manage are by examining the COM objects inside the existing DLLs. It doesn't help much, but I'm a novice at COM development. A very cursory example of how to do something would be awesome. EDIT To clarify, this is related to my other question about SCC integration. I'm looking for a way to do a "Check Out..." on a datawindow control on a