Hello :0) I have a little artificial intelligence in C# and I have a code to create a file in a directory and place some text in it. It works on my AI in my pc but not online on that same AI's site... The code is below:
where:
*
*
*
It works perfectly on my pc but not online... Can you help me? I made this AI to make my daughter laugh and try to interest her in the IT profession. Personally I'm a clown in programming lol and I need help.
Friendly
Sy
C#:
System.IO.StreamWriter sw = new System.IO.StreamWriter(vars["Dircsv"]+ vars["name_letter"] + ".csv", true);
sw.WriteLine("Name,"+"Infos "+","+vars["name_letter"]+", "+vars["type_text"]);
sw.Flush();
sw.Close();
where:
*
vars["Dircsv"]
is the path where I want to put the file*
vars["name_letter"]
is the file name*
var["type_text"]
is the text I want to put in my file.It works perfectly on my pc but not online... Can you help me? I made this AI to make my daughter laugh and try to interest her in the IT profession. Personally I'm a clown in programming lol and I need help.
Friendly
Sy
Last edited by a moderator: