Groups | Blog | Home


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 2008 > threads for saturday march 1

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

How to delete an ini file's section and its data in C#?
Posted by Pucca at 3/1/2008 6:05:00 PM
Hi, I'm using vs2005 and .net 2.0 for a windows C# applicaiton. How can I delete an ini file's section and its data in C#? Is there a .net funciton I can call? Also, Is there a way to find out how many key & value entry under a section in a ini file? Thank you. -- Thanks....more >>


Guids in VS.NET 2005
Posted by Fredo at 3/1/2008 5:50:44 PM
I'm just curious, how do other people get new Guids to put in their code (if you ever use them). As I was just pasting in about my 2000th Guid from the "Create GUID" tool, the question occurred to me; Why in the hell by VS.NET 2005 can they not bother to update the Create GUID tool to simpl...more >>

Reflection and BaseTypes....
Posted by cwertman@gmail.com at 3/1/2008 5:15:55 PM
Ok, I am HOPING this is simple and I am missing the quite in front of my face answer I have not drunk enought caffine to answer. I have a method that accepts objects of an unknown type and origin. I am looking to "normailze" their storage in a 5 object database layer. 2 questions 1)How...more >>

16bppGrayScale
Posted by bern11 at 3/1/2008 3:44:22 PM
Anyone know how to create a 16bppGrayScale? The following code crashes at the save statement with an OutOfMemory exception: bmpTemp = new Bitmap(bmpBuffer.Width, bmpBuffer.Height, PixelFormat.Format16bppGrayScale); bmpTemp.Save(ImageSaveFileDlg.FileName); Am I mis...more >>

object traps
Posted by John Rivers at 3/1/2008 3:38:11 PM
hi does anybody know of a way to detect all accesses to an object including method or property entry and exit instance or static field read and write etc. this would be very useful during debugging but also at runtime imagine being able to implement an event handler for every write to a ...more >>

find similar content
Posted by Tem at 3/1/2008 3:29:06 PM
Im writing a forum app. I would like to know what are some ways to find posts with similar content to a selected post. (match certain important keywords, but not all words) what is the easiest way to do this? and what is the most accurate way to do this? can someone point me to the right d...more >>

Question about 'public' and 'public static'
Posted by Schizoid Man at 3/1/2008 3:03:14 PM
Why do I have to declare a 'public' function as 'static' in a public class in order to make it visible from another class? In this regard I don't understand how public functions without the static declaration are different from private functions, because I cannot call these method from outs...more >>

"The name 'Filepath' does not exist in the current context"
Posted by Gwen at 3/1/2008 1:40:01 PM
Please assist. New to C#. This below code is in a book it was used in VS 2005. I'm using VS 2008. On this line: using (System.IO.StreamWriter writer = new System.IO.StreamWriter(Filepath)) Error Msg: The name 'Filepath' does not exist in the current context Code: using System; ...more >>



How do I marshal a C# string to call a C++ function that needs a L
Posted by Pucca at 3/1/2008 1:40:00 PM
Hi, I need to call a funciton in a C++ Dll that requires 2 LPCWSTR parameters. How do I marshall this in my DLLIMPORT statement in C# (string trpe)? Thank you.? -- Thanks....more >>

Puzzeling .NET behavior with signaling (ThreadPool, RegisterWaitForSingelObject and AutoResetEvent)
Posted by solandre at 3/1/2008 10:41:49 AM
I have encountered some very puzzeling behavior of .NET which I'm seeking an explanation for: This is just a test program to check out how ThreadPool.RegisterWaitForSingelObject works. The following code .... class Program { static int NumRegisters=2; static Reg...more >>

Tricky VB to C# conversion
Posted by meerkatinfrance@hotmail.com at 3/1/2008 10:41:16 AM
I am trying to convert some VB that uses Linq into C# Is there anyone out there who is kind enough (clever enough) to show me how to convert the following Sub loadAddress into C# for me. Sub DoIt() Dim WWV5 As New WWV5DataContext Dim Xorg As Object If Roles.IsUserInRole("Admin") Then Xor...more >>

Implement Interface
Posted by Tony Johansson at 3/1/2008 10:08:05 AM
Hello! I have a generic BinaryTree called Tree<T> below where I have implemented the IEnumerable<T> interface. The class header is shown below. public class Tree<T> : IEnumerable<T> where T : IComparable<T> { .... .... } I have also another class called TreeEnumerator<T> where the interf...more >>

ASP.net multi-column listbox
Posted by Robert Smith at 3/1/2008 8:29:01 AM
Hi, I would like to use a multi-column listbox in asp.net (i.e. a web control). Do you know of any such controls out there. The standard listbox doesn't support multi-columns and datagrids and dataview don't have the same slick selection method. Thanks Robert...more >>

How to use objects for a DataGridView
Posted by Sin Jeong-hun at 3/1/2008 4:57:35 AM
Visual Studio .NET lets me to choose an object type (not an instance) for the datasource of a datagridview control. Then it automatically generates a ~~~bindingsource (~~~ is the object type name) component. But I don't understand how to use it, I searched Google for this, but couldn't find a t...more >>

Problem in executing the file?
Posted by Manish at 3/1/2008 4:20:08 AM
Hi friends, Iam new to this group. I have problem with executing the output(exe) file in a new system. I have created and compiled in a VS 2005 tool. when i run the exe file in a new system. its prompting me for send/don't send error. what should i do, for run the output. I have installed ...more >>


DevelopmentNow Blog