CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: JonnyPoet

Search: Search took 0.06 seconds.

  1. Replies
    3
    Views
    9,289

    Re: Excel not closing when using OleDBAdapter

    Hi !
    You obviously need to insert


    masterWorkbook.Save();
    // here you insert
    table.Dispose();
    masterWorkbook.Close(true, System.Reflection.Missing.Value, System.Reflection.Missing.Value);
    ...
  2. Replies
    3
    Views
    9,289

    Re: Excel not closing when using OleDBAdapter

    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Data.OleDb;
    using System.Drawing;
    using System.Runtime.InteropServices;
    using...
  3. Replies
    3
    Views
    9,289

    Re: Excel not closing when using OleDBAdapter

    Please use codetags and repost your code so it can be orderly copied to a project and doesn't need to be reformatted by hand This is standard usage here in CG accordin to forum rules, because code...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured