Click here to Skip to main content
15,909,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDialog OnPaint flicker Pin
JWood8-Sep-03 13:30
JWood8-Sep-03 13:30 
GeneralRe: Dialog OnPaint flicker Pin
John M. Drescher8-Sep-03 18:28
John M. Drescher8-Sep-03 18:28 
GeneralRe: Dialog OnPaint flicker Pin
JWood9-Sep-03 3:41
JWood9-Sep-03 3:41 
GeneralRe: Dialog OnPaint flicker Pin
John M. Drescher9-Sep-03 3:56
John M. Drescher9-Sep-03 3:56 
Generaldialog scroll bars Pin
Marissa1828-Sep-03 13:07
Marissa1828-Sep-03 13:07 
GeneralOnEndlabeleditTree () Pin
Binayak8-Sep-03 12:06
Binayak8-Sep-03 12:06 
GeneralRe: OnEndlabeleditTree () Pin
Phil Hamer8-Sep-03 14:59
Phil Hamer8-Sep-03 14:59 
GeneralExcel automation Pin
act_x8-Sep-03 11:34
act_x8-Sep-03 11:34 
from the code from MSDN i was able to open Excel and write to it. I would like a few more changes which I am not very sure as to how to implement .

1. How do i provide a fileName at the beginning instead of creating a new one and add data to a file . As of now I am creating a new WorkBook like

Workbooks books = app.GetWorkbooks();<br />
_Workbook book = books.Add(covOptional);

I want to be able to open an xls file as the current workbook and make changes to it !


2. I have a scenario where I have a lot of dynamic data in a tabular format(in a Grid control) in my Vc++ dialog application .I realise that I need to have a safearray , poplulate it with the data I need and then tie it to the range .

Do I have to precalculate the range that I am gonna be writing ? If yes then do I always need to Get a range using excel notation like
A-F ,AA-Af , BA-Bf and so on . That means that i might have to have some kind of mapping between my tables column number to the excel notation . Any efficient ways of doing this in case there is no other way out ?

if not i assume i can specify the range as absolute column numbers starting from 0 till the count of columns in the table i wish to export .

please advise .
GeneralRe: Excel automation Pin
Steve S8-Sep-03 22:15
Steve S8-Sep-03 22:15 
Generaldodgy communication is back Pin
godbert8-Sep-03 11:17
godbert8-Sep-03 11:17 
GeneralDeveloping software for Win2k+ Pin
John M. Drescher8-Sep-03 11:11
John M. Drescher8-Sep-03 11:11 
GeneralRe: Developing software for Win2k+ Pin
valikac8-Sep-03 12:34
valikac8-Sep-03 12:34 
GeneralRe: Developing software for Win2k+ Pin
Dangleberry8-Sep-03 22:50
sussDangleberry8-Sep-03 22:50 
GeneralRe: Developing software for Win2k+ Pin
Dangleberry8-Sep-03 22:51
sussDangleberry8-Sep-03 22:51 
QuestionCRichEditCtrl -- current column? Pin
mcguile2578-Sep-03 10:56
mcguile2578-Sep-03 10:56 
AnswerRe: CRichEditCtrl -- current column? Pin
Phil Hamer8-Sep-03 14:53
Phil Hamer8-Sep-03 14:53 
QuestionHow to restart my application? Pin
julych8-Sep-03 10:31
julych8-Sep-03 10:31 
AnswerRe: How to restart my application? Pin
geo_m9-Sep-03 7:23
geo_m9-Sep-03 7:23 
GeneralRunning a CGI-bin Pin
Juan Carlos Cobas8-Sep-03 10:28
Juan Carlos Cobas8-Sep-03 10:28 
GeneralRe: Running a CGI-bin Pin
Anonymous8-Sep-03 10:57
Anonymous8-Sep-03 10:57 
GeneralRe: Running a CGI-bin Pin
Juan Carlos Cobas8-Sep-03 11:03
Juan Carlos Cobas8-Sep-03 11:03 
GeneralRe: Running a CGI-bin Pin
Anonymous8-Sep-03 11:19
Anonymous8-Sep-03 11:19 
GeneralRe: Running a CGI-bin Pin
Juan Carlos Cobas8-Sep-03 12:06
Juan Carlos Cobas8-Sep-03 12:06 
GeneralRe: Running a CGI-bin Pin
Ian Darling8-Sep-03 23:29
Ian Darling8-Sep-03 23:29 
GeneralRe: Running a CGI-bin Pin
antlers9-Sep-03 9:30
antlers9-Sep-03 9:30 

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.