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# > april 2005 > threads for saturday april 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

SMTP authentication
Posted by Carlos Lozano at 4/2/2005 9:37:03 PM
Hi, I have been trying to implement an e-mail sending process. I am using System.Web.EMail. it works fine with my local SMTP server, but if I set the server of my hosting company (using their SMTP server) I get an error saying access denied. How can I do it? I thought It would require sett...more >>

Can't suspend a thread
Posted by emr at 4/2/2005 7:55:25 PM
Hi there, here is the situation: private void btnStart_Click(object sender, System.EventArgs e) { if(btnStart.Text=="START") { Thread connect=new Thread(new ThreadStart(Connect2Server)); connect.Start(); } if(btnStart.Text=="STOP") { connect.Suspend(); // An unhandled e...more >>

listening serial port
Posted by Mark Albourgh at 4/2/2005 4:47:09 PM
Does anyone know a way of listening to serial port? I know how to read data from it, but only know to check the port for the data constantly which occupies cpu a lot. I need this to receive data from a machine. Thx ...more >>

C# Newbie Question. Making button as a link, open in attached WebB
Posted by Chris at 4/2/2005 2:29:03 PM
Hello all. I am making a small silly little basic one page web form while learning C# (Using VS 2005 Express). I am stuck on how to link a button I have created, to actually send the user to a specified URL when clicked, into the attached WebBrowser form. I thought WebBrowser.Navigate (...more >>

get the actual size of a file
Posted by Stephan Steiner at 4/2/2005 2:26:48 PM
Hi Generally, FileInfo fi = new FileInfo(path); long size = fi.Length; gets you the length of a file in bytes. However, when copying files, even while the copy operation is still in progress, the filesize, as indicated in Windows Explorer or derived with the above two lines of code, will...more >>

Defining Static Members in an Interface
Posted by Dale at 4/2/2005 1:51:03 PM
Is it possible to declare a method of an interface as static? For instance, can I create an interface that defines a static method and 2 instance methods? ...more >>

Overriding Inherited Propeties
Posted by Greg at 4/2/2005 1:45:04 PM
I have a base class for a label. I want to set a property at the base class level, say AutoSize = true. Then at the form level I want to be able to overide the base class setting so that I can turn it off when needed. What is happening is that at the form level, I can set the autosize to ...more >>

API documents
Posted by VJ at 4/2/2005 12:55:24 PM
I am trying to create API document for some of class library's .. this for our own internal usage.. Any knwon tempalets, that people can suggest it would be great... We have our API functions comented to a extent with the "///" tags.. Thanks VJ ...more >>



Does anyone help me convert vb.net to c#
Posted by Alan Ho at 4/2/2005 12:08:36 PM
Function Helper(ByVal obj As Object) As String Dim thisDate As Date = CDate(obj) Return WeekdayName(Weekday(thisDate, vbSunday), False, vbSunday) & "<br>" & _ thisDate.Day & "/" & thisDate.Month End Function (I can find any method call Date, WeekdayName and C...more >>

namespace problem
Posted by apoc69 NO[at]SPAM gmx.net at 4/2/2005 10:17:28 AM
hi again, i have several namespacing problems in my big project. my current namespaces in my solution are: b2b.Server.Common b2b.Server.Business b2b.Server.Business.Mapping b2b.Server.Business.Entities b2b.Server.Database now i have a testing app and i include all of those namesp...more >>

can you create a function handling dif objs w/o overloading?
Posted by Shawn at 4/2/2005 10:13:01 AM
Hi All; i have created a class that handles file input and output. one of the methods loads data from a file then returns a hashtable filled with data class. it takes in the file name and the class of the data stored in the file. what i would like to know is: is there a way to make the func...more >>

datatable.select problem
Posted by Frank at 4/2/2005 9:33:01 AM
Hi, I use datatable.select to select row in a table in a dataset. I use an ampersand in the selectstring and get an error that it is unsupported. The statement works fine in the query analyzer of enterprise manager. select is like: '1 & val2' I use the & to have a binary AND comparison=to chec...more >>

Casting derived
Posted by apoc69 NO[at]SPAM gmx.net at 4/2/2005 9:12:17 AM
Hi folks, i developing right now a big project for my company and i have follow issue: I have a base class for all my domain objects (abstract DomainObject) and many objects derived from that class, like Facility:DomainObject. I have also a collection class (DomainObjectCollection:Collect...more >>

Timing of functions in C#
Posted by DrOrbit at 4/2/2005 7:47:45 AM
I am working on a rather large program that hits several methods multiple times. In looking for ways to speed it up, I have discovered something odd. The first time I call a method, it's about 30 times slower than any subsequent call. This is true for all the methods that I have tested. For ...more >>

Restricting the 'paintable' areas of a control
Posted by Barguast at 4/2/2005 5:47:04 AM
Is there any way to restrict the area in a control that can be painted? For example, if I wanted to enforce a three-pixel wide border around my control, how would I go about it? Thanks...more >>

Setup: How to change the "Welcome to the MyApp Setup Wizard" text?
Posted by Joachim at 4/2/2005 5:35:02 AM
In the Install-Start-Welcome dialog - how can I change the text "Welcome to the MyApp Setup Wizard"? For instance, if I would like it to be in another language....more >>

Getting alert or window maximized when text changed in a web application in C#.net
Posted by yatharth NO[at]SPAM gmail.com at 4/2/2005 5:29:23 AM
Its a Web application. I am developing an application in which my page is refreshing continuosly.In that there is a textbox which is filled from the database ,and changed when i changed the value from database. Now suppose if i minimize my window and work on other browser and suppose th...more >>

controls on a form
Posted by juli jul at 4/2/2005 5:17:45 AM
Hello, I want to put on the form 2 panels. The first one contains tree view and the secound grid. I put a separator between both of the panels and tried to do dock=fill to both of them.The problem is that one panel is always above the other when I am doing it. How can seperate both of the pane...more >>

creating a control in C#
Posted by Wilfried Mestdagh at 4/2/2005 2:55:01 AM
Hi, I'm using C# express beta 2005. Reading the article at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconQuickStartComponentCreationWalkthroughs.asp it say the following: "Select the Windows Control Library project template from the list of C# Projects,...more >>


DevelopmentNow Blog