Click here to Skip to main content
12,999,633 members (46,616 online)

Visual Studio 2015 & .NET 4.6

 
GeneralRe: How to create an xml file dynamically in metro app? Pin
prashanth_mp21-Mar-12 23:54
memberprashanth_mp21-Mar-12 23:54 
GeneralRe: How to create an xml file dynamically in metro app? Pin
Pete O'Hanlon22-Mar-12 0:27
protectorPete O'Hanlon22-Mar-12 0:27 
GeneralRe: How to create an xml file dynamically in metro app? Pin
prashanth_mp23-Mar-12 5:48
memberprashanth_mp23-Mar-12 5:48 
AnswerRe: How to create an xml file dynamically in metro app? Pin
Sentenryu30-Apr-12 9:49
memberSentenryu30-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? Pin
abhishek namdev28-Mar-12 2:02
memberabhishek namdev28-Mar-12 2:02 
AnswerRe: How to create an xml file dynamically in metro app? Pin
DARSHAN MODANI8-Apr-12 21:40
memberDARSHAN MODANI8-Apr-12 21:40 
NewsNew look and fell of VS 11 Pin
Pawel Gielmuda20-Feb-12 2:25
memberPawel Gielmuda20-Feb-12 2:25 
QuestionImport XLSX Data to excel Pin
Michielc13-Feb-12 0:13
memberMichielc13-Feb-12 0:13 
AnswerRe: Import XLSX Data to excel Pin
Pete O'Hanlon13-Feb-12 0:31
protectorPete O'Hanlon13-Feb-12 0:31 
Questionlooking for wpf/wcf chat application with webcam Pin
iadh00928-Jan-12 1:47
memberiadh00928-Jan-12 1:47 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 19 Jun 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid