Forum: C# 11 Days Ago |
| Replies: 2 Views: 174 Your call to Replace is correct, as you can demonstrate by running the following tests (the third one is supposed to be incorrect):
using System;
class Program
{
public static void... |
Forum: C++ 12 Days Ago |
| Replies: 14 Views: 310 That doesn't give us very much to work with; it would help if you could clarify what "just doesn't happen" means. Is it truly not happening, as in the code appears to work but no files show up, or... |
Forum: Java 14 Days Ago |
| Replies: 5 Views: 263 More likely it's due to floating point representation (http://en.wikipedia.org/wiki/Floating_point#Representable_numbers.2C_conversion_and_rounding), in particular: The decimal value 0.1 has an... |
Forum: Java 14 Days Ago |
| Replies: 5 Views: 263 Read about floating point accuracy (http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems).
You might try sticking with integers and using fixed-point math... |
Forum: C++ 14 Days Ago |
| Replies: 2 Views: 253 The pseudocode looks okay; I've attached a quick little .NET console program that appears to confirm your approach. This suggests to me that there might be some errors in your implementation of that... |
Forum: C# 26 Days Ago |
| Replies: 2 Views: 293 Here's a link (http://en.wikipedia.org/wiki/Thresholding_(image_processing)#Adaptive_Thresholding) to get you started. Google is your friend. =) |
Forum: MS SQL Nov 6th, 2009 |
| Replies: 2 Views: 587 Hi again!
If you're using the same connection string that created the database to send the create table commands, remember there's no database specified on that connection. Once you've created... |
Forum: C# Nov 4th, 2009 |
| Replies: 6 Views: 507 A more detailed description of the problem than "still no luck" would help... is it the same exception or a different one? Exception message and stack trace are both useful. Also, what version... |
Forum: C# Nov 3rd, 2009 |
| Replies: 6 Views: 507 It's not quite the same; Access is a file-based database system, where MySQL is server-based, so you'll need some sort of open connection to the server to do anything useful.
I don't have a... |
Forum: C# Nov 2nd, 2009 |
| Replies: 6 Views: 460 To clarify, the .NET Framework doesn't provide automatic handling of multiple key presses. You can still handle them yourself.
This is what's keeping your code from working right--when you... |
Forum: C# Nov 2nd, 2009 |
| Replies: 6 Views: 460 Could you post the code you're using to track key up/down status? That would help us find what's going wrong. |
Forum: C# Sep 7th, 2008 |
| Replies: 2 Views: 610 You can't link directly to a COM library; you have to link to a .NET interop library. The VS IDE secretly generates this library for you when you add a COM project reference. Since you're using the... |
Forum: Computer Science Jun 10th, 2004 |
| Replies: 1 Views: 4,861 Looks like Java code that dumps the contents of a URL-referenced file to a text box. No idea what it might be part of. |