Hi again & thank you for the answers
@Robert
i have done the following which also works:
StreamReader stream = new StreamReader(new FileStream("C:\\Users\\Shorty\\documents\\visual studio 2010\\Projects\\...client.sqlite", FileMode.Open)
string a = stream.ReadLine() + " gelesen";
FileStream f = File.Create("C:\\Users\\Shorty\\documents\\visual studio 2010\\Projects\\....Test.txt");
StreamWriter writer = new StreamWriter(f);
writer.WriteLine("testing");
writer.Close();
The only problem i encountered here was that i couldn't flush the streams without getting System.ServiceModel.CommunicationException & System.Net.WebException again.....
EDIT: Just tried to open a File to append some data.....works also
@lucwuyts
I think you wanted to point me at
HttpServerUtility u = HttpContext.Current.Server;
string a = u.MapPath(@"~/ClientBin");
right ?
However i'm getting System.ServiceModel.CommunicationException & System.Net.WebException at the first line.
I know it's difficult to help her, so if you have any question that could help you i'll just answer as fast as i can...
A general question: Can i use my sqlite file for example from the desktop or do i have to add it to my App_Data folder and adress it anywhere in my webproject ?
If somebody has already used sqlite with Silverlight 4., i would be very thankful for a step to step description and information about the used folders (concerning user permissions etc.)
Regards,
Tobi