Highlighted
Absent Member.
Absent Member.
284 views

[archive] Strange Active-X behavior

[Migrated content. Thread originally posted on 18 June 2008]

Hi all,

We have created an application called "Clipboard" that simulates the MsOffice clipboard functionality.
It is a simple form with the active-x control "Spreadsheet" (file name ..\Program Files\Common Files\Microsoft Shared\Web Components\11\OWC11.DLL)

We call "Clipboard" from regular forms to add/modify/delete large grid-related data: We send the grid data to a temporary tab-separated text file and then load the text file to the spreadsheet by using the method @loadtext. After that, we can update the original grid by:

INQUIRE SPREADSHEET-RANGE @VALUE IN VALUE_TMP
MODIFY GRID-HANDLE(ROW, COLUMN), CELL-DATA IS VALUE_TMP

VALUE_TMP is a PIC X(500).

This works fine in local and AcuServer access. But when we use AcuConnect-ThinClient, we observe the following:

The spreadsheet control fails to send any international characters back to grid although it had received them successfully from the grid !!!

To be more precise, suppose grid_cell(1,1) = "abcαβγ"
After sending to spreadsheet, spreadsheet_cell(1,1) = "abcαβγ"
After sending back to grid, grid_cell(1,1)="abc" !!!

Thanks for any help...

Thanos
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] Strange Active-X behavior

There is "translation" happening at several layers.

As this is TC only, it might be a bug, but it can also be a storage issue. Is your data stored in vision? If so, is this ANSI or ASCII? If it is the latter, this might be the reason.

I suggest you try to create a small reproducable. This usually unveils something. If it does not, you should send it to Technical Support.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.