After working with PowerCOBOL for many years, we are ready to move on. We plan to convert our PowerCOBOL systems to .Net. As part of our migration effort, we need to add some COBOL code into the FormOpened event scriptlet for each of the forms in a project. This code enables the form to describe itself and generates an XML file which can be passed to the Windows designer so the form can be created as a .NET form.
Obviously, it is possible to manually open each form of each project and edit the FormOpened event but this gets tedious if there are hundreds of forms.
I would like to know if anybody has managed to start up the PowerCOBOL editor under program control, so that this could be done as a batch process.
If you have done this, could you please share some clues as to how you managed it? I will post here if we mange to solve it, but currently we are not having any success.
Thanks,
Pete.
Obviously, it is possible to manually open each form of each project and edit the FormOpened event but this gets tedious if there are hundreds of forms.
I would like to know if anybody has managed to start up the PowerCOBOL editor under program control, so that this could be done as a batch process.
If you have done this, could you please share some clues as to how you managed it? I will post here if we mange to solve it, but currently we are not having any success.
Thanks,
Pete.