Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Forum Post: RE: release Excel from memory in Visual Cobol

$
0
0
You can release the memory on the COM objects created from the Excel interop class using something like: $set ilusing"System.Runtime.InteropServices"           Invoke type Marshal::FinalReleaseComObject(myworkbook)      *   invoke type Marshal::FinalReleaseComObject(myworkbooks) etc...                    invoke type GC::Collect

Viewing all articles
Browse latest Browse all 5819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>