Home > Archive > Cobol > January 2008 > PowerCOBOL Drag and Drop
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
PowerCOBOL Drag and Drop
|
|
| Pete Dashwood 2008-01-07, 9:56 pm |
| I have been working on getting Windows Drag and Drop (the OLE version)
functionality to work, for a client using PowerCOBOL with a third party
"smart grid" component written in VB.
It is VERY difficult.
The grid uses an Object defined in the VB run time, to provide an interface
for a data object in which to store the data being dragged. It returns a
reference to this when various events fire off, and this reference is not in
a format that COBOL can use as an Object Reference...
In VB it is much less difficult, and in C# it is not difficult at all... :-)
If anyone would like more information on how to do this in PowerCOBOL, let
me know.
Pete.
--
"I used to write COBOL...now I can do anything."
| |
| Frederico Fonseca 2008-01-29, 6:56 pm |
| On Tue, 8 Jan 2008 16:48:38 +1300, "Pete Dashwood"
<dashwood@removethis.enternet.co.nz> wrote:
>I have been working on getting Windows Drag and Drop (the OLE version)
>functionality to work, for a client using PowerCOBOL with a third party
>"smart grid" component written in VB.
>
>It is VERY difficult.
>
>The grid uses an Object defined in the VB run time, to provide an interface
>for a data object in which to store the data being dragged. It returns a
>reference to this when various events fire off, and this reference is not in
>a format that COBOL can use as an Object Reference...
>
>In VB it is much less difficult, and in C# it is not difficult at all... :-)
>
>If anyone would like more information on how to do this in PowerCOBOL, let
>me know.
>
>Pete.
Hi Pete,
Kind of late, but can you tell me what is that third party grid? and
what version of FJ that you are trying it on at the moment.
Send private email also if you wish
Frederico Fonseca
ema il: frederico_fonseca at syssoft-int.com
| |
| Pete Dashwood 2008-01-29, 9:57 pm |
|
"Frederico Fonseca" <real-email-in-msg-spam@email.com> wrote in message
news:d8ivp3hasagk2dj50cv1fgu0mo64bevk4k@
4ax.com...
> On Tue, 8 Jan 2008 16:48:38 +1300, "Pete Dashwood"
> <dashwood@removethis.enternet.co.nz> wrote:
>
>
> Hi Pete,
>
> Kind of late, but can you tell me what is that third party grid? and
> what version of FJ that you are trying it on at the moment.
>
> Send private email also if you wish
>
Sure. The grid is itGrid from it-partners. here's the link:
http://www.it-partners.com/products/itGrid/itGrid.asp
(I believe they also have information available in other languages,
including Italian and Spanish.)
The version of PowerCOBOL was V6.
Normally, dealing with third party ActiveX and COM components is pretty easy
in Fujitsu COBOL (both PowerCOBOL and NetCOBOL). However, on this occasion
it wasn't, and the client's own COBOL people were not able to solve it, so
it was passed to me. I thought it would be trivial but it wasn't :-)
There is no adequate documentation by Fujitsu of how this problem can be
resolved, and it was only after setting up a VB project and getting THAT to
work that I was able to get enough insight into what the problem was and
solve it for COBOL.
At the time I made the above post, I had solved the problem, and can provide
a complete description, details and samples of working COBOL.
However, as the client paid me to do this, I would have to charge a small
fee for it.
Pete.
--
"I used to write COBOL... Now I can do anything."
|
|
|
|
|