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 2008 > threads for friday april 18

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

customized propertygrid
Posted by colin at 4/18/2008 9:34:11 PM
Hi, I thought I could use the property grid to nicly edit some of my data, however it seems to require each field to be a property, wich I didnt realise was implied in the name of it lol. Is there a way to customize it so it can display and edit fields wich are stored in a dictionary ? t...more >>


why is linq more useful than datasets?
Posted by Andy B at 4/18/2008 8:51:18 PM
Just wondering why linq is more useful than datasets? The stuff I do doesn't seem to be too complicated to use linq with it. If I did use linq with it now, I would be doing almost the exact same programming, just with a different data getting process... ...more >>

Express and full VS
Posted by Robert Bravery at 4/18/2008 8:27:38 PM
Hi all, Can the express editions of VS 2008 and the Full Professional versions exist together on the same PC. I have installed VS Pro 2008, But want to install C# express, VWD Express etc on the same PC. I am trying to help some folks lear VS, they have the Express editions, and I am dindi...more >>

Interop.CDO uses Interop.ADODB which has a higher version...
Posted by muriwai at 4/18/2008 5:26:40 PM
Hi, I have a C# assembly project under Visual Stuio 2008 Pro on Windows Server 2008. I converted the project from VS 2005. The project references COM->Microsoft CDO for Windows 2000 Library 1.0, which adds two entries under References called CDO and ADODB. When I compile the solution, I ...more >>

C# 3 in VS
Posted by Jon Harrop at 4/18/2008 5:08:33 PM
What do I need to install to get C# 3 working in VS? -- Dr Jon D Harrop, Flying Frog Consultancy http://www.ffconsultancy.com/products/?u...more >>

LinqToSql Paging problem (bug?) with Skip and Take
Posted by d-42 at 4/18/2008 3:42:15 PM
Hi, I encountered a problem with a query of the following form: var q2 = from p in Persons.OfType<Cust> where p.AccountID == accid where !(from x in PersonDistLocationMatch where x.LocationID == locationid select x.PersonID).Contains(p.PersonID) select p; ...more >>

Sending file over socket - https
Posted by Dave at 4/18/2008 3:36:00 PM
I need to send a file over a socket to a https address. Do I need to do anything differently than specify the address with the https, and port 443? For instance, string m_server= "https://www.webaddress.com" int m_port= 443; m_RecvBytes = new Byte[1000]; System.Net.IPHos...more >>

How to gei Last ID
Posted by Marko at 4/18/2008 2:26:10 PM
When I write new record with INSERT INTO i need to get ID (Autonumber, key of this table) from this, just written record. How to do that in ASP.NET (VB or C#) and SQL Server? Thanks ...more >>



Why x64 app runs slower than x86 app ?
Posted by Oleg Subachev at 4/18/2008 1:54:36 PM
I have played with Parallel Extensions and noticed to my surprise that executable compiled for x64 runs slower than compiled for x86: private static double HeavyMath( int I ) { double D1 = Math.Sqrt( I ) * Math.Pow( I, Math.PI ) * Math.Pow( I, 1 / Math.E ); double D2 = M...more >>

about using netrwork communication
Posted by Tony at 4/18/2008 1:12:53 PM
Hello! This is the scenario that we want to implement. Assume we have three computers called client1, client2 and client3 that must be able to register itself on server A. Meaning telling server A about its existence so other computers can ask server A for the identification for client2 fo...more >>

VB.net to C# and odd result
Posted by Jake at 4/18/2008 1:07:38 PM
I am converting VB.Net code to C# Module Test Public Function GetStrFromByte() As String Dim tmpByte As Byte() Dim tmpByte1 As Byte() ... tmpByte = RandomBytes(27) tmpByte1 = tmpByte FillByte(tmpByte) ... End Functio...more >>

Strange Problem Serializing XML File
Posted by zacks@construction-imaging.com at 4/18/2008 12:13:08 PM
A couple of the engineers I work with are seeing a strange problem with an application I developed in .NET 2.0. I am suspecting this is being caused by the environment since so far it only happens on one of our customer's servers. The server is a Microsoft Cluster Server that has a primary serve...more >>

How change application setting in class library project programmatically?
Posted by Ronald S. Cook at 4/18/2008 11:49:32 AM
In my solution, I have a client (Windows app) and a class library. The class library project has a connection string setting that I would like to be able to change (from the client project ultimately). However, when I try to change the setting programmatically, it says it can't because it'...more >>

Readonly .c file when runnning VS2008
Posted by Chris Freeman at 4/18/2008 11:38:21 AM
I'm sure I am missing something stupid. When I debug my VS2008 Asp.Net project the .c file is locked and I can not edit it. I use to do this in VS2005. Anyone have an idea what changed? Chris ...more >>

Check, if a given time lies between two times regardless of date
Posted by Mathias Weyel at 4/18/2008 11:10:55 AM
Hi there, I have time-of-day spans presented as strings and want to check, if, at a given time, I am within such a time span. Example: Timespan-string is given as follows: "09:00 , 16:00" A function should now return true if the current time of day is between 9:00 and 16:00 and false ot...more >>

Some question about design
Posted by Tony at 4/18/2008 10:38:50 AM
Hello! We have a Windows form application that use remoting to communicate with a server running some additional software that the windows form application is using. Note the Windows form application is most certain running on its own computer(client). We call the server that the Windows fo...more >>

EventArgs
Posted by GiJeet at 4/18/2008 10:20:53 AM
Hello, just wondering, in the event model windows uses, they use an argument wrapper class called EventArgs which you can subclass to encapsulate all the arguments you need to pass to any eventhandler method, so my question is, why is this model not used for pass arguments to ALL methods? Why pa...more >>

Com ports
Posted by }{ at 4/18/2008 9:38:20 AM
I have an app that reads a character string on com 1, waits for a signal (any ascii char) on com 2, then outputs the string on com 2. I seem to have a problem with the timing. It just so happens that the signal from com2 arrives at the same time as the next string for com1. Do the com port...more >>

Accessing Members of Dynamically Loaded Assemblies
Posted by Jordan S. at 4/18/2008 8:40:44 AM
I plan to load an assembly during application startup, and load that assembly via reflection (i.e., it isn't referenced in the application's assembly manifest). The assembly will be loaded into the application's default app domain, with code like this: using System.Reflection; Asse...more >>

using network communication in .NET
Posted by Tony at 4/18/2008 8:40:17 AM
Hello! This is the scenarion that we want to implement. We have a computer called A which register itself on a superviser server about it's existence so other computer can get the identification about computer A. Now computer B wants to communicate with computer A so computer B ask the s...more >>

Dataset and Datatable <83c25ae8-7561-41a1-b47c-550cee21fbd1@24g2000hsh.googlegroups.com>
Posted by Partha Mandayam at 4/18/2008 8:29:07 AM
What do you mean by "motor of data base "?...more >>

using System.Windows.Form
Posted by Tammy Nejadian at 4/18/2008 7:14:01 AM
Hi, I am using Visual Studio C# windows. Every time I want to use some of the methods in System.Windows.Form such as Clear(), it gives me error message and saying "System.Windows.Forms.TextBox does not contain a definition for 'Clear'". Could someone help me with that. This happen for other me...more >>

Naming convention and FxCop question
Posted by parez at 4/18/2008 6:37:19 AM
Hi, My namespace looks like DDD.DEF.Something.Otherthing DDD is abbreviation for the company name and DEF for the product name. FxCop is asking me to change it Ddd.Def.Something.Otherthing. Is it not ok to ignore pascal casing for abbreviations? TIA...more >>

Save Mapi.Message as MSG file
Posted by Nabil at 4/18/2008 1:55:36 AM
Hi, This is the first time I've posted something on here. I've looked around the web for hours and failed miserably. Hopefully someone out there would be able to help. I'm trying to save an MApi.Message object (which represents an email) to my hard drive or a network drive as an MSG...more >>

Save two richtextbox contents into a file
Posted by Ang at 4/18/2008 1:32:42 AM
Hi, How can I save two richtextbox contents into a file? if simply join two richtextboxes like joining two string, the output file will not show the value of second richtextbox. Thanks for reply. *** Sent via Developersdex http://www.developersdex.com ***...more >>

Save MAPI.Message as File
Posted by Nabil at 4/18/2008 1:30:30 AM
Hi, This is the first time I've posted something on here. I've looked around the web for hours and failed miserably. Hopefully someone out there would be able to help. I'm trying to save an MApi.Message (which represents an email) object to my hard or a network drive drive as an MSG ...more >>


DevelopmentNow Blog