Click here to Skip to main content
15,115,787 members
Home / Discussions / C#
   

C#

 
QuestionHow do I populate child elements in XML? Pin
Magela26-Feb-13 13:56
MemberMagela26-Feb-13 13:56 
AnswerRe: How do I populate child elements in XML? Pin
Mangal Deep Gupta27-Feb-13 0:24
MemberMangal Deep Gupta27-Feb-13 0:24 
GeneralRe: How do I populate child elements in XML? Pin
Magela27-Feb-13 5:26
MemberMagela27-Feb-13 5:26 
AnswerRe: How do I populate child elements in XML? Pin
Jegan Thiyagesan27-Feb-13 5:31
MemberJegan Thiyagesan27-Feb-13 5:31 
GeneralRe: How do I populate child elements in XML? Pin
Magela27-Feb-13 5:38
MemberMagela27-Feb-13 5:38 
QuestionOffice Development problems Pin
Daytona67526-Feb-13 12:32
MemberDaytona67526-Feb-13 12:32 
AnswerRe: Office Development problems Pin
Matt T Heffron26-Feb-13 12:58
professionalMatt T Heffron26-Feb-13 12:58 
AnswerRe: Office Development problems Pin
Jegan Thiyagesan27-Feb-13 6:04
MemberJegan Thiyagesan27-Feb-13 6:04 
Hi,
it sounds like the "chartShape.OLEFormat.ProgID" has not been initialised in you oDoc reference.

you need to put a break point at the first line of this method, open the local window and check that the oDoc is actually has valid
index to access the "oDoc.InlineShapes[intIndex]", if it has, check that the ProgID has been set to something.

Also you may use the reference equality ".Equals()" instead of operator equality "==" for checking references.

Regards
Jegan
Think! Don't write a line of code unless you absolutely need to.

GeneralRe: Office Development problems Pin
Matt T Heffron27-Feb-13 10:32
professionalMatt T Heffron27-Feb-13 10:32 
GeneralRe: Office Development problems Pin
Jegan Thiyagesan27-Feb-13 12:57
MemberJegan Thiyagesan27-Feb-13 12:57 
QuestionTab Delimited file to sql database Pin
gavindon26-Feb-13 11:03
Membergavindon26-Feb-13 11:03 
AnswerRe: Tab Delimited file to sql database Pin
Matt T Heffron26-Feb-13 11:27
professionalMatt T Heffron26-Feb-13 11:27 
GeneralRe: Tab Delimited file to sql database Pin
gavindon26-Feb-13 12:25
Membergavindon26-Feb-13 12:25 
QuestionListbox colours. Pin
Septimus Hedgehog26-Feb-13 8:35
MemberSeptimus Hedgehog26-Feb-13 8:35 
AnswerRe: Listbox colours. Pin
Alan N26-Feb-13 9:40
MemberAlan N26-Feb-13 9:40 
AnswerRe: Listbox colours. Pin
Dave Kreskowiak26-Feb-13 10:05
mveDave Kreskowiak26-Feb-13 10:05 
GeneralRe: Listbox colours. Pin
Septimus Hedgehog26-Feb-13 23:59
MemberSeptimus Hedgehog26-Feb-13 23:59 
GeneralRe: Listbox colours. Pin
Dave Kreskowiak27-Feb-13 2:01
mveDave Kreskowiak27-Feb-13 2:01 
GeneralRe: Listbox colours. Pin
Septimus Hedgehog27-Feb-13 6:39
MemberSeptimus Hedgehog27-Feb-13 6:39 
Questioncan floats be multiplied and come up with a fraction? Pin
notahack26-Feb-13 7:01
Membernotahack26-Feb-13 7:01 
AnswerRe: can floats be multiplied and come up with a fraction? Pin
Richard Deeming26-Feb-13 7:15
mveRichard Deeming26-Feb-13 7:15 
AnswerRe: can floats be multiplied and come up with a fraction? Pin
Richard MacCutchan26-Feb-13 7:26
mveRichard MacCutchan26-Feb-13 7:26 
AnswerRe: can floats be multiplied and come up with a fraction? Pin
notahack26-Feb-13 7:35
Membernotahack26-Feb-13 7:35 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
Richard Deeming26-Feb-13 8:39
mveRichard Deeming26-Feb-13 8:39 
GeneralRe: can floats be multiplied and come up with a fraction? Pin
notahack26-Feb-13 8:44
Membernotahack26-Feb-13 8:44 

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.