Problem:
When a COBOL application in INT or GNT is executed in a shell from a Visual Basic program, it does not usually get the focus by simply doing the following:
Shell "run MyPgm.gnt"
Resolution:
Here is the Shell function syntax:
processID=Shell(pathname[, windowstyle])
In the scenario involved to run INT or GNT, use vbNormalFocus for windowstyle.
Shell "run adsamp.gnt", vbNormalFocus