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# > february 2008 > threads for sunday february 24

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

Format date to convert into words
Posted by weird0 at 2/24/2008 11:10:09 PM
I have date stored in a DateTime object. I can convert this to a string by writing: createdDate.ToString("dd/mm/yy") Is there anyway, I can format the date in words along with a comma. So, the date looks something like Dec 8, 2006. Dont wanna go thur the hassle of writing all the co...more >>

Choosing a thread control strategy
Posted by Jacob at 2/24/2008 10:50:00 PM
Ok, I have a C# program (server program) which needs to do the following: Receive messages from a webapp via WCF and notify the server that it has received a new transaction. These transactions have a definite end date. I've got the WCF setuff set up, and basically the server program just nee...more >>

LINQ - problems updating entries in DB
Posted by K Viltersten at 2/24/2008 8:01:22 PM
I was going to perform an update of an existing row in my table in the DB by: Table<MyType> data = db.GetTable<MyType>(); MessageBox.Show (data.Count ()); foreach (MyType d in data) { MessageBox.Show (d.name); d.name = "changed"; } db.SubmitChanges (); and while i get ...more >>

XXXXXX not available in this context.
Posted by doofy at 2/24/2008 7:53:47 PM
I'm trying to create a custom control which would be a treeview which populates itself with table and field details from a database. I need to be able to call up a form to enter the server/db information. I created a form within the custom control, and I sort of thought it might not work, ...more >>

Did this happened to you?
Posted by Victor Maidana Guerra at 2/24/2008 7:25:37 PM
Hi everybody, -I created a DB with SQLServer Express 2005 under WinXP and started to try little things with VisualStudio Express 2008's C# -When configuring the DB conx under VSE2008 it copies the DB files to the project folder. -The dark endweek fall over me ;) and so I copied the project fold...more >>

Class Design, this is getting out of hand. Trying not to 'hack it'....
Posted by DotNetNewbie at 2/24/2008 7:24:37 PM
Hi, In the PHP world, and similiarly in .NET, many people simply do the SQL queries and return some sort of an array/hashtable (dataset or datatables) as oppose to a strongly typed class in a collection. Here is my issue. I have a class that maps to my Articles table, so it has fields like...more >>

detect ColumnChanged event "earlier"
Posted by Ryan Liu at 2/24/2008 5:48:57 PM
I have a DataGrid with only one column is editable. It is a DataGridViewCheckBoxColumn. I want to detect if the any checkbox state is changed. So I listen to ColumnChanged event. But whenever user click the checkbox, and checkbox state changed, but the event is not fired until the user clic...more >>

Download webpage with images
Posted by CJ at 2/24/2008 1:53:38 PM
Can someone tell me how to download a webpage complete with images and insert it into a richtextbox? Thanks ...more >>



using private static Main...
Posted by Tony Johansson at 2/24/2008 1:48:14 PM
Hello! I'm used to having the access modifier set to public on Main but it works with private too. So because of the above must CLR be considered as being a class member. I think it would be more correct to give compile error if Main have access modifier set to private. Do you agree? ...more >>

What may I do with Visual C# 2008 Express Edition?
Posted by Roger Frost at 2/24/2008 12:37:52 PM
Somewhere I read that Visual Studio 2008 Express Edition could be used "royalty free" for commercial applications (and I always believe everything I read on the Internet). I reread the MICROSOFT SOFTWARE LICENSE TERMS; MICROSOFT VISUAL C# 2008 EXPRESS EDITION document in greater detail, and...more >>

direct access to struct variables in List<struct> compiler error ?
Posted by Bill Woodruff at 2/24/2008 12:12:21 PM
Hi, Assume you have a simple struct defined in its own file namespace testStruct { public struct myStruct { public string data1; public string data2; } } You manufacture instances of myStruct in your application and store them in a Generic List of form : public List<mySt...more >>

XNA 2 on VS2008?
Posted by Smokey Grindel at 2/24/2008 11:54:28 AM
Anyone know when XNA 2 will be made available on VS2008? I guess all they have to do is fix the project templates? ...more >>

Exchange
Posted by Rick at 2/24/2008 10:20:46 AM
What objects/namespace would one use to connect to an Exchange mailbox to read/delete messages. I've found examples using System.Management to read mailbox sizes, but not nothing to read messages. I've also found examples using WebDAV, but I'm not sure if this is the only way, and if it's the ...more >>

Deserializing memory stream into XML instead of structure
Posted by RobinS at 2/24/2008 10:07:23 AM
I inherited some code that calls a web service that returns an encrypted string. It gets decrypted into a string and then converted to a memory stream. MemoryStream ms = new MemoryStream(Convert.FromBase64String(decryptedresult)); This is then deserialized into an instance of the struc...more >>

Windows Service & Clipboard
Posted by Humam at 2/24/2008 8:43:00 AM
I am developing a windows service that reads from the serial port and then put the data read from the serial to the clipboard, so the client can use Ctrl + v to paste, I am using Clipboard.Clear(); Clipboard.SetData(DataFormats.Text, (Object)IDCard.FirstName); but for some reason it seems t...more >>

problem with propertymanager ( textbox bound to dataset )
Posted by Piotrekk at 2/24/2008 5:48:13 AM
Hi I have problem with propertymanager in my code. PositionChanged event is not even raised. When i increase position, the value remains the same - as a result textbox.Text value remains also unchanged. How to solve these problems? I have tried to google but couldn't find a solution. ps - ...more >>

become dotnet expert just by listening radio.
Posted by ChandraShekar at 2/24/2008 2:20:41 AM
hey its quite intresting www.dotnetradio.info i liked it very much...more >>

Find and Replace in Binary File
Posted by mouac01@yahoo.com at 2/24/2008 12:46:03 AM
Newbie here. How do I do a find and replace in a binary file? I need to read in a binary file then replace a string "ABC" with another string "XYZ" then write to a new file. Find string is the same length as Replace string. Here's what I have so far. I spent many hours googling for sample c...more >>


DevelopmentNow Blog