on 07-27-2016 9:22 PM
Hi,
Does anybody know whether I can set argument for datawindow.Retrieve() method in .Net Assembly target which generated assembly is used in WinForm application? It looks like the datawindow can retrieve by passing in parameters. However, there are few 'InvalidCastException' errors and probably affects performance.
I got 'InvalidCastException' error in WinForm application when I turned on the setting to break when CLR exception is caught when there is/are retrieval argument(s) set in dw.Retrieve(lsArg) method. If I just leave with no argument, there is no 'InvalidCastException' error.
PB12.1 Classic on .Net Assembly target
Thanks for any reply,
Christine
Hi Christine;
Have you had a chance to try the .Net Assembly via PB 12.5.x or better yet, v12.6?
FYI: PB 12.1 is based on .Net 2.0 - whereas 12.5.x is .Net 3.5 and 12.6 utilizes .Net 4.0.
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
We downloaded the trial for 12.6 but then it was expired. And we did contact someone in Novalys to get licenses. However, it looks like there is no clear answer on how to purchase licenses.
The datawindow does retrieve(parameters) by returning rows. But WinForm application throws exception error which we think might affect the performance when .Net Assembly is running.
Christine
Hi Christine;
Have you tried contacting Novalys about PB licencing through this mechanism ... Purchase PowerBuilder 12.6?
Regards ... Chris
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.