This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Drag and drop a file to AcuCobol

We're trying to find a way to allow clients to drag and drop a file onto an AcuCobol screen control that will allow us to capture the path and then copy/move the file where we need it. 

Is there such a capability, and if so could you provide an example? 


  • There isn't a control that is set up to accept a file. You could use a push button titled " Transfer File" or something like that and use the call "C$OPENSAVEBOX"  routines where they can select their files and the program (or user) determines where it should be saved. There is an opensave.cbl example program.

    There maybe some .Net controls that might provide this feature.

    SW Engineering(QA)  

    Although I am an OpenText employee, I am speaking for myself and not for OpenText.
    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • I have managed to partially solve this. I added a browser control (NEWLIST-Wb-1) as a drop point 

    then coded

    inquire NEWLIST-Wb-1, NAVIGATE-URL in ws-test-url


    when a file is dropped on the browser it gives us the path in ws-test-url

    but we were hoping for a way to do this with entry fields