www.pudn.com > Excel_To_Access.rar > Excel_To_AccessDoc.cpp
// Excel_To_AccessDoc.cpp : implementation of the CExcel_To_AccessDoc class
//
#include "stdafx.h"
#include "Excel_To_Access.h"
#include "Excel_To_AccessSet.h"
#include "Excel_To_AccessDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CExcel_To_AccessDoc
IMPLEMENT_DYNCREATE(CExcel_To_AccessDoc, CDocument)
BEGIN_MESSAGE_MAP(CExcel_To_AccessDoc, CDocument)
//{{AFX_MSG_MAP(CExcel_To_AccessDoc)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CExcel_To_AccessDoc construction/destruction
CExcel_To_AccessDoc::CExcel_To_AccessDoc()
{
// TODO: add one-time construction code here
}
CExcel_To_AccessDoc::~CExcel_To_AccessDoc()
{
}
BOOL CExcel_To_AccessDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CExcel_To_AccessDoc diagnostics
#ifdef _DEBUG
void CExcel_To_AccessDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CExcel_To_AccessDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CExcel_To_AccessDoc commands