[dba-VB] C# Excel automation

Doug Steele dbdoug at gmail.com
Mon May 9 11:17:00 CDT 2011

John, I can't find it quickly but I know there was a big discussion
about this on the Access list a while back.


On Mon, May 9, 2011 at 8:43 AM, jwcolby <jwcolby at colbyconsulting.com> wrote:
> We are trying to automate Excel from C# but we are unable to correctly close
> the excel object itself.  IOW it is still seen in the process list.
> Paul has found information about marshal.releasecomobject and is doing that
> for every object he is even touching but something is still not working.
> Can anyone provide a simple example of opening a workbook, and reading a set
> of cells out of a worksheet, then cleaning up and closing Excel.
> TIA for your assistance.
> --
> John W. Colby
> www.ColbyConsulting.com
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com

More information about the dba-VB mailing list