Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

PowerCOBOL Drag and Drop
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."



Report this thread to moderator Post Follow-up to this message
Old Post
Pete Dashwood
01-08-08 02:56 AM


Re: PowerCOBOL Drag and Drop
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 i
n
>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

Report this thread to moderator Post Follow-up to this message
Old Post
Frederico Fonseca
01-29-08 11:56 PM


Re: PowerCOBOL Drag and Drop

"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."



Report this thread to moderator Post Follow-up to this message
Old Post
Pete Dashwood
01-30-08 02:57 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:34 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.