N-Tier Architecture and OData
I'm trying to decide on an application architecture for a data driven application. My application will be available to any number of businesses, but each business should only be able to access their...
View ArticleRead the Instances of TeamFoundation in Registry.
Hi,I want Team Foundation Servers List that the user is connected to. Once connected We can find these entries in the registry and hence wanted to read the registry to get the URL's of the servers.The...
View ArticleHow to make a program x^n in C# ?
I have a situation that i have two textboxes in first textbox i tak number and in second textbox i take a power i have a label which shows the answerwhen a button is clicked ....
View ArticleHow does "TypeDescriptor" work (II)?
Continued From : http://social.msdn.microsoft.com/Forums/vstudio/en-US/ea308f43-7487-4575-99bc-ac30a0278f77/how-does-typedescriptor-workNow I wanna ask you deeply about this problem:1) If I add the...
View ArticleMy Game in C# - How to release unused memory? -2nd part
Hello Boys and LadiesI started a thread a few days ago, 3 boys replied, and then I tried 3 or 4 times to reply in the thread, after them, and I could not.My problem was solved, so I thank you very...
View ArticleHow to add strings to a new file ?
This is the code:private void InsertContent() { StreamReader r = new StreamReader(localTextFile); StreamWriter w = new StreamWriter(@"D:\localscrambledfile.txt"); string f = r.ReadToEnd(); int index =...
View ArticleActiveX Fails to Find Resources When Embedded in a Web Page
Hi All,We have an ActiveX control embedded on a web page which fails to load the resources.We have discovered that if you copy everything to the Internet Explorer Program Files directory then it will...
View Articledeployment of winform application with sql server 2008
i'm trying to publish my winform application on 4.0 .net framework with sql server data source and crystal report i've data source with 1 dataset which i've imported from server explorer and it's in...
View ArticleUsing FtpWebRequest all of a sudden gives me this error "The Requested FTP...
Hi!For a long time ago I wrote a program in .NET 2.0 that simply should upload/download files to/from an FTP server.The program is running on Windws 7 with internet explorer 9. The admin had made a...
View ArticleWhy 64 bits app with double is slower than my 32 bits app?
Hello, I execute this simple program on win7 and win8 in 32 bits and 64bits why the 64 bits version is significantly slower than 32 bits? It is 3 times slower on double and float... Am I doing...
View Articlehow to find the index of the first unmatched parenthesis in a string
I want to find the zero-based index of the first unmatched parenthesis in a string. For example, if I have a string "(1*(2+3))))" it should return 9. How do I do this?
View ArticleCodes not generate the file properly
Hi, I don't know why these codes below are not creating any .xml file when I run the project. string FILENAME = Server.MapPath("~") + "..\\..\\xml\\common.xml";...
View ArticleParallel.For error
I have made my program parallel with following code but i am getting following errorprivate void button2_Click(object sender, EventArgs e) { if (saveFileDialog1.ShowDialog() ==...
View ArticleMetodo All (Arrays)
Tengo un método que realmente no se como funciona. La linea es la siguiente: bool A = t.All(numero => (numero < 16));t es una matriz que contiene 10 números, y la condición que necesito...
View ArticleC# windows app running with multiple instances for same user on 2008 R2 RDS...
Ok, here's the scenario...We have C# GUI app on w28 R2 RDS server. Multiple users log on to this server to use the application. I've not noticed any issues with that part so far. When UserA logs in...
View Articleread .pdf file
Hi, At present, my code can access a .pdf file and read a few properties. Question: How is it possible to extend my c# code so that I can read the text inside txtLastname control which is on the second...
View ArticleIllegal characters in path.
I want to consume a service at http://www.esvapi.org/api/#sample. The sample code in the link isC# REST StringBuilder sUrl = new StringBuilder();...
View ArticleDatagrideview
What is the maximum value of the column[i] in the data grid view code would have occurred
View Article