Open
Open a new worksheet from the supplied OGW file and attaches it to the object.
BOOL Open( LPCSTR lpcszFileName, int nOption = CREATE_VISIBLE )
TRUE for success; otherwise FALSE.
EX1
//Open a new worksheet from the supplied OGW file and attaches it to the object. void Worksheet_Open_Ex1() { Worksheet wks; string strOGW = "c:\\myfile.ogw"; int nOption = CREATE_VISIBLE_SAME; BOOL bRet = wks.Open(strOGW, nOption); printf("Returned %u, Name = %s\n", bRet, wks.GetName()); }
Datasheet::Create
origin.h