Click here to Skip to main content

VS 2012/2013 & .NET 4.5.1

 
AnswerRe: Access Mail app from other Metro App PinmemberFarhan Ghumra14-Jun-12 23:08 
AnswerRe: Access Mail app from other Metro App PinmemberFarhan Ghumra25-Jul-12 19:06 
QuestionHow to create an xml file dynamically in metro app? Pinmemberprashanth_mp21-Mar-12 23:21 
AnswerRe: How to create an xml file dynamically in metro app? PinprotectorPete O'Hanlon21-Mar-12 23:37 
GeneralRe: How to create an xml file dynamically in metro app? Pinmemberprashanth_mp21-Mar-12 23:54 
GeneralRe: How to create an xml file dynamically in metro app? PinprotectorPete O'Hanlon22-Mar-12 0:27 
GeneralRe: How to create an xml file dynamically in metro app? Pinmemberprashanth_mp23-Mar-12 5:48 
AnswerRe: How to create an xml file dynamically in metro app? PinmemberSentenryu30-Apr-12 9:49 
if you take a look on the error message you will see that the xml.Save() method take a Stream and not a String as a parameter, so, you need to create a Stream and pass it to the Save method
 
here's documentation about the FileStream: http://msdn.microsoft.com/en-us/library/system.io.filestream.aspx[^]
 
if you are used to the StreamWriter, you can create one and pass the BaseStream Property (http://msdn.microsoft.com/en-us/library/system.io.streamwriter.basestream.aspx[^]) to the Save() method
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)

GeneralRe: How to create an xml file dynamically in metro app? Pinmemberabhishek namdev28-Mar-12 2:02 
AnswerRe: How to create an xml file dynamically in metro app? PinmemberDARSHAN MODANI8-Apr-12 21:40 
NewsNew look and fell of VS 11 PinmemberPawel Gielmuda20-Feb-12 2:25 
QuestionImport XLSX Data to excel PinmemberMichielc13-Feb-12 0:13 
AnswerRe: Import XLSX Data to excel PinprotectorPete O'Hanlon13-Feb-12 0:31 
Questionlooking for wpf/wcf chat application with webcam Pinmemberiadh00928-Jan-12 1:47 
Questionwindows automation Pinmembersathya nandhakmar16-Jan-12 20:27 
AnswerRe: windows automation PinprotectorPete O'Hanlon16-Jan-12 22:30 
AnswerRe: windows automation PinmemberAlbert Holguin18-Jan-12 14:46 
QuestionGet a list of network group names of a folder PinmemberMember 857249016-Jan-12 17:42 
AnswerRe: Get a list of network group names of a folder PinprotectorPete O'Hanlon16-Jan-12 22:30 
Questiondownload attachment file Pinmemberashu_dhiman8-Jan-12 20:09 
AnswerRe: download attachment file PinprotectorPete O'Hanlon8-Jan-12 20:35 
AnswerRe: download attachment file Pinmembersariana10-Jan-12 18:54 
QuestionXBRL Query Pinmembermauricemcse6-Jan-12 9:50 
QuestionLocal Access Database binding to Textboxes VS2011 VB.NET with Win 8 dev preview Pinmembermeace12345-Jan-12 23:43 
Questionrunning assembly in visual studio 2010? PinmemberMeer Sadaf Naeem28-Dec-11 17:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140926.1 | Last Updated 22 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid