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 monday february 4

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

Web Service security on .NET 2.0
Posted by asciz at 2/4/2008 11:08:13 PM
Hello I am trying to work out which security mechanisms for Web Services are supported in .NET 2.0. For example, does it support SAML 1.1, SAML Token profile 1.0 and Username Token profile 1.0 ? Is there anywhere on Microsoft's website where this is specified? Thanks in advance -asciz...more >>


.net compact/smartphone
Posted by Heron at 2/4/2008 10:23:02 PM
Hi, Sorry if this isn't realy on topic, just didn't know where else to post it. I have this 6year old cellphone and finally decided to go for one of the new smartphones, since c# is my hobby I'd like to be able to develop small application for the phone so I've been looking for one that runs...more >>

Controling Graphics card hardware with C#
Posted by Wizfrog at 2/4/2008 10:06:00 PM
Hello, is there ways to access hardware from C#? In particluar, I am looking to change screen luminosity (or brightness/contrast values) from within a C# program. Hardware drivers / control panels can do that, but I'm not sure how to access these features... any idea which direction to look...more >>

converting VB codes to C#
Posted by Tammy Nejadian at 2/4/2008 5:35:01 PM
Hi, Could someone please et me know how I can convert the below codes from Visual Basic to C# using Visual studio. When each button clicked they create list box and Radio Button. I want to convert those codes into C# doing same action. The codes are: Private Sub bAddListbox_Click(ByVal sender...more >>

Quick question...
Posted by Johnny Jörgensen at 2/4/2008 4:54:35 PM
Is Visual Studio 2008's version number 9.0? Cheers, Johnny J. ...more >>

AxWindowsMediaPlayer volume changed event?
Posted by The Last Danish Pastry at 2/4/2008 3:56:49 PM
In the AxWindowsMediaPlayer class I can set the volume by using something like: mediaPlayer.settings.volume = volume; But, is there an event which fires when the user changes the volume? Thanks :) -- Clive Tooth http://www.shutterstock.com/cat.mhtml?gallery_id=61771 ...more >>

Sorting
Posted by Jeff Johnson at 2/4/2008 3:35:07 PM
Hi, I'm building the backend of a site for a client and one of the requirements is to add data to populate dropdowns which is straight forward, but they also want to control the order they appear in the dropdowns. I've created a field called 'Sort' using an INT for the datatype. I want to...more >>

FileStream.Close() & GarbageCollection - Memory Leak Question
Posted by Tom at 2/4/2008 3:18:40 PM
When I use a FileStream variable's null status to determine logic flow I can get an exception thrown because the variable is not set to null within the FileStream.Close() method. I could use try{}, catch{} blocks to trap out the error ... but I need to understand if programmatically setting the ...more >>



How to make MODI.Document not leak memory? I have millions of images to OCR but each time i OCR one it leaks memory. How to do the OCR and then clean
Posted by DR at 2/4/2008 3:17:06 PM
How to make MODI.Document not leak memory? I have millions of images to OCR but each time i OCR one it leaks memory. How to do the OCR and then clean up so that my app doesnt leak memory? MODI.Document miDoc = new MODI.Document(); for (int i = 0; i < 1000; i++) ...more >>

sharpziplib unzip tar sample framework 2.0
Posted by julio at 2/4/2008 11:21:00 AM
Hi, I write a program to unzip a Tar file generated on a Unix environment file using SharpZipLib, but returns a error "Header checksum is invalid" when execute the program. This error appears when I try to extract the files. Can any help me where is a sample to unzip a tar file TIA Julio ...more >>

Confused
Posted by Jacek Jurkowski at 2/4/2008 10:43:46 AM
.... if i'm at the beginning of new rich client application developement process what should I use? Windows Form or WPF template? What are the benefits of WPF and is it going to replace Win Forms in a time ... ?...more >>

Need flexibility when binding IEnumerable to ComboBox; still need DataTable?
Posted by Ronald S. Cook at 2/4/2008 9:49:53 AM
Using LINQ, I can bind my IEnumerable to my ComboBox no problem. However, in the past it would be a DataTable that I could insert a new row (e.g. "(Please select...)") and then sort it with a DataView and ultimately bind the DataView to the ComboBox. So, how can I do this in LINQ? Do I ...more >>

SQL Query to Linq (Group By and Sum)
Posted by Alex Sauceda at 2/4/2008 9:22:43 AM
Hi Everyone, I'm trying to convert this query into LINQ but I don't have idea how to do it. Select C.sName as CustomerName, S.sName as Salesperson, Sum(O.nQty) as Qty, Sum(O.mAmount) as Amount From tOrders O Inner Join tCustomer C On C.CustomerID = O.CustomerID Inner ...more >>

Connect to Access via Remote Object
Posted by Looch at 2/4/2008 9:11:05 AM
All, I have a remotable object hosted in IIS and one of the methods connects to an Access db on a different machine. I can't seem to connect to the access db. I thought there may have been a permissions issue so I copied the Access db to the physical directory that the virtual dir is pointe...more >>

How alias column name in LINQ?
Posted by Ronald S. Cook at 2/4/2008 8:51:36 AM
Hi.. Does anyone know how to alias a column name in LINQ. I.e. like putting "AS DiagnosisType" after a column in a select statement in SQL? Return From d In dc.Diagnosis _ Where d.Lookup.LookupCode <> "INA" _ Select d.DiagnosisId, _ d.DiagnosisName, _ d.DiagnosisCode, _ d.Lookup1.Looku...more >>

Getting HDD Serial of C drive.
Posted by Sin Jeong-hun at 2/4/2008 8:21:13 AM
Below is the code in Managed C++. It was originally written in C, and posted somewhere around the Internet (I forgot where I copied this code), and I changed it into Managed C++. This code returnes the serial string like "WD-WC1234567" of the hard disk where C drive is on. Now, I would like t...more >>

Creating a password login
Posted by cameljs18@yahoo.com at 2/4/2008 5:57:30 AM
When i start my windows app i want to have a password screen to come up then when the user types the correct password then it closes the password form and opens the mainform....more >>

Get/Set vs Public Variables
Posted by JB at 2/4/2008 5:48:25 AM
I was always taught in C++ that using public variables was a bad idea, which i could understand, so some generic get/set methods were usually wrote to access the data. Now in C# I'm just curious about properties. Say I have class SomeClass { private in data public int Data() { get {r...more >>

Procedure to create a com Component with ATL in Visual Studio 2005
Posted by Swapnil at 2/4/2008 5:17:02 AM
I want to create a COM component with ATL in Visual studio 2005. And want to add some methods in that. so can someone tell me the steps how to create that component & how to use that in C# application ( Introperability concept i want to use). Tell me the whole steps from starting....more >>

Colored text to Output Window
Posted by pinkfloydhomer@gmail.com at 2/4/2008 4:17:57 AM
Can I write colored output with Debug.Write() to the Output Window? /David...more >>

mucking with Event Definitions to get tighter coupling to Objects ?
Posted by Bill Woodruff at 2/4/2008 1:31:21 AM
WinForms app, C#, .Net 2.0, Visual Studio 2005, all the flavors of the FrameWork (and service packs) installed up to 3.5 Hi, I assume you're all familiar with the typical way you define an Event using a Delegate EventHandler, perhaps creating a CustomEventArgs that convey additional para...more >>

Evaluate constant parts of expressions in Linq
Posted by Andrus at 2/4/2008 12:28:05 AM
..NET does not evaluate constant parts of expression tree. For example, Northwind db = CreateDB(); var q = from p in db.Products where p.ProductName == ' '.ToString() select p; var l = q.ToList(); causes expression ' '.ToString() to be passed to linq driver. How to simplify exp...more >>


DevelopmentNow Blog