Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > c# > may 2004 > threads for sunday may 2

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

winforms: handling enter key for single line edit?
Posted by PEACEMAKER at 5/2/2004 11:19:36 PM
I want to take an action when the user hits the enter key on a single line edit on the form but I can't find any events that handle the enter key. The char and keyup events still cause a beep on the carriage return although it sends the linefeed char. I'm sure there is a better way to accomplish ...more >>


INPUT MASK FOR TEXTBOX
Posted by msnews.microsoft.com at 5/2/2004 9:29:24 PM
Hello. How can I set input mask for TextBox? Or can I use for mask input some other control? ...more >>

CONNECTION STRING
Posted by msnews.microsoft.com at 5/2/2004 9:27:40 PM
How can I call connection string (database) builder dialog? ...more >>

About TextBox
Posted by msnews.microsoft.com at 5/2/2004 9:15:46 PM
Hello. How can I set input mask for TextBox? Or can I use for mask input some other control? ...more >>

connection pool errors
Posted by Philip Townsend at 5/2/2004 9:05:26 PM
I have a asp.net application that is periodically generating an error stating that the maximum number of connections has been exceeded. Is there a way to trap this error and reset the connection pool when the error occurs? Any other suggestions? Thanks...! *** Sent via Developersdex http:/...more >>

Connection String
Posted by msnews.microsoft.com at 5/2/2004 8:15:40 PM
How can I call connection string (database) builder dialog? ...more >>

Encrypt String
Posted by msnews.microsoft.com at 5/2/2004 8:14:21 PM
How can I encrypt and decrypt string? ...more >>

How to make delegate fire on main thread?
Posted by johnfofawn NO[at]SPAM hotmail.com at 5/2/2004 7:51:49 PM
Hi, I have a worker thread that receives messages from a socket and puts them in a queue (it sits inside a "while true") loop. Each time it adds a message to the queue, I need the main thread to pull a message off the queue and process it. Because it manipulates GUI controls I need the main...more >>



Cain I get the Cluster size ?
Posted by ±èÀçȲ at 5/2/2004 6:18:42 PM
Hello Can I get the size of cluster ? On windows command, you get cluster size following command. How Can I this in c# ? C:\>fsutil fsinfo ntfsinfo c: .. .. .. cluster size: 4096 .. .. .. .. C:\> ...more >>

trouble saving a jpg out of a picturebox....
Posted by a_cjones NO[at]SPAM hotmail.com at 5/2/2004 4:54:26 PM
Hi all, I've got a picturebox on a form, and a save button. When I go to save, the app craps out with the following error: ================== An unhandled exception of type 'System.Runtime.InteropServices.ExternalException' occurred in system.drawing.dll Additional information: A generi...more >>

Data Files, Arrays, Struct?
Posted by Acidon Purplehaze at 5/2/2004 3:05:11 PM
[Warning: C# Newb Questions, may cause headaches and/or Migraines] Hello all. I'm in the process of learning C# with no books, until I can buy a book on it. I am creating a small game while I learn it, just for my own enjoyment. Right now I am trying to create a small editor to edit the "...more >>

C# And Terminal Services
Posted by tpoise NO[at]SPAM yahoo.com at 5/2/2004 2:33:49 PM
Using: .NET 1.1, Visual Studio 2003, C#, Microsoft Windows 2000 Server (SP4 and all latest windows updates), Terminal Server running in application mode. I have a C# application that I've deployed to our terminal server for remote users to use. However, normal users (simple domain users) c...more >>

C# Generics: Why int[] doesn't implement IList<int>?
Posted by Sherif ElMetainy at 5/2/2004 2:15:15 PM
Hello I was just got VS 2005 preview, and was trying generics. I tried the following code int[] intArray = new int[100]; IList<int> intList = (IList<int>) intArray; it didn't compile, also the following didn't compile IEnumerable<int> intEnumerable = (IEnumerable<int>)intArray; IM...more >>

Returning a PChar/String from a Delphi dll to .Net application.
Posted by Craig Kenisston at 5/2/2004 1:25:32 PM
Hi, I have a dll that must return a string to a C# .Net application and also needs to server a Delphi application. I have defined my delphi function like this : function GetString(var strPtr : PChar; iStrLen : Integer ): Integer; var strTmp : String; begin strTmp := InternalFunct...more >>

I'm obviously just missing something REALLY simple
Posted by Caladin at 5/2/2004 12:01:02 PM
I'm sure once someone answers this I'll feel really dumb. I'm a c++ programmer playing with c# an here's my conundrum I declare a class in the for public class Form1 : System.Windows.Forms.For class Class public int ge return x se x = value ...more >>

Looking for a Contract or Freelance gig? www.CorporateRebel.com
Posted by CorporateRebel.com at 5/2/2004 9:29:56 AM
C# dotNET Is the only way to go, the way web development should have always been! Check out http://www.corporaterebel.com 1. Project-based Bidding! 2. Post a project, receive bids -OR- Bid on an unlimited number of freelance and contract projects! 3. Fair Bidding System - No Undercutting A...more >>

Writing an ActiveX control for cs
Posted by bbayer NO[at]SPAM st.cs.deu.edu.tr at 5/2/2004 9:12:27 AM
I have an dll written in c++ but I cannot use it directly in c# because it has some complex structures that is not supported by invocation system. Which solution is proper writing an ActiveX component or using some unsafe code? In second dllimport has very poor performance(I use it for expo...more >>

Writing an ActiveX control for cs
Posted by bbayer NO[at]SPAM st.cs.deu.edu.tr at 5/2/2004 9:12:26 AM
I have an dll written in c++ but I cannot use it directly in c# because it has some complex structures that is not supported by invocation system. Which solution is proper writing an ActiveX component or using some unsafe code? In second dllimport has very poor performance(I use it for expo...more >>

Formatting right justified percentages with Console.writeline()
Posted by shawnk at 5/2/2004 8:51:03 AM
Hello Everyone How do you format format numbers right-justified using Console.WriteLine(), i.e I need to line up numbers in vertical columns and the MSDN documentation is pretty poor Here is the problem double percent_00_01 = 1D / 10000D double percent_00_10 = 1D / 1000D double percent...more >>

Choosing the right way to design a class library
Posted by earlyachiever NO[at]SPAM mail.ru at 5/2/2004 8:07:47 AM
Hello! :^) I am trying to implement a class library for dealing with time series. I have to use time series with seasonable component and without it. Also, time series can be stored in memory or in a database. The problem is to make 4 following classes: 1. non-seasonable and storable in memor...more >>

how to develop adware or spyware
Posted by msnews at 5/2/2004 6:30:29 AM
Hi, All i really want to make a program that protect my system like Ad-aware or Spybot.. socalled Spyware.. but i don't know about developing these program. how can i have to do? could you give me some hint or related source file? I use C# .NET. Any help would pe appriciated T...more >>

Tale of debugging and programming logic in c#/sql
Posted by Irritable Bowel Syndrome at 5/2/2004 5:52:41 AM
Just finished off a production .NET web application written in c#. I set up a error handler in the global.asax which is triggered to iterate through the error stack and send it and other information to me in an email. This gives me logging and alerting and a record of usage ( by sending tim...more >>

Will an IE Band written in c# work on all OS's ?
Posted by shulmag NO[at]SPAM yahoo.com at 5/2/2004 3:05:26 AM
Hi. I am interested in developing an IE band (small toolbar with buttons, etc;) and I was thinking maybe write it in c#. will this band after building it work on all os ? like: 98, win2k, xp ? Thanks a lot in advance for any help. if you think I have to use c++, let me know. Also, if someon...more >>


DevelopmentNow Blog