[Mono-list] How apply the translation to a project
Hello! I see that with MonoDevelop is possible to add a translation project to you your project, i translated all words in that, but when i executing the exe on windows ( or on linux ), there is no trace of translation how apply it? thanks! -- View this message in context: http://www.nabble.com/How-apply-the-translation-to-a-project-tp23314897p23314897.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] shell another mono app with ProcessStartInfo
Hello! i have a problem to run another mono application, i need to run mono before that, with a command like this with ProcessStartInfo: C:\\Programmi\\Mono-2.4\\bin\\mono.exe C:\\Programmi\\x.exe with ProcessStartInfo, but it don' t load C:\\Programmi\\x.exe and don' t return any error thanks for help! -- View this message in context: http://www.nabble.com/shell-another-mono-app-with-ProcessStartInfo-tp23242099p23242099.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] shell another mono app with ProcessStartInfo
i have find one part of the solution: private static void Start(){ ProcessStartInfo ps = new ProcessStartInfo (C:\\Programmi\\Mono-2.4\\bin\\mono.exe,C:\\Programmi\\x.exe); ps.WorkingDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); ps.UseShellExecute = false; ps.RedirectStandardOutput = true; Process p = Process.Start (ps); } but if i close the console application that run this code, the second application ( x.exe ) will be closed so i have two possible solution 1) hide the console application 2) make indipendent the second application i have no idea how i can do... -- View this message in context: http://www.nabble.com/shell-another-mono-app-with-ProcessStartInfo-tp23242099p23242296.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] HTTP file download
Hello, is possible with C# / Mono download a file from an HTTP server ? if yes, how ? my code is this: private string SocketSendReceive(string url){ int i=0; while(iurl.Length url[i]!='/'){ i++; } string server=url.Substring(0,i); string request = GET +url.Substring(i)+ HTTP/1.1\r\nHost: + server + \r\nConnection: Close\r\n\r\n; Byte[] bytesSent = Encoding.ASCII.GetBytes(request); Byte[] bytesReceived = new Byte[1024]; Socket s = ConnectSocket(server, 80); if (s == null){ return (Connection failed); } s.Send(bytesSent, bytesSent.Length, 0); int bytes = 0; string page = null; do { bytes = s.Receive(bytesReceived, bytesReceived.Length, 0); page = page + Encoding.ASCII.GetString(bytesReceived, 0, bytes); }while (bytes 0); i=2; while(ipage.Length !(page[i-2]=='\n' page[i]=='\n')){ i++; } if(page[page.Length-1]=='\n'){ return page.Substring(++i,page.Length-i-1); } return page.Substring(++i); } -- it return the correct value of a web-page, but if i try to download a zip file ( my target ), it will get the file in the string, but is not the perfect same and the unzip will not work so my question is what can i do? -- View this message in context: http://www.nabble.com/HTTP-file-download-tp23224875p23224875.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list