Click here to Skip to main content
15,886,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Linked Lists and unique_ptr's Pin
Chris Meech19-Nov-12 14:04
Chris Meech19-Nov-12 14:04 
Questionencrypt and decrypt Pin
thandy mitchell19-Nov-12 6:24
thandy mitchell19-Nov-12 6:24 
AnswerRe: encrypt and decrypt Pin
Richard MacCutchan19-Nov-12 7:59
mveRichard MacCutchan19-Nov-12 7:59 
AnswerRe: encrypt and decrypt Pin
CPallini19-Nov-12 11:36
mveCPallini19-Nov-12 11:36 
Questionaccess excel data using c++ Pin
lakshmamma19-Nov-12 2:05
lakshmamma19-Nov-12 2:05 
AnswerRe: access excel data using c++ Pin
_Flaviu19-Nov-12 2:14
_Flaviu19-Nov-12 2:14 
AnswerRe: access excel data using c++ Pin
CPallini19-Nov-12 2:17
mveCPallini19-Nov-12 2:17 
AnswerRe: access excel data using c++ Pin
Jochen Arndt19-Nov-12 2:26
professionalJochen 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 Pin
_Flaviu18-Nov-12 22:11
_Flaviu18-Nov-12 22:11 
AnswerMessage Closed Pin
18-Nov-12 22:18
_Flaviu18-Nov-12 22:18 
QuestionPre commit hooks for svn Pin
Mukul_P18-Nov-12 17:41
Mukul_P18-Nov-12 17:41 
AnswerRe: Pre commit hooks for svn Pin
Richard MacCutchan18-Nov-12 21:42
mveRichard MacCutchan18-Nov-12 21:42 
AnswerRe: Pre commit hooks for svn Pin
April Fans22-Dec-12 21:07
April Fans22-Dec-12 21:07 
QuestionC++, RealTime Scheduler in Operating System Pin
Kevin Stlip17-Nov-12 16:10
Kevin Stlip17-Nov-12 16:10 
AnswerRe: C++, RealTime Scheduler in Operating System Pin
Richard MacCutchan17-Nov-12 21:46
mveRichard MacCutchan17-Nov-12 21:46 
Questionporting my device driver 32 bit to windows 7 64 bit Pin
navn199116-Nov-12 22:03
navn199116-Nov-12 22:03 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit Pin
jschell17-Nov-12 5:52
jschell17-Nov-12 5:52 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
WebMaster23-Nov-12 4:50
WebMaster23-Nov-12 4:50 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit Pin
Software_Developer17-Nov-12 5:52
Software_Developer17-Nov-12 5:52 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
navn199118-Nov-12 21:54
navn199118-Nov-12 21:54 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
Software_Developer19-Nov-12 0:15
Software_Developer19-Nov-12 0:15 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
navn199121-Nov-12 2:40
navn199121-Nov-12 2:40 
GeneralRe: porting my device driver 32 bit to windows 7 64 bit Pin
WebMaster23-Nov-12 4:51
WebMaster23-Nov-12 4:51 
AnswerRe: porting my device driver 32 bit to windows 7 64 bit Pin
WebMaster23-Nov-12 4:50
WebMaster23-Nov-12 4:50 
QuestionMemory usage Pin
john563215-Nov-12 21:48
john563215-Nov-12 21:48 

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

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