Forum: C# Jun 19th, 2009 |
| Replies: 2 Views: 937 Application.Exit()
MSDN Doc: http://msdn.microsoft.com/en-us/library/system.windows.forms.application.exit(VS.71).aspx |
Forum: ASP.NET Jun 15th, 2009 |
| Replies: 5 Views: 593 There is no way that any modern browser has javascript functions allowing access to COM ports. |
Forum: ASP.NET Jun 12th, 2009 |
| Replies: 5 Views: 593 There is no way to do that. ASP.NET is a server side language. |
Forum: C# Jun 9th, 2009 |
| Replies: 1 Views: 639 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: VB.NET Jun 8th, 2009 |
| Replies: 3 Views: 362 I used this converter: http://www.dotnetspider.com/convert/Csharp-To-Vb.aspx. It seems to compile the app then use the MSIL to convert it to VB, which is the best way of translation. If this... |
Forum: ASP.NET Jun 8th, 2009 |
| Replies: 4 Views: 481 Use the DateTime object. You can check out the DateTime object's members here: http://msdn.microsoft.com/en-us/library/system.datetime_members.aspx |
Forum: ASP.NET Jun 8th, 2009 |
| Replies: 2 Views: 782 It looks like Red Hat has only included it in Fedora and not in Red Hat Enterprise Linux. http://news.cnet.com/8301-10784_3-6025387-7.html |
Forum: ASP.NET Jun 7th, 2009 |
| Replies: 15 Views: 3,028 You should post what you've come up with. You never know, it might help other DaniWeb users out! |
Forum: C# Jun 6th, 2009 |
| Replies: 2 Views: 1,172 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: 291 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: ASP.NET Jun 6th, 2009 |
| Replies: 2 Views: 509 http://www.c-sharpcorner.com/UploadFile/mgold/DotNetBlog12022005013909AM/DotNetBlog.aspx |
Forum: C# Jun 6th, 2009 |
| Replies: 3 Views: 951 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: 473 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: 951 Have you tried using Spy++? Check out this article:... |
Forum: C# Jun 5th, 2009 |
| Replies: 4 Views: 900 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: ASP.NET Jun 5th, 2009 |
| Replies: 4 Views: 947 @ithelp: that is exactly what I was thinking :) |
Forum: ASP.NET Jun 5th, 2009 |
| Replies: 4 Views: 947 You can put the date of birth in a DateTime, and then use the dates in this wikipedia article, http://en.wikipedia.org/wiki/Zodiac_sign#The_twelve_signs, to calculate what zodiac sign the date falls... |
Forum: ASP.NET Jun 5th, 2009 |
| Replies: 1 Views: 389 Here is an article on URL Rewriting in ASP.NET 1.1: http://msdn.microsoft.com/en-us/library/ms972974.aspx |
Forum: C# Jun 5th, 2009 |
| Replies: 4 Views: 900 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: ASP.NET Jun 4th, 2009 |
| Replies: 6 Views: 592 Get rid of runat="server" in that script tag. That isn't server side script; it's javascript which runs on the client. |
Forum: ASP.NET Jun 4th, 2009 |
| Replies: 6 Views: 592 Which line is doing that? Can you put it in bold or something? I'm not sure if your counting the whitespace as a line number. |
Forum: C# Jun 4th, 2009 |
| Replies: 2 Views: 1,161 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: 529 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: ASP.NET Jun 2nd, 2009 |
| Replies: 15 Views: 3,028 |
Forum: C# Jun 1st, 2009 |
| Replies: 2 Views: 1,394 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,035 Well the opennetcf library is open source, so you can at least download the source and see how they do it. |
Forum: ASP.NET Jun 1st, 2009 |
| Replies: 3 Views: 646 |
Forum: C# Jun 1st, 2009 |
| Replies: 5 Views: 1,035 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: 596 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: 351 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: ASP.NET Jun 1st, 2009 |
| Replies: 1 Views: 866 The reason why your are experiencing this error is because all of the controls are not a part of the form, they are part of the EditItemTemplate in the FormView control. This means that they are not... |
Forum: ASP.NET Jun 1st, 2009 |
| Replies: 1 Views: 271 What help do you need? Have you tried doing it yourself? What errors are you experiencing? Converting this code should be fairly straightforward. |
Forum: ASP.NET Jun 1st, 2009 |
| Replies: 1 Views: 488 Not that it matters, but the two attributes stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;user id=userid;password="xyz" are totally ignored in your... |
Forum: ASP.NET Jun 1st, 2009 |
| Replies: 3 Views: 646 There are a few articles on MSDN that will be able to help you out:
GridView Examples for ASP.NET 2.0: Editing the Underlying Data in a GridView:... |
Forum: ASP.NET Jun 1st, 2009 |
| Replies: 15 Views: 3,028 ASP.NET 2.0 and up have the ASP.NET Membership Provider and the login controls, which will make this simple for you. Check out this walkthrough on MSDN:... |
Forum: ASP.NET Jul 3rd, 2008 |
| Replies: 4 Views: 12,281 I need you to post your entire web.config file. The issue goes deeper then what you've posted.
Also, what you've done is considered "thread hijacking". Proper netiquette states that if you... |
Forum: Growing an Online Community May 30th, 2008 |
| Replies: 4 Views: 1,324 I've been using CommunityServer since before it was called CommunityServer. It's highly recommended. Themeing and customization can be a little complicated if you don't have any ASP.NET experience.... |
Forum: ASP.NET Jan 3rd, 2008 |
| Replies: 6 Views: 3,382 Well, you can just output printer friendly HTML pages, but this won't allow you to control 100% of the paper output (the brower will put the url, page number, title, etc on the header/footer).
... |
Forum: Existing Scripts Oct 6th, 2006 |
| Replies: 17 Views: 6,840 Well, I'm the tekmaven that Dani was refering to :). I actually am biased too, because I also worked for Telligent Systems, Inc ;).
Community Server is an amazing web platform. The free version... |
Forum: C# Sep 20th, 2006 |
| Replies: 1 Views: 3,604 Well, the code you just gave is not C# ;). It's C/C++... |