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# > june 2006 > threads for sunday june 11

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

Upgarding smart client application to .net 2.0
Posted by arun.goel NO[at]SPAM gmail.com at 6/11/2006 11:19:53 PM
Hi All, I have recently upgraded a smartclient application to .net 2.0. What really baffles me is that the app works fine in debug/release mode. But when I create a setup package or try to run the .exe the offline application block throws an exception on the following line of code... offlin...more >>

popup window
Posted by Jeff User at 6/11/2006 10:24:55 PM
VS 2003 C# IIS 6 Does anyone know how to send values to and pop up a new window, without leaving the current window. I need to be able to control the size of the popup window. The values to be sent to to the popup window are not viewed on the page by the user. More specifically, I want to...more >>

Loading referenced types
Posted by Mantorok at 6/11/2006 5:48:45 PM
Hi I have a project that references one of our components, is there a way in ..Net to get a list of references that the application is depending on? The reason for this is so I can load certain dlls on app startup. Thanks Kev ...more >>

XML-based .NET Scripting Language?
Posted by Gene Jones at 6/11/2006 5:48:06 PM
So I'm starting to do some things where I'm going to want to add scripting in the application, and I can't find a scripting language to plug in that I like. So far I've looked at LUA and L-Sharp, but neither appeals to me. TCL would be okay, I guess, but still not really ideal. My Googling ha...more >>

Re: String.Concat vs String.Format
Posted by Mark Wilden at 6/11/2006 2:56:57 PM
"Mark Wilden" <MarkWilden@newsgroups.nospam> wrote in message news:... > "Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message > news:MPG.1ef4731d33dbc43798d22d@msnews.microsoft.com... > >>> Which of these is faster and uses less memory? >>> >>> String.Format("SomeValue='{0}'", m_Value); >...more >>

Writing sector(s) to CD
Posted by Peter Pippinger at 6/11/2006 2:10:40 PM
Hello NG, could you please point me to some resources, where i can learn, how to access the CD-drive for burning data on it. The device should be an ATA drive. No SCSI. Thanks for any help, Peter ...more >>

Deriving a sealed class
Posted by shawnz at 6/11/2006 1:48:32 PM
Is there any way to either derive a sealed class, or access private members of a sealed class? Either that, or is there a way to run internal methods in a sealed class outside the current assembly? I don't mind if the solution is hackish, the dll i'm writing is already full of code hacks. =p ...more >>

DataGrid - Float Fields
Posted by bad_boyu at 6/11/2006 12:00:18 PM
Hello, I am using Visual Studio 2003(C#) +SqlServer2000 I need some help.. I have a datagrid that is populated with a table from a database made in SqlServer2000. I have problems with the float fields from table! I want to format them to appear with only 2 decimals in the datagrid, but I did ...more >>



Connect between two forms
Posted by Avi G at 6/11/2006 11:09:01 AM
Hi, i've two forms i managed to connect with the two forms so if i press on the first form on tools and then option the new form is rising, but the probelm is, that i have on the new form a CheckBox that i can't see in the first form why? Thanks...more >>

Using a String as the name of a struct's field
Posted by Jeoryos at 6/11/2006 10:35:44 AM
Well here is some code that will help explain the situation: I first make a struct that actually will be used to save some server informations: struct Server { public String IP; public int CurrentBandwidthUsage; public int MonthlyNetUsage; public double Cost;...more >>

System.Windows.Forms.VisualStyles Error.
Posted by tongueless NO[at]SPAM gmail.com at 6/11/2006 9:17:27 AM
Whenever I have "using System.Windows.Forms.VisualStyles" in any project, VS2005 tells me that "'VisualStyles' does not exist in the namespace 'System.Windows.Forms.' Any idea what this might be? Thanks. ...more >>

how to cancel events for controls on a form when the form is closi
Posted by dchman at 6/11/2006 8:21:01 AM
I have a C# app in VS2005. the form has a datetime picker with valuechanged event. When the form closes, the valuechanged event is fired and an error is thrown in its code when it tries to get a selected value from a combobox which apparently doesn't exist anymore. I get around the problem...more >>

ListBox.SelectedItems.Count is always 1
Posted by ohadasor NO[at]SPAM netvision.net.il at 6/11/2006 5:36:18 AM
Even if I select several items, and I can see that several items are colored in blue. I can't get a list of all selected items. I also have listBox.SelectionMode = SelectionMode.MultiExtended; What can I do? ...more >>

Using Forms
Posted by Stewart at 6/11/2006 5:28:12 AM
2 questions 1. How do i set the whole form's opacity prop? Right now i have to set an event handler for each element on the form. Is there are better way to do this? 2. how do i make a form that has no border fully dragable... ie you can click and hold any where to move it around the deskto...more >>

Visual Studio 2003 dubugger visualizer
Posted by lupesko NO[at]SPAM gmail.com at 6/11/2006 4:26:35 AM
Hi, I would like to add some of my type with a debugger visualizer logic, simply to display a dynamically built string in the debug watch rather than the default type name. Anyone has a clue how this can be done? Thanks, Hagay. ...more >>

Attribute Naming Confusion
Posted by gary.goodwin NO[at]SPAM gmail.com at 6/11/2006 4:04:49 AM
HI I am trying to understand Attribute usage. For example the class SerializableAttribute is a class correct? So why when it is actually u sed the "Attribute" portion of the name is dropped. The sam is true of the AttributeUsageAttribute class and on and on. I don't get it. Gary ...more >>

Interview Question
Posted by kalit at 6/11/2006 3:41:22 AM
Can somebody help me with Interview Questions on C# ...more >>

Suggestion on Developer workstation please
Posted by Wenlei Fang at 6/11/2006 3:10:28 AM
Hi All, We are working on a large web project which will be implemented in C#2.0 and SQL2005. Our developers are going to get new workstations and we are in the process of acquiring workstations. Please kindly provide the configuration you are using now, so I can prevent my boss from buy...more >>

link buttons
Posted by Avi G at 6/11/2006 2:20:01 AM
Hi, i use VS 2005 and i have a form with 2 buttons on it, my question is how i can link to button 2 what button 1 do without put the hole code that button 1 do to button 2? Thanks....more >>

How to modify value of an attribute?
Posted by shukyh at 6/11/2006 12:28:53 AM
Hi All i have a XML file with 12 element named "device", and attribute named "project". i wanted to change only the value of one attribute. i tried: XmlNodeList nList = doc.GetElementsByTagName("device"); foreach (XmlNode node in nList) { node.Attributes[@"project"].InnerXml = "aaa"; } ...more >>

Marshal.Copy
Posted by Atmapuri at 6/11/2006 12:00:00 AM
Hi! When copying from IntPtr to an array, does the array has to be pinned or is that done by the Marshal.Copy method already? Thanks! Atmapuri ...more >>


DevelopmentNow Blog