- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Motor Cycling
12 Posted Topics
Re: Hi Fiascor, Firstly the first form needs to locate the second form. This can be done using a Form collection. [CODE]Application.OpenForms[/CODE] We get only the Form2 instances using [CODE]Application.OpenForms.OfType<Form2>()[/CODE] If there is a chance there will be more than one then use something like [CODE]Application.OpenForms.OfType<Form2>().First()[/CODE] The button and its properties … | |
Re: How about a series of speed tests to assess data access. Relational databases; SQL Server, MS Access, MYSql. Text based; XML, CSV, JSon. Google's Big Table, Amazon SimpleDB. There are cloud database solutions. You could choose as many as you wanted and felt comfortable with. Work out the tests - … | |
Re: Once you have the formula run through each parameter to replace it: formula.Replace("S1", txt_subject1.Text).Replace("S2", txt_subject2.Text) .... Using a formula was discussed here: http://stackoverflow.com/questions/333737/c-sharp-evaluating-string-342-yield-int-18 So use something like: DataTable dt = new DataTable(); var result = dt.Compute(formula,""); Console.WriteLine(result.ToString()); | |
Re: I have used the code from here in a winforms project years ago. Worked excellently. http://www.codeproject.com/Articles/13909/SoundPlayer-bug-Calling-unmanaged-APIs | |
With things slowing down now for Christmas I wish I was the other side of this issue... I believe this is an ASP.net config / web server config issue and I don't quite know where to go from here. I have a two virtual servers; SQL1, WEB1. A web site … | |
Hello, Thank you for reading. I generally spend time with the C# forum but today have an admin issue... I have a two virtual servers; SQL1, WEB1. A web site on WEB1 is using Windows authentication. This appears to work correctly - querying the active directory on SQL1 (domain is … | |
Re: Hi there, You will need to listen to all the windows messages and find the one(s) you want. If it is a paste command then you might need to capture the event - copy what ever you need into the clipboard then let the original target app pick up the … | |
Re: Hi there. For completeness I agree it would be good to find the reason. Could you try instantiating the pdfDocument within the method? It gets disposed of here but the existing reference from the calling code could be putting a spanner in the works. If this does not work then … | |
Re: The process is automatic once the reference has been dropped. The garbage collector sorts the memory out. You can however manually force it to collect. [url]http://www.developer.com/net/csharp/article.php/3343191/C-Tip-Forcing-Garbage-Collection-in-NET.htm[/url] You would need to do some timings to work out whether or not manually forcing it will be quicker than the heavily optimised automatic … | |
Re: A year or two ago I had a problem with DirectX audio. They did not have a 64 bit release. This could be the case for your third party DLLs depending on their age. A solution is to have the main app compiled in 32bit (rather than any CPU) then … | |
Re: Hi, scdr when it is in the while loop contains the data you need. Just access it like: scdr("ID") (although you might want to test it for null if it is nullable). I suggest you then pass the information via a custom constuctor to the PeopleBox. In this example the … | |
Re: Hi there, If I have understood your question then the answer is to use something like: lvi.SubItems[2].text This would return the 0 for the list view item. Hope this helps. Nicholas |
The End.