Re: Reading from web config file
Hi Regin, This code works in a WPF app in PB 15... System.String MyValSystem.Configuration.AppSettingsReader reader reader = create System.Configuration.AppSettingsReader MyVal =...
View ArticleError 15 on External Function Call
Hello, I have an DLL external function written in C++ compiled with Unicode. I am receiving an error on the function call through PB.....Error number: 15; Error calling external function %s at line...
View ArticleRe: Find coordinates of datawindow cell
Hi Andreas, The code below in the Clicked event put a static text st_1 on the clicked column : st_1.X = dw_1.X + Integer(dw_1.Describe(dwo.name + ".x")) -...
View ArticleRe: Error 15 on External Function Call
Hi Julie, It would be interesting to post the PowerScript when error happens. By the way, is the 2nd argument parameters an array of string (becasuse I see an "s" in its name)?Also, did you use the...
View ArticleRe: Error 15 on External Function Call
Yes, you need to remove the ";ANSI" suffix on your call. That's telling PB to make the call as ANSI rather than Unicode: public SUBROUTINE XY_abcLink (long handle, ref string parameters, ref string...
View ArticleRe: Error 15 on External Function Call
Did you compile you Dll with the calling Convention _stdcall :
View ArticleRe: Error 15 on External Function Call
The second argument is not an array...just a concatenated string of data. I did allocate memory for the result string being returned but not for the params being passed. I have removed the ansi suffix...
View ArticleRe: Error 15 on External Function Call
For all the C .dll files I have created, I declare the functions as WINAPI which translates to _stdcall when compiled.
View ArticleRe: PB 15 Beta Crash - Compiling an migrated PB12.5
OK additional info.I can compile each single PBL using CTR-A and regenerate via context menu.So i can start the application from the PB15 IDE (Run or Debug). Splash Scrreen worksODBC 32BIT DB connect...
View ArticleRe: EAServer log shows GMT
I found out the reason for this. I thought of updating this, in case some one else faces this problem. It is really a Java issue. Apparently, zones may be incorrect in the versions of Java (1.4.2_13,...
View ArticleRe: How to Send a PB Object as Commandline Parameter
Mark - Thanks for your reply, it is really helpful. The DLL is a .NET assembly and it is developed in-house. But we have already moved on to 4.5 framework and would want to have all the new assemblies...
View ArticleRe: How to Send a PB Object as Commandline Parameter
PB.Net assemblies are com visible by default. It's probably a hack to not do so. VS assemblies are not com visible by default but it is a simple checkbox on the project to make it so. If your assembly...
View ArticleRe: PB 12.5 with EAS 5.5
Thanks, Chris. You are right about the JVM settings. Jagtool stopped working correctly on some of the larger targets and I had to add some java parameters to make it work. I haven't seen much issue...
View ArticleRe: How to Send a PB Object as Commandline Parameter
It should be noted that PB 15 also uses the 4.0 Framework.
View ArticleRe: Data window prints blank pages?
I guess the part that is odd is when i do the rows -> retrieve. It is showing up in that preview as one page? but when i do the .print() on that data window it is printing two pages. the first page...
View ArticleRe: Data window prints blank pages?
Right, if you are seeing Page 1 of 1 on the 2nd page that is getting printed, then look at the paper settings and see if you can play around that. If you enable the margins in the datawindow painter...
View ArticleRe: Web Service Datawindow: Strange parameters problem
Basically add [XmlSerializerFormat] above your interface declaration, and then replace [DataContract] with [XmlAttribute] in the interface code.Yep. My bad. I ***/u/me/d that you had created the WCF...
View ArticleRe: Word's Spell Check Window not coming to front in PowerBuilder application
Hi, I have the same problem as defined here. It's a decent approach, but this isn't working for me. Perhaps I'm doing something incorrectly. However, in my case, I'm opening a hidden instance of...
View ArticleRe: Data window prints blank pages?
The page count pertains to vertical pages. Your problem is more than likely horizontal pages. Methodically remove objects from the right side of your dw until the horizontal page count in print preview...
View Article