Posts
 
Reputation
Joined
Last Seen
Ranked #37
Strength to Increase Rep
+15
Strength to Decrease Rep
-3
95% Quality Score
Upvotes Received
722
Posts with Upvotes
609
Upvoting Members
277
Downvotes Received
37
Posts with Downvotes
37
Downvoting Members
20
223 Commented Posts
~893.45K People Reached
About Me

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
Favorite Tags
Member Avatar for tiny7415

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.

Member Avatar for slavonescjy
0
406
Member Avatar for Mike Askew

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.

Member Avatar for Carmelo_1
0
13K
Member Avatar for Dalek Caan

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 …

Member Avatar for Jim_9
0
1K
Member Avatar for charlybones

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 …

Member Avatar for DOUGLAS_9
0
19K
Member Avatar for MrCapuchino

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.

Member Avatar for ddanbe
0
1K
Member Avatar for fredw300

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?

Member Avatar for Hak_1
0
5K
Member Avatar for ajinkya112
Member Avatar for manugm_1987

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 : …

Member Avatar for rproffitt
0
976
Member Avatar for FakeTales

You'll need to make a collection of the clients then loop through the collection and send your message.

Member Avatar for Arman_5
0
526
Member Avatar for Momerath

[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 …

Member Avatar for Jonathan_13
3
1K
Member Avatar for angellove40

[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?

Member Avatar for Karl_3
0
2K
Member Avatar for Jazerix

This algorithm supports key lengths from 128 bits to 192 bits in increments of 64 bits. Your key 'jazerix' only has 56 bits.

Member Avatar for hunny1
0
9K
Member Avatar for judithSampathwa

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

Member Avatar for Jill_3
0
407
Member Avatar for bhagawatshinde

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.

Member Avatar for parth vyas
0
282
Member Avatar for singh.ranjeet
Member Avatar for JOSheaIV
-1
2K
Member Avatar for dandrews517

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 …

Member Avatar for theophil1901
0
663
Member Avatar for iainiow

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.

Member Avatar for Roshdy_1
0
1K
Member Avatar for 303factory
Member Avatar for Victor_8
0
122
Member Avatar for ToucheAmore

You can develop C# code that will run on i-stuff, android and windows phone using the [xamarin](http://xamarin.com/) stuff

Member Avatar for priyaspageo
0
546
Member Avatar for Reapt
Member Avatar for cool_intentions

[code]comboBox1.DataSource = new BindingSource(parameters, null); comboBox1.DisplayMember = "Key"; comboBox1.ValueMember = "Value";[/code]

Member Avatar for jeryymanly
0
2K
Member Avatar for theashman88

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 …

Member Avatar for RichardGalaviz
1
306
Member Avatar for gurusamy

[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 …

Member Avatar for RichardGalaviz
0
557
Member Avatar for Momerath

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 …

Member Avatar for fran2884
7
6K
Member Avatar for k.vijayakumar

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 …

Member Avatar for k.vijayakumar
0
313
Member Avatar for theashman88
Member Avatar for theashman88

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.

Member Avatar for Momerath
0
191
Member Avatar for theashman88
Member Avatar for Momerath
0
145
Member Avatar for nikiki
Member Avatar for Momerath
0
185
Member Avatar for TarkiB

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.

Member Avatar for PerplexedB
0
1K