Author |
Message |
24/01/2008 16:31:26
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
Hi,
i'm using an ActiveX in my application. With the property "propertyinterest" i ask the activex for some parameters. In my callback method I read the results out of the BaseActionEvent with the method getParams(). Normally I get an array of Strings with the length 1. But now I have the following problem: one of my results has a comma (","). In this case the whole string is separated and I get an array with the length 2.
Is this behaviour desired?
Agnes
|
|
|
25/01/2008 10:52:17
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
I have a new question:
If the result value of a parameter is boolean, I receive from the ActiveX the value VT_BOOL{true} and VT_BOOL{false} respectively.
Is it possible for you to change it to the value "true" and "false" respectively?
Thanks, Agnes
|
|
|
26/01/2008 11:38:50
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Hi Agnes,
ad 1st topic: we added corresponding encode/decode functions into the ValueManager + changed the way of pushing data into and pulling data from the component.
Changes will be available from next Monday on.
Please take a look into ValueManager's functions:
(1) decodeMethod*,encodeMethod
(2) encode/decodeCSV
ad 2nd topic: we changed this...
Both answers refer to updated release (next Monday).
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
29/01/2008 15:16:44
|
kabat
Power User
Joined: 10/12/2007 10:12:44
Messages: 78
Offline
|
Hi,
how do I use these functions (1)+(2) properly? I tried for instance this:
BaseActionEventActiveX baeax = (BaseActionEventActiveX) ae;
String activeXData = baeax.getActiveXPropertyValues();
String[] activeXParams = ValueManager.decodeCSV(activeXData);
But I have still the same problem. The variable "activeXData" has only the data to the first ",". The rest is disappeared.
Agnes
|
|
|
29/01/2008 15:26:35
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
The way you do it is correct... I'll contact you.
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|