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# > march 2007 > threads for saturday march 10

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

detecting object lock?
Posted by Hyun-jik Bae at 3/10/2007 11:12:26 PM
Is there any way knowing if an object is locked, for example, "lock(object) {...}" ? Please reply. Thanks in advance. Hyun-jik Bae ...more >>


keep password's content
Posted by Monica at 3/10/2007 9:38:08 PM
Dear reader, how can I keep my password content when a postback occur? I define an edit box in password textmode. but when a postback occur and my page became refresh, its content would be empty. and I have to enter again. what is the best solution to solve this problem? Regards, Mon...more >>

Reading in a file to a structure
Posted by wvueagle84 NO[at]SPAM gmail.com at 3/10/2007 8:31:00 PM
Hello, Any help on this would be great. I have a text file that is in following format Name code (which is read in as byte[]) one 21AE two 95EC three 88AB and so on and so forth I want to be able to read in the text file and put the name into the name field of the...more >>

How to suspend and resume in playing a WAV file
Posted by fAnSKyer/C# newbie at 3/10/2007 6:45:19 PM
I am using winmm.dll and I found that I can't just suspend it and resume it? What should I do? Any better idea? Should I use thread? and thread.suspend will work? Thanks ...more >>

c# mail question
Posted by a at 3/10/2007 3:40:57 PM
i have a problem with sending mail. it works ok only when sender and recipient are in same domain. if they are not it returns exception: Mailbox name not allowed. The server response was: sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)...more >>

where does AssemblyInfo.cs company information come from?
Posted by Zytan at 3/10/2007 2:55:42 PM
The AssemblyInfo.cs file shows company information in two places: [assembly: AssemblyCompany("COMPANY_NAME")] [assembly: AssemblyCopyright("Copyright =A9 COMPANY_NAME 2007")] Where does this come from? How can I change it? Right now COMPANY_NAME is blank, but I noticed that for VB and C# i...more >>

Exception handling suggestions
Posted by Zytan at 3/10/2007 2:46:39 PM
Ok something simple like int.Parse(string) can throw these exceptions: ArgumentNullException, FormatException, OverflowException I don't want my program to just crash on an exception, so I must handle all of them. I don't care about which one happened, except to write out exception.Message to...more >>

Active-X in C#
Posted by Zeke at 3/10/2007 2:09:21 PM
I'm new to C# and want to use an ActiveX control which I have created in VB. How do I declare it and call it in a C# windows app? ...more >>



Keep a TextBox from displaying its caret (cursor)?
Posted by Michael A. Covington at 3/10/2007 12:08:31 PM
How do you keep a TextBox from displaying its caret (blinking vertical line, insertion point)? Setting it to ReadOnly doesn't do the job in VS 2005. ...more >>

A Set Collection class
Posted by Muffin at 3/10/2007 11:47:15 AM
Does C# have a Set Collection class/functions of some sort? I can not seem to find it. A collection that I could extract thing like: Get only unique entries: {1,1,1,2,2,3,4,5,5,5,5,6,6} yields {1,2,3,4,5,6} Get each set of unique entries: {1,1,1,2,2,3,4,6,6} yields {{1,1,1},{2,2},{3},{4},...more >>

Microsoft C# Solution File Format
Posted by Reporter at 3/10/2007 10:31:32 AM
Where can I find documentation on the Microsoft C# Solution File Format? Thank you very much. ...more >>

Paste a texte into the current window
Posted by C=E9dric_ELLENA at 3/10/2007 9:01:38 AM
Hi, I need to make a little c# program which copies a text into the clipboard and that pastes this data into the active window. I copy the data like this Clipboard.SetText("mystring"); but i don't know how to paste this data in the active window (notepad, word for example) thanks fo...more >>

Menu Control (newbie)
Posted by Weste at 3/10/2007 8:57:00 AM
I am attempting to create my 1st site with ASP.NET. I started with the Small Business template and am customizing it. The spacing between the menu items on my horizontal menu control are not evenly spaced. I don't know what to do to fix this. The code for the menu control is below. <as...more >>

Search a list/array of objects for specified criteria?
Posted by Rick at 3/10/2007 8:49:56 AM
I have a large list of objects where each object has a unique (non-overlapping) date range. The list is sorted chronologically. What is the most efficient way to search this list for a single object that spans a specified date? ...more >>

Image
Posted by Saravanan at 3/10/2007 4:52:49 AM
How can i reduce the size by using Lead tool before using the image the size was 18kb after using the size has been grewed to 118kb EggHeadCafe.com - .NET Developer Portal of Choice http://www.eggheadcafe.com...more >>

Changing the properties of some controls on a form
Posted by Dan Soendergaard at 3/10/2007 4:33:19 AM
I have this code: for (int i = 0; i < this.Controls.Count; i++) { if (this.Controls[i] is ValidationTextBox) { // Change the property of the control here. } } ValidationTextBox is a co...more >>

Images; MDI client bigger than its parent window?
Posted by Michael A. Covington at 3/10/2007 1:32:55 AM
I'm writing a program to experiment with image processing. The image is displayed in a picturebox on a form which is an MDI child of the main form. The main form is maximized. The picturebox and the child form are set to autosize. For the most part, this achieves what I want: the child...more >>

convert from vb.net to c#
Posted by Monica at 3/10/2007 1:03:10 AM
Dear reader, what's the converted codes to C#? --------------------------------------------------------------------------- Protected Sub Menu1_MenuItemClick(ByVal sender As Object, ByVal e As MenuEventArgs) Handles Menu1.MenuItemClick MultiView1.ActiveViewIndex = Int32.Parse(e.It...more >>


DevelopmentNow Blog