Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CSocket::OnReceive Question Pin
jmkhael2-Oct-02 8:15
jmkhael2-Oct-02 8:15 
GeneralRe: CSocket::OnReceive Question Pin
jparsons2-Oct-02 11:21
jparsons2-Oct-02 11:21 
GeneralRe: CSocket::OnReceive Question Pin
jmkhael2-Oct-02 21:44
jmkhael2-Oct-02 21:44 
GeneralIXMLDOMNode as an idl parameter Pin
nlecren2-Oct-02 8:05
nlecren2-Oct-02 8:05 
GeneralRe: IXMLDOMNode as an idl parameter Pin
Stephane Rodriguez.2-Oct-02 9:06
Stephane Rodriguez.2-Oct-02 9:06 
GeneralRe: IXMLDOMNode as an idl parameter Pin
nlecren2-Oct-02 9:21
nlecren2-Oct-02 9:21 
GeneralRe: IXMLDOMNode as an idl parameter Pin
Stephane Rodriguez.2-Oct-02 9:42
Stephane Rodriguez.2-Oct-02 9:42 
GeneralProblem automating Excel Pin
Anonymous2-Oct-02 7:43
Anonymous2-Oct-02 7:43 
Hello:

I'm having problems trying to add a serie to a chart. This piece of code illustrates my problem:


_ChartPtr pChart= pCharts->Item["G1"]; // Get an existing chart (OK)

_WorksheetPtr pWorksheet= pWorksheets->Item["S1"]; // Get an existing worksheet (OK)

SeriesCollectionPtr pSeries= pChart->SeriesCollection(); // Get its series collection (OK)

RangePtr pRangeSector1= pWorksheet->Range["$C$5:$C$8"]; // Get a worksheet range (OK)

// I am only trying one of these lines

// Line 1
SeriesPtr pSerie1= pSeries->Add((IDispatch *)pRangeSector1, Excel::xlColumns); // Try to add a serie (exception launched)

// Line 2
SeriesPtr pSerie2= pSeries->Add("C5:C8", Excel::xlColumns); // Try to add a serie (exception launched)

Where is the mistake?

Thanks in advance.


GeneralSmart Pointer question Pin
User 98852-Oct-02 7:40
User 98852-Oct-02 7:40 
Generalmap object in STL Pin
ns2-Oct-02 7:33
ns2-Oct-02 7:33 
GeneralRe: map object in STL Pin
Marc Britten2-Oct-02 7:38
Marc Britten2-Oct-02 7:38 
GeneralRe: map object in STL Pin
ns2-Oct-02 7:47
ns2-Oct-02 7:47 
GeneralRe: map object in STL Pin
Chris Losinger2-Oct-02 7:41
professionalChris Losinger2-Oct-02 7:41 
GeneralRe: map object in STL Pin
ns2-Oct-02 7:48
ns2-Oct-02 7:48 
QuestionIs there a way to send a script file to a server and run it there in VC++ code? Pin
Anonymous2-Oct-02 7:21
Anonymous2-Oct-02 7:21 
AnswerRe: Is there a way to send a script file to a server and run it there in VC++ code? Pin
TyMatthews2-Oct-02 10:54
TyMatthews2-Oct-02 10:54 
GeneralCatch image bar under the mouse Pin
progman2-Oct-02 6:59
progman2-Oct-02 6:59 
Generalmakeing VC project with MINGW Pin
sagmam2-Oct-02 6:49
sagmam2-Oct-02 6:49 
GeneralRe: makeing VC project with MINGW Pin
Mike Eriksson2-Oct-02 21:18
Mike Eriksson2-Oct-02 21:18 
GeneralSTL queue Pin
JohnnyG2-Oct-02 6:32
JohnnyG2-Oct-02 6:32 
GeneralRe: STL queue Pin
TyMatthews2-Oct-02 9:04
TyMatthews2-Oct-02 9:04 
GeneralRe: STL queue Pin
JohnnyG2-Oct-02 10:16
JohnnyG2-Oct-02 10:16 
GeneralRe: STL queue Pin
TyMatthews2-Oct-02 10:34
TyMatthews2-Oct-02 10:34 
GeneralGetting an HWND from an HINSTANCE Pin
Harold Bamford2-Oct-02 6:21
Harold Bamford2-Oct-02 6:21 
GeneralRe: Getting an HWND from an HINSTANCE Pin
Phil J Pearson2-Oct-02 7:14
Phil J Pearson2-Oct-02 7:14 

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.