Click here to Skip to main content
15,916,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to communicate with soundcard Pin
Mark Salsbery16-Jun-07 7:14
Mark Salsbery16-Jun-07 7:14 
QuestionUsing two different versions of same Visual studio dll Pin
Rose8116-Jun-07 2:37
Rose8116-Jun-07 2:37 
AnswerRe: Using two different versions of same Visual studio dll Pin
Mark Salsbery16-Jun-07 6:06
Mark Salsbery16-Jun-07 6:06 
QuestionAbout Intelliconnect-Registry Settings Pin
Akin Ocal16-Jun-07 2:25
Akin Ocal16-Jun-07 2:25 
QuestionLocalizing some extern/global vriables? Pin
granshah @ eVisionISF16-Jun-07 1:44
granshah @ eVisionISF16-Jun-07 1:44 
AnswerRe: Localizing some extern/global vriables? Pin
Matthew Faithfull16-Jun-07 2:27
Matthew Faithfull16-Jun-07 2:27 
Questionreading excel file through coding Pin
neha.agarwal2716-Jun-07 0:46
neha.agarwal2716-Jun-07 0:46 
GeneralRe: reading excel file through coding Pin
Matthew Faithfull16-Jun-07 1:55
Matthew Faithfull16-Jun-07 1:55 
There's really 3 ways I can think of unless you want to reverse engineer the Excel file format.

1.Embed an Excel sheet as an ActiveX control within your app (doesn't have to be visible) and then access the data in it using the Excel object model and COM. This way Excel still gets to read the file and you don't have to.

2.Export the excel file to a .csv file which is really easy to read, just data and commas, and read that.

3.Use ADO or some similar technology to hide all the SQL stuff from you so it's used but you don't have to worry about it.

I'd go for option 2, unless I wanted to write data back it which case I'd probably be rethinking my design.
The Excel ODBC,OLE/DB drivers are notoriously bad anyway. They can't handle spaces in column names and have 3 different types of 0, numeric 0, empty cell 0 and null string 0, which they seem to mix randomly.WTF | :WTF:

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: reading excel file through coding Pin
neha.agarwal2717-Jun-07 21:01
neha.agarwal2717-Jun-07 21:01 
AnswerRe: reading excel file through coding Pin
Matthew Faithfull17-Jun-07 22:30
Matthew Faithfull17-Jun-07 22:30 
AnswerRe: reading excel file through coding Pin
David Crow18-Jun-07 2:53
David Crow18-Jun-07 2:53 
QuestionTJFTP linking problem Pin
oaa.infocom16-Jun-07 0:17
oaa.infocom16-Jun-07 0:17 
AnswerRe: TJFTP linking problem Pin
Mark Salsbery16-Jun-07 6:34
Mark Salsbery16-Jun-07 6:34 
QuestionRe: TJFTP linking problem Pin
Hamid_RT16-Jun-07 9:27
Hamid_RT16-Jun-07 9:27 
Questionreading file failed.... Pin
Y_Kaushik16-Jun-07 0:01
Y_Kaushik16-Jun-07 0:01 
AnswerRe: reading file failed.... Pin
neha.agarwal2716-Jun-07 1:21
neha.agarwal2716-Jun-07 1:21 
GeneralRe: reading file failed.... Pin
Y_Kaushik16-Jun-07 1:34
Y_Kaushik16-Jun-07 1:34 
GeneralRe: reading file failed.... Pin
neha.agarwal2716-Jun-07 1:44
neha.agarwal2716-Jun-07 1:44 
GeneralRe: reading file failed.... Pin
Y_Kaushik16-Jun-07 2:08
Y_Kaushik16-Jun-07 2:08 
GeneralRe: reading file failed.... Pin
neha.agarwal2716-Jun-07 2:50
neha.agarwal2716-Jun-07 2:50 
GeneralRe: reading file failed.... Pin
Y_Kaushik16-Jun-07 3:36
Y_Kaushik16-Jun-07 3:36 
GeneralRe: reading file failed.... Pin
David Crow18-Jun-07 2:56
David Crow18-Jun-07 2:56 
QuestionCalling a Function in CMainFrame Pin
Abhijeet Pathak15-Jun-07 22:56
Abhijeet Pathak15-Jun-07 22:56 
AnswerRe: Calling a Function in CMainFrame Pin
StevenS_Dev16-Jun-07 6:07
StevenS_Dev16-Jun-07 6:07 
QuestionRe: Calling a Function in CMainFrame Pin
Abhijeet Pathak17-Jun-07 0:16
Abhijeet Pathak17-Jun-07 0:16 

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.