Click here to Skip to main content
15,881,757 members
Articles / Desktop Programming / MFC

MsAccess MdbTools with MFC and .NET

Rate me:
Please Sign up or sign in to vote.
4.82/5 (9 votes)
13 Jan 2012LGPL310 min read 68.9K   9.9K   49  
Viewer of MsAccess databases directly from MFC and .NET - Repair corrupt databases
#pragma once
#include "defines.h"

enum MFCMdbColType
{
	MFCMdb_BOOL = 0x01,
	MFCMdb_BYTE = 0x02,
	MFCMdb_INT = 0x03,
	MFCMdb_LONGINT = 0x04,
	MFCMdb_MONEY = 0x05,
	MFCMdb_FLOAT = 0x06,
	MFCMdb_DOUBLE = 0x07,
	MFCMdb_DATETIME = 0x08,
	MFCMdb_BINARY = 0x09,
	MFCMdb_TEXT = 0x0a,
	MFCMdb_OLE = 0x0b,
	MFCMdb_MEMO = 0x0c,
	MFCMdb_REPID = 0x0f,
	MFCMdb_NUMERIC = 0x10
};
enum MFCMdbColGenType
{
	MFCMdbGen_NUMERIC,
	MFCMdbGen_TEXT
};

class EXPIMPMDB CMFCMdbColumn
{
public:
	CMFCMdbColumn(void);
	~CMFCMdbColumn(void);

	CString Name;
	MFCMdbColType Type;
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer
Argentina Argentina
System developer from Argentina.

Programmed in VB 5,6,.NET, C#, Java, PL-SQL, Transac-SQL, C, C++ and even some "calculator" language.

Love to build small, useful applications.
Usually building big and complicated apps based on solid, reliable components.

Hobbies: reading, photography, chess, paddle, running.

Comments and Discussions