Click here to Skip to main content
       

C / C++ / MFC

 
AnswerRe: Linked Lists and unique_ptr's PinmemberChris Meech19-Nov-12 14:04 
Questionencrypt and decrypt Pinmemberthandy mitchell19-Nov-12 6:24 
AnswerRe: encrypt and decrypt PinmvpRichard MacCutchan19-Nov-12 7:59 
AnswerRe: encrypt and decrypt PinmvpCPallini19-Nov-12 11:36 
Questionaccess excel data using c++ Pinmemberlakshmamma19-Nov-12 2:05 
AnswerRe: access excel data using c++ PinmemberFlaviu219-Nov-12 2:14 
AnswerRe: access excel data using c++ PinmvpCPallini19-Nov-12 2:17 
AnswerRe: access excel data using c++ PinmemberJochen Arndt19-Nov-12 2:26 
You may use different methods to read Excel files. Which one to use depends on the version of the Excel files (XLS and/or XLSX) and if Excel is installed or not:
  1. Using Excel Automation (COM / OLE Dispatch) with the Excel type library. This requires an installed Excel on the machine running your application (which defines what Excel file versions can be read) and the Excel type library on the development machine.
  2. Using ODBC or ADO (OLE DB). These are database interfaces that handle sheets from Excel files like databases tables. Drivers for XLS files are present on all Windows systems. Drivers for XLSX files are installed by Office 2007 or with the 'Microsoft Access Database Engine 2010 Redistributable' package.
  3. Using a library. Examples are the ExcelFormat Library[^] here at CodeProject and the commercial LibXL[^] library.
 
Once you have decided which method you want to use, search for samples here at CP and in the web using the above keywords. But be prepared that reading Excel files is not done with a few lines of codes.
QuestionScroll window after zoom [modified] PinmemberFlaviu218-Nov-12 22:11 
AnswerMessage Removed PinmemberFlaviu218-Nov-12 22:18 
QuestionPre commit hooks for svn PinmemberMukul_P18-Nov-12 17:41 
AnswerRe: Pre commit hooks for svn PinmvpRichard MacCutchan18-Nov-12 21:42 
AnswerRe: Pre commit hooks for svn [modified] PinmemberApril Fans22-Dec-12 21:07 
QuestionC++, RealTime Scheduler in Operating System PinmemberKevin Stlip17-Nov-12 16:10 
AnswerRe: C++, RealTime Scheduler in Operating System PinmvpRichard MacCutchan17-Nov-12 21:46 
Questionporting my device driver 32 bit to windows 7 64 bit Pinmembernavn199116-Nov-12 22:03 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit Pinmemberjschell17-Nov-12 5:52 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit PinmemberBilliousBob23-Nov-12 4:50 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit PinmemberClark Kent SuperCoder17-Nov-12 5:52 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pinmembernavn199118-Nov-12 21:54 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit PinmemberClark Kent SuperCoder19-Nov-12 0:15 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pinmembernavn199121-Nov-12 2:40 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit PinmemberBilliousBob23-Nov-12 4:51 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit PinmemberBilliousBob23-Nov-12 4:50 
QuestionMemory usage Pinmemberjohn563215-Nov-12 21:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid