Forum: C# Jan 5th, 2009 |
| Replies: 8 Views: 1,173 Have you considered creating a web service for this? You could create one in PHP and simply automate these steps in the web service. All you'd have to do in C# is submit any files or any other data... |
Forum: C# Jan 3rd, 2009 |
| Replies: 5 Views: 737 Codding Horror is by far the most interesting blog for software developers :) Full of good info indeed. |
Forum: C# Jan 3rd, 2009 |
| Replies: 15 Views: 839 Have you done any normalization to your database? If so, this may be a way to make your process better structured. Instead of including Fileowner in your File table, create a 1:N (Many) relationship... |
Forum: C# Jan 3rd, 2009 |
| Replies: 15 Views: 839 That's a weird way you're using to designing an application heh. Here is how i would go about it if it's a fairly small project. First thing you need to do is layout your requirements. Write down... |
Forum: C# Jan 3rd, 2009 |
| Replies: 5 Views: 1,052 I don't understand your problem. You're trying to make your program 'sleep' without pausing the main thread? That's not really a sleep because sleep would be a blocking call. If what you need is a... |
Forum: C# Jan 2nd, 2009 |
| Replies: 5 Views: 737 It's a problem with the way ViewState is configured on the machine. Have a look at this: http://www.codinghorror.com/blog/archives/000132.html |
Forum: C# Jan 2nd, 2009 |
| Replies: 2 Views: 877 You're going to need a library of some sort to be able to parse a PDF file. Either that, or you'll have to look at the structure of a PDF and try to locate the content you're trying to read. I'd go... |
Forum: C# Jan 2nd, 2009 |
| Replies: 4 Views: 380 Simply put your current thread in sleep mode. Fairly easy to do with 1 line of code.
System.Threading.Thread.Sleep(int milliseconds); |
Forum: C# Jan 1st, 2009 |
| Replies: 5 Views: 1,997 Draw the cube on a piece of paper. Determine x,y,z for each vertex and write them all down. Then using open GL create your viewing volume and using triangles or another primitive shape map your... |
Forum: C# Dec 30th, 2008 |
| Replies: 2 Views: 545 Have you considered using triggers? |
Forum: C# Dec 28th, 2008 |
| Replies: 2 Views: 351 Well, you could create a 2D array to resemble the grid. When someone clicks on the mouse, you could take the mouse pointer (relative to the window not the screen) and convert it to the position in... |
Forum: C# Dec 28th, 2008 |
| Replies: 14 Views: 983 I'm not even going to argue with you on this. Managed code comes with stability along with an overhead coming out of providing that stability. If you don't believe me, go back and look at your... |
Forum: C# Dec 26th, 2008 |
| Replies: 14 Views: 983 It's designed for a managed platform. That doesn't mean you can't write unmanaged code. You can still write your assembler and use pointers, but that isn't the aim of the .net platform.
As far as... |
Forum: C# Dec 25th, 2008 |
| Replies: 14 Views: 983 C# is the microsoft's version of Java and C++ mix. It's designed for a managed platform. It's more stable, better structured but slower. I think there is managed C++ nowdays, but i've never used it. |
Forum: C# Dec 25th, 2008 |
| Replies: 4 Views: 2,086 When you call BeginAccept() you're passing the master socket to it as the socket that will get the new connection request. You're essentially overwriting your master socket after the first... |