Forum: C# Jun 19th, 2009 |
| Replies: 2 Views: 1,092 Application.Exit()
MSDN Doc: http://msdn.microsoft.com/en-us/library/system.windows.forms.application.exit(VS.71).aspx |
Forum: C# Jun 9th, 2009 |
| Replies: 1 Views: 733 Regular expressions are the way to go. Using them in C# is easy, but developing the actual regular expression is slightly complicated. There are two tools that I've used in the past to help me craft... |
Forum: C# Jun 6th, 2009 |
| Replies: 2 Views: 1,352 Have you tried setting the .DataSource of the combobox to null, then clearing it, then binding it? Also, there is probably a more elegant way to write that function, since all 3 if blocks are... |
Forum: C# Jun 6th, 2009 |
| Replies: 3 Views: 324 You need to do an INSERT query to add data. You gave us a screenshot of a SELECT query. Since you have two tables with a relationship, when you go to insert a row in both tables with the same ID. |
Forum: C# Jun 6th, 2009 |
| Replies: 3 Views: 1,096 Cool. If you don't know how to get Spy++, I believe I read that it is included in the Windows SDK. |
Forum: C# Jun 6th, 2009 |
| Replies: 1 Views: 524 Have you tried using the SharpZip? It's probably much better at handling compression. http://www.icsharpcode.net/OpenSource/SharpZipLib/ |
Forum: C# Jun 5th, 2009 |
| Replies: 3 Views: 1,096 Have you tried using Spy++? Check out this article:... |
Forum: C# Jun 5th, 2009 |
| Replies: 4 Views: 997 So what exactly initiates the download? It comes from javascript? You might have to just parse the javascript. Sendkeys would be a cop out :) |
Forum: C# Jun 5th, 2009 |
| Replies: 4 Views: 997 You should override the Navigating event of the browser control. You're going to have to figure out when the URL is the download url (the file name might change, but it might be in a certain path or... |
Forum: C# Jun 4th, 2009 |
| Replies: 2 Views: 1,292 Thanks for sharing. Use the code snippits area of DaniWeb to post your code snipits - http://www.daniweb.com/code/csharp.html |
Forum: C# Jun 4th, 2009 |
| Replies: 2 Views: 571 You don't have to compile the project from the command line to generate a .dll file. In Visual Studio, select the Class Library project type, and that will compile into a .dll file. After you... |
Forum: C# Jun 1st, 2009 |
| Replies: 2 Views: 1,651 I don't think there are services on Windows Mobile, however, you can just run an application in the background on startup (with no UI). |
Forum: C# Jun 1st, 2009 |
| Replies: 5 Views: 1,193 Well the opennetcf library is open source, so you can at least download the source and see how they do it. |
Forum: C# Jun 1st, 2009 |
| Replies: 5 Views: 1,193 Check out the OpenNetCF Desktop Communication Library. It is available here: http://www.opennetcf.com/FreeSoftware/DesktopCommunication/tabid/90/Default.aspx |
Forum: C# Jun 1st, 2009 |
| Replies: 1 Views: 661 It looks like there are 4 C# Twitter libraries listed on the Twitter API Wiki. You can check them out here: http://apiwiki.twitter.com/Libraries#C/NET |
Forum: C# Jun 1st, 2009 |
| Replies: 1 Views: 397 This is possible. Check out this blog post, which shows how to use a CookieContainer with WebClient: http://couldbedone.blogspot.com/2007/08/webclient-handling-cookies.html |
Forum: C# Sep 20th, 2006 |
| Replies: 1 Views: 3,684 Well, the code you just gave is not C# ;). It's C/C++... |
Forum: C# Sep 20th, 2006 |
| Replies: 2 Views: 7,624 Even though your using Visual Studio 2005, your IIS Website is configured to use .NET 1.1. It says so itself, in the error message:
Version Information: Microsoft .NET Framework... |
Forum: C# Oct 3rd, 2004 |
| Replies: 2 Views: 9,571 You have no code at all for an array there..
How can you be on the right track with no code? lol |
Forum: C# Sep 1st, 2004 |
| Replies: 11 Views: 64,343 All the C++ would be doing is converting 1 into "true"; that's not rocket science. This would work:
while(Convert.ToBoolean(1)) {} |
Forum: C# Jun 18th, 2004 |
| Replies: 12 Views: 41,142 Why would you store all of that in a string? LOL
That's why we have things like DataSets... |
Forum: C# Jun 18th, 2004 |
| Replies: 2 Views: 5,922 Check out the Mono (http://www.go-mono.com/)project. They should be exactly what you're looking for ;) .
Doh, I really should read posts before I post the same exact info :o |
Forum: C# May 30th, 2004 |
| Replies: 9 Views: 5,807 Why is Java named Java? or .NET named .NET? or for that matter, Xerox named Xerox?
Who cares :-). |
Forum: C# Apr 3rd, 2004 |
| Replies: 9 Views: 5,807 MonoDevelop does sound like a great project :-). However, if Mono was ideally perfect, there would be no need for it ;-). |
Forum: C# Mar 26th, 2004 |
| Replies: 2 Views: 10,672 Google Search: Threading in C# (http://www.google.com/search?q=threading+in+C%23&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8) :cool:
Also, just wondering if you realized that .Net... |
Forum: C# Dec 26th, 2003 |
| Replies: 4 Views: 10,400 Also, I would like to apologize for taking long to reply. I've been busy and I wanted to give you a well thought, and organized answer. |
Forum: C# Dec 26th, 2003 |
| Replies: 4 Views: 10,400 A blog, short for WebLog, is sort of like an online journal. It could be used for many things - talking about your day, or talking about a certain issue. Some people have a few blogs - one about a... |
Forum: C# Dec 14th, 2003 |
| Replies: 4 Views: 10,400 I'm starting a new project (yeah, I need to have more then two concurrent projects!). This project is going to be uncharted territory for me - open source. I call it Blogger.NET, it posts to... |
Forum: C# Nov 17th, 2003 |
| Replies: 11 Views: 64,343 if("a"=="d")
{
//do something
}
else if("a"=="c")
{
// do something else
}
else
{ |
Forum: C# Nov 16th, 2003 |
| Replies: 12 Views: 41,142 StringBuilder should be used when putting together large, complex strings. Do not use it for working with small strings - StringBuilder has a lot of overhead and isn't worth the performance loss. |