Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
QuestionCollection editor Pin
shabanab3-Sep-09 0:02
shabanab3-Sep-09 0:02 
QuestionHow to implement AxMSChart? Pin
puppya2-Sep-09 23:59
puppya2-Sep-09 23:59 
AnswerRe: How to implement AxMSChart? Pin
stancrm3-Sep-09 0:09
stancrm3-Sep-09 0:09 
GeneralRe: How to implement AxMSChart? Pin
puppya3-Sep-09 0:26
puppya3-Sep-09 0:26 
GeneralRe: How to implement AxMSChart? Pin
stancrm3-Sep-09 0:47
stancrm3-Sep-09 0:47 
GeneralRe: How to implement AxMSChart? Pin
Dave Kreskowiak3-Sep-09 6:46
mveDave Kreskowiak3-Sep-09 6:46 
GeneralRe: How to implement AxMSChart? Pin
puppya3-Sep-09 18:08
puppya3-Sep-09 18:08 
QuestionCannot save changes to code programatically Pin
rastaVnuce2-Sep-09 23:56
rastaVnuce2-Sep-09 23:56 
I'm writing a VS add-on which, on activation, is supposed to add a couple of attributes in the App.xaml.
The problem I get is, when App.xaml is opened for editing, everything works fine.
But, if App.xaml isn't opened the changes aren't saved. I went through the code, it still goes through it like it should, it adds the attributes like it should, it even executes the line of code that's supposed to save the changes, except... changes aren't saved Frown | :(
This is an overview of what i do:

<br />
codeState.editPoint.StartOfDocument();<br />
string xmlText = codeState.editPoint.GetText(codeState.textDoc.EndPoint);<br />
<br />
--- add a couple of attributes using XmlDocuments<br />
--- save the changes into a memory stream<br />
<br />
codeState.editPoint.ReplaceText(codeState.textDoc.EndPoint, reader.ReadToEnd(), 0);<br />


Any ideas why?

Where it seems there are only borderlines, Where others turn and sigh, You shall rise!

AnswerRe: Cannot save changes to code programatically Pin
stancrm3-Sep-09 0:55
stancrm3-Sep-09 0:55 
GeneralRe: Cannot save changes to code programatically Pin
rastaVnuce3-Sep-09 0:59
rastaVnuce3-Sep-09 0:59 
GeneralRe: Cannot save changes to code programatically Pin
Richard MacCutchan3-Sep-09 2:37
mveRichard MacCutchan3-Sep-09 2:37 
Questionpass multiplae parameter in crystal report Pin
mjawadkhatri2-Sep-09 23:20
mjawadkhatri2-Sep-09 23:20 
AnswerRe: pass multiplae parameter in crystal report Pin
Calla3-Sep-09 0:44
Calla3-Sep-09 0:44 
GeneralRe: pass multiplae parameter in crystal report Pin
OriginalGriff3-Sep-09 1:06
mveOriginalGriff3-Sep-09 1:06 
QuestionXElement vs XmlWriter Question Pin
Programm3r2-Sep-09 23:03
Programm3r2-Sep-09 23:03 
AnswerRe: XElement vs XmlWriter Question Pin
Keith Barrow2-Sep-09 23:28
professionalKeith Barrow2-Sep-09 23:28 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r2-Sep-09 23:37
Programm3r2-Sep-09 23:37 
GeneralRe: XElement vs XmlWriter Question Pin
Keith Barrow2-Sep-09 23:43
professionalKeith Barrow2-Sep-09 23:43 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r3-Sep-09 0:31
Programm3r3-Sep-09 0:31 
AnswerRe: XElement vs XmlWriter Question Pin
Programm3r3-Sep-09 1:42
Programm3r3-Sep-09 1:42 
GeneralRe: XElement vs XmlWriter Question Pin
Keith Barrow3-Sep-09 2:15
professionalKeith Barrow3-Sep-09 2:15 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r3-Sep-09 3:21
Programm3r3-Sep-09 3:21 
QuestionUpdate the XElement - Question Pin
Programm3r3-Sep-09 5:04
Programm3r3-Sep-09 5:04 
AnswerRe: XElement vs XmlWriter Question Pin
PIEBALDconsult3-Sep-09 6:30
mvePIEBALDconsult3-Sep-09 6:30 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r7-Sep-09 2:20
Programm3r7-Sep-09 2:20 

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.