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 2007 > threads for sunday 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

Is there any method konw how a mail send successful when use SmtpClient?
Posted by Kevien Lee at 2/4/2007 11:47:18 PM
Hi, When use the SmtpClient class,it is easy to send an e-mail,but how to konw that if the mail send successful,such as timeout and so on? can anyone advice me? Thanks ...more >>


application name
Posted by Mark at 2/4/2007 10:00:27 PM
How Can i get the Running .EXE,Dll With Extension Mark ...more >>

Automatically Add Comment Header to Source Files
Posted by jonfroehlich at 2/4/2007 9:28:38 PM
I am looking for a Visual Studio plugin or macro to manage comment headers in my .cs files (e.g., for copyright and/or open source license information). I realize that I could edit the template Class.cs file in %Program Files%\Microsoft Visual Studio 8\Common7\IDE \ItemTemplates\CSharp\1033\Clas...more >>

Can i add com dll in GAC.
Posted by archana at 2/4/2007 8:41:38 PM
Hi all, Can anyone tell me if i can add com dll in GAC. If yes how will i do this? Is it using interoperability? Any help will be truely appreciated. Thanks in advance. ...more >>

find method in app
Posted by Mark at 2/4/2007 8:29:07 PM
how can i check if a member/method or class is in the current Application are there tools to do this like ismethod() or isclass() etc. or do i need to create a special class for a exception Handler Mark ...more >>

Datagrid and relation between two table.
Posted by archana at 2/4/2007 8:07:00 PM
Hi all, I am having application where in i am having datagrid showing 2 tables with relation between them. When i click on relation which set i get records of second table in same datagrid. And to go back i have to click on back buttoon. What i want is to display both tables in same grid. L...more >>

Help regarding runtime host.
Posted by archana at 2/4/2007 8:03:43 PM
Hi all, Can anyone tell me what is runtime host? and what is its use in .net application. I have heard that to start .net application we need runtime host. But where exactly it comes into picture? Any help will be truely appreciated. thanks in advance. ...more >>

how to save a web page using C# windows application
Posted by niting85 NO[at]SPAM gmail.com at 2/4/2007 7:47:59 PM
I m trying to develop an web browser with all the inbuilt functionalities as are provided with any other exisisting explorer.I am a beginner in this field and would like if anyone can prpose a solution for the same giviing an idea for developing the save as web page option. ...more >>



About C# Generic
Posted by hangaround at 2/4/2007 7:36:00 PM
Where could I find some useful documentation about C# Generic? Thx in advance....more >>

key translations
Posted by dave at 2/4/2007 6:02:45 PM
in win32 we had chr() and asc() how do i translate key constants Example string mystring = "abc (embedded tab) efg"; Console.WriteLine("tab is at {0},mystring.IndexOf(?); Where can i find information on key constants and translating them.... thanks dave ...more >>

IE 7
Posted by dj_lx NO[at]SPAM cox.net at 2/4/2007 4:18:07 PM
Why does my version of Internet Explorer show this character many times ==== in my top left corner where the name of the website you are visiting is shown? Thank you! Alexey dj_lx@sbcglobal.net ...more >>

How do NetworkCredential and WebClient work?
Posted by Tosco at 2/4/2007 3:15:11 PM
I read many examples with NetworkCredential and WebClient, but no one with a real http address. They all work in theory, but I wasn't able to use them in the real world. The following code should access an ebay page. There is no redirection involved in TestPage. If you have an ebay account yo...more >>

Problem with datagrid
Posted by David at 2/4/2007 2:42:42 PM
Hi all, I am using C#, .NET 1.1 Windows Forms. I am populating a datagrid from a webservice. This works brilliantly. When the grid is populated, I click a cell and then transfer the row in the grid to the textboxes. This sort of works... The text boxes fill with data, but the data is fr...more >>

Managing xls
Posted by Bruno Kovaèiæ at 2/4/2007 2:35:34 PM
Hy! I'm having problem managing xls files from c#. I have 3 xls files, and need to merge it's sheets into one new file. Does anyone know how to do it? Thanks! ...more >>

What is wrong?
Posted by Adrian at 2/4/2007 2:31:13 PM
void establishAddress(out string [] address_line) { // do something } string[] address_to_print = new string[50]; address_to_print = establishAddress(out address_line); Apart from the fact that I could pass out an array, what is wrong with the above code? Adrian. ...more >>

Comparing different floats fails
Posted by O.B. at 2/4/2007 1:22:14 PM
In the following piece of code, the == operator is saying that the two different float values are the same. What's going on here? float testValueA = float.MaxValue; float testValueB = float.MaxValue - (float)1.0; if (testValueA == testValueB) { Console.WriteLine("Test Failed"); } ...more >>

Problem Inheriting UserControl
Posted by kan at 2/4/2007 1:17:01 PM
hi, Consider i have built a UserControl say 'ColorMixer' in proj 'Step1'(Windows Control Proj). Now when create another proj 'Step2' as Windows Control and try adding 'ColorMixer' as inherited ctrl to create new 'ColorMixerX' ,following problem arises. Above process completes successf...more >>

How do you create a library of commonly used structs, enumerations constants and functions using C#
Posted by Bit Byte at 2/4/2007 12:06:15 PM
Coming from a pure C/C++ background - recently started looking at C# for a project. The absence of header files in C# has thrown me "a bit of a curve". I want to modularise my code and put all the commonly used data types etc into a single compilation unit (library). How may I do this in C#...more >>

SkinCrafter Light Control download from Microsoft doesn't seem to work. Anyone?
Posted by owgur2000 NO[at]SPAM yahoo.com at 2/4/2007 7:55:35 AM
The SkinCrafter Light downloaded at https://msdn.microsoft.com/vstudio/express/register/ one of those things to try. Everything else I downloaded from the site seemed to work. But even the sample compiled demo program invokes the debugger. Must be something missing? The direction say to pu...more >>

how to get the process owner after querying WMI ?
Posted by anna_incoming NO[at]SPAM hotmail.com at 2/4/2007 7:04:54 AM
Hello, Using this sample code from MSDN, I would like to get the username of processes which is started conform the WMI query. I am not able to get username when calling GetOwner method of ROOT.CIMV2.Process . I know it would be something like this, but when I put in in the EventHandler ...more >>

OnPaste event from the clipboard
Posted by yevron2 NO[at]SPAM gmail.com at 2/4/2007 5:49:00 AM
Hello, I need to get a paste event from the clipboard every time somthing is begin copied in windows. I used the RegisterHotKey api to register ctrl +v and it works fine. The problem is that you can paste somthing using an edit menu... Does anyone know how can i catch a paste event from the...more >>

naming conventions checker
Posted by hlorofils at 2/4/2007 3:29:55 AM
Hi, Is there a source code analyzer for C# [similar to Java's Checkstyle] that allows enforcement of naming conventions? Ideally I would like to integrate it with NAnt/CruiseControl.NET. ...more >>

Object Styles -- System.Windows.Forms vs System.Web.UI.WebControls
Posted by Christopher Houdeshell at 2/4/2007 2:21:17 AM
System.Web.UI.WebControls.Button can load a style based on XAML. This can be done by using the Style method. I was wondering if there was a way to apply a XAML Style to a System.Windows.Forms.Button, since there is no Style method; I am unsure on how to do this. ...more >>

Unable to get line-breaks for a JavaScript 'alert' message using ClientScript.RegisterStartUpScript
Posted by Wayne Deleersnyder at 2/4/2007 1:15:59 AM
Hi All, I'm trying to create a function that will cause a pop-up alert to appear if dates which were chosen from a drop-down list were invalid on a page. There's 4 dates, so there's the possibility of 4 errors at once. I'd like to pop-up all the errors at once, so the user can correct all t...more >>

Keeping controls centered
Posted by Chris Saunders at 2/4/2007 12:57:36 AM
This is not actually a C# question but I'm not sure which newsgroup is appropriate for this question. My apologies if I'm being "off-topic". I'm writing and application that has a group box that contains a bunch of radio buttons and wish to keep this group box and its buttons centered when...more >>

How to add web user control to cell
Posted by Jeff User at 2/4/2007 12:04:58 AM
Hi Using C# in vs2003 to develop web stuff. I created a "Web user control" (.ascx and ascx.cs files), that contains a few simple (for starters) html items. I can place the item on webform at development time and it works ok. What I want to do however is be able to create an instance of...more >>


DevelopmentNow Blog