|
Prev: External Stored Proc Limitations?
Next: OT: Computer Science Education: Where Are the Software Engineers of Tomorrow?
From: Pete Dashwood on 7 Jan 2008 22:48 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."
From: Frederico Fonseca on 30 Jan 2008 19:48 On Tue, 8 Jan 2008 16:48:38 +1300, "Pete Dashwood" <dashwood(a)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
From: Pete Dashwood on 30 Jan 2008 21:38
"Frederico Fonseca" <real-email-in-msg-spam(a)email.com> wrote in message news:d8ivp3hasagk2dj50cv1fgu0mo64bevk4k(a)4ax.com... > On Tue, 8 Jan 2008 16:48:38 +1300, "Pete Dashwood" > <dashwood(a)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 > 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." |