Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCFile and read Pin
ns30-Sep-02 5:43
ns30-Sep-02 5:43 
GeneralRe: CFile and read Pin
jmkhael30-Sep-02 5:52
jmkhael30-Sep-02 5:52 
GeneralRe: CFile and read Pin
jmkhael30-Sep-02 5:58
jmkhael30-Sep-02 5:58 
GeneralRe: CFile and read Pin
ns30-Sep-02 6:05
ns30-Sep-02 6:05 
QuestionWrite to Excel File ??? Pin
Nitron30-Sep-02 5:32
Nitron30-Sep-02 5:32 
AnswerRe: Write to Excel File ??? Pin
Stephane Rodriguez.30-Sep-02 5:44
Stephane Rodriguez.30-Sep-02 5:44 
GeneralRe: Write to Excel File ??? Pin
Nitron30-Sep-02 6:01
Nitron30-Sep-02 6:01 
AnswerRe: Write to Excel File ??? Pin
TyMatthews30-Sep-02 6:23
TyMatthews30-Sep-02 6:23 
Have you looked at DTS at all? It can output to Excel without you having to write a bunch of code. You can load DTS packages in your EXE and run them from there, since DTS is really just a collection of COM objects.

If that is too much of a burden, or your data doesn't already exist in some other database for easy export, then take a look at the MSDN sample COMEXCEL. It shows how to use the Excel.Application.8 COM object, which gives you direct access to Excel and all its glory. Okay, maybe not all, but a bunch of stuff. You can create new workbooks, spreadsheets, data ranges, etc. and you can write out all of your data. Just note in this case, you'd need to have Excel installed on the same machine where your code will run.

    Ty


"The significant problems we face cannot be solved at the same level of thinking we were at when we created them." -Albert Einstein


GeneralMultiSelect CFileDialog (Open) Pin
ns30-Sep-02 5:14
ns30-Sep-02 5:14 
GeneralRe: MultiSelect CFileDialog (Open) Pin
Ravi Bhavnani30-Sep-02 5:17
professionalRavi Bhavnani30-Sep-02 5:17 
GeneralRe: MultiSelect CFileDialog (Open) Pin
jmkhael30-Sep-02 5:17
jmkhael30-Sep-02 5:17 
GeneralRe: MultiSelect CFileDialog (Open) Pin
Lakitu30-Sep-02 5:17
Lakitu30-Sep-02 5:17 
GeneralThanks everyone!!! Pin
ns30-Sep-02 5:26
ns30-Sep-02 5:26 
Generalshow text in statusbar Pin
jafrazee30-Sep-02 4:43
jafrazee30-Sep-02 4:43 
GeneralRe: show text in statusbar Pin
Jon Hulatt30-Sep-02 5:09
Jon Hulatt30-Sep-02 5:09 
GeneralRe: show text in statusbar Pin
jafrazee30-Sep-02 5:18
jafrazee30-Sep-02 5:18 
GeneralRe: show text in statusbar Pin
Jon Hulatt30-Sep-02 5:37
Jon Hulatt30-Sep-02 5:37 
GeneralRe: show text in statusbar Pin
jafrazee30-Sep-02 6:25
jafrazee30-Sep-02 6:25 
GeneralRe: show text in statusbar Pin
jmkhael30-Sep-02 6:52
jmkhael30-Sep-02 6:52 
GeneralRe: show text in statusbar Pin
jmkhael30-Sep-02 5:31
jmkhael30-Sep-02 5:31 
GeneralCFileDialog question Pin
Brakanjan30-Sep-02 4:38
Brakanjan30-Sep-02 4:38 
GeneralRe: CFileDialog question Pin
jmkhael30-Sep-02 5:04
jmkhael30-Sep-02 5:04 
GeneralRe: CFileDialog question Pin
Brakanjan30-Sep-02 5:26
Brakanjan30-Sep-02 5:26 
Generalcatch block and 'return' Pin
ns30-Sep-02 4:33
ns30-Sep-02 4:33 
GeneralRe: catch block and 'return' Pin
Chris Losinger30-Sep-02 4:38
professionalChris Losinger30-Sep-02 4:38 

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.