- Strength to Increase Rep
- +15
- Strength to Decrease Rep
- -3
- Upvotes Received
- 722
- Posts with Upvotes
- 609
- Upvoting Members
- 277
- Downvotes Received
- 37
- Posts with Downvotes
- 37
- Downvoting Members
- 20
Started programming in 1977 with BASIC. Moved on to COBOL, FORTRAN, 8080/8085 Assembly, 6502 Assembly, APL, Forth, Pascal, C/C++, Ada, Perl, Java, AWK/SED, OPL, PHP, VB, Javascript, Lisp, C#, F# and I've dabbled in a few others.--- Currently Reading…
- Interests
- MMORPG, Caving, Guitar, Digital Photography
- PC Specs
- Windows Server 2008 R2, Windows 7, AMD Phenom II X4, 8GB memory, 2TB Disk space
Re: Web designers make all the pretty little pictures and layout for the website. They specialize in graphics and UI design. Web developers make the site actually do something. They specialize in writing the code that makes websites. IMHO, YMMV, VWP. | |
Re: OleDB doesn't handle the SQL query at all, it just passes it to the database. So I don't understand why you think a where clause won't work, unless your database doesn't support them. | |
| Re: I've done COBOL to C and as the previous poster mentioned, the reporting was the hardest. The conversion was pretty much straight forward as both are procedural based languages and you can convert it line by line. Doing so in an OO language would be more involved. BTW, this was … |
Re: Of course it doesn't work, you are parsing en-US as es-ES. You need to do the parse first, then convert cultures for output. [code]String tmep = "123.45"; Decimal value = Decimal.Parse(test, system.Globalization.CultureInfo.InvariantCulture); System.Windows.Forms.MessageBox.Show("New value: " + value);[/code] This should work, it's hard to test because my UI culture is en-US … | |
Re: Just call [icode]this.Invalidate();[/icode] in your timer event handler. It will cause the form to redraw. You'll probably get flickering though, so you should look into bitmaps and how to draw on one while showing another. | |
Re: It's possible that some of the formatting codes are confusing MySql. You don't say where you get the error though. Have you looked at what [I]richTextBox1.Rft[/I] contains and compared it to what [I]rtfText[/I] contains? | |
Re: Wrong post. | |
Re: You need some sort of indicator to tell you which string to use [code]String str1; String str2; Boolean UseStringOne = true; private void button1_Click(object sender, EventArgs e) { if (UseStringOne) { str1 = textBox1.Text; } else { str2 = textBox1.Text; } textBox1.Text = String.Empty; UseStringOne = UseStringOne ? false : … | |
| Re: You'll need to make a collection of the clients then loop through the collection and send your message. |
[B]Expression evaluation using Emit[/B] This class was designed to evaluate simple mathematical expressions. But instead of developing a routine to do the calculating, we use Emit to dynamically build a method that does the math for us. IMPORTANT: This is done with integer math. 7/2*3 = 9, not 10.5 (or … | |
Re: [URL="http://download.oracle.com/javase/1.5.0/docs/api/java/math/BigInteger.html#toString%28%29"]BigInteger.ToString()[/URL] not working for you? | |
Re: This algorithm supports key lengths from 128 bits to 192 bits in increments of 64 bits. Your key 'jazerix' only has 56 bits. | |
Re: Do you mean to the ColorDialog? If so, it has a CustomColors property and the default value of the form background is 15790320. The Argb values are 255, 240, 240, 240. The HSB values are 0, 2.980232E-08, 0.9411765 | |
Re: A sealed class cannot be derived from, you can't inherit from it. An abstract class must be derived from, you have to inherit from it and create the missing methods. | |
Re: What exception does it give you, exactly? Don't paraphrase it, copy and paste it here. | |
Re: You'll have to: Capture image from camera. Send image to receiver. First part should be fairly easy. The second part isn't that hard until you realize you are getting lousy FPS. Then you'll have to look at some way of compressing the image information (differential imaging is one way). The … | |
Re: Do you mean ASCII? Code page 1250 is Central European, which is still unicode. If you really mean ASCII, you want to change line 9 to [icode]Encoding.ASCIIEncoding[/icode]. ANSI is a standards setting organization, and there is no ANSII. | |
Re: [code]TabPage tab1 = myTabControl.TabPages["CaseDetails"];[/code] | |
Re: You can develop C# code that will run on i-stuff, android and windows phone using the [xamarin](http://xamarin.com/) stuff | |
Re: http://csharp-source.net/open-source/ides | |
| Re: [code]comboBox1.DataSource = new BindingSource(parameters, null); comboBox1.DisplayMember = "Key"; comboBox1.ValueMember = "Value";[/code] |
Re: A static method is accessed through the class itself. Non-static through an instance of the class public class Junk { public static String Name() { return "My name is Junk"; } public String OtherName() { return "I'm not static!"; } } In this sample, we can call the static method … | |
Re: [URL="http://msdn.microsoft.com/en-us/library/system.collections.arraylist.aspx"]ArrayList[/URL] stores everything as an object, and when you retrieve the value you have to cast it back into the actual object type if you want to use any of the objects methods, etc. [URL="http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx"]List<T>[/URL] is a generic container type that you specify what type it can hold when you … | |
Optimizing Matrix Multiplication One time consuming task is multiplying large matrices. In this post we'll look at ways to improve the speed of this process. We'll be using a square matrix, but with simple modifications the code can be adapted to any type of matrix. The straight forward way to … | |
Re: It's complaining because you allow the sql statement to be sent to the method without verifying that it doesn't have special characters. From the documentation > The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly … | |
Re: I don't get that error. Try cleaning the build and rebuilding. | |
Re: Arrays are zero (0) based index. You are asking for 1, 2 or 3. 3 is outside the index of the array (which is 0, 1 and 2). Just like the last time you asked this. | |
Re: The error means that either row or column is not 0, 1 or 2. | |
Re: What happens when their last name is less than 4 characters long? | |
Re: Are you running in debug mode in Visual Studio? Since you are using a file based database, Visual Studio makes a copy of it so you don't 'ruin' your original database while debugging. |