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
May 2008
June 2008
all groups > dotnet framework > june 2006 > threads for june 29 - 30, 2006

Filter by week: 1 2 3 4 5

How do I do this
Posted by Larry Smith at 6/30/2006 9:13:01 PM
Looking at the ".resx" files produced by the Windows forms designer, I see nodes like this: <data name="MyRadioBtn.Size" type="System.Drawing.Size, System.Drawing"> <value>94, 21</value> If you then read the "94, 21" back into your code as a string (exactly as seen), how do you then...more >>


Cryptography: RSA Questions
Posted by David at 6/30/2006 8:04:18 PM
1) Is RSA used by other programming system? Eg. If I gen. a key, can I share it and someone with Java, etc. access it? 2). When generating a public key, you get <Modulus> and <Exponent> values. What parts do you need to share with someone. Also, what is the correct format for these value...more >>

service pack ?
Posted by Spartaco at 6/30/2006 5:59:29 PM
do you know if there is a plan from MS to release a service pack for .net 2.0 and vs2005 ? thanks.- ...more >>

Escaping backslashes in XPath (C#)
Posted by chris at 6/30/2006 8:37:02 AM
I have an XML file which have nodes that contain filepaths, e.g.<path>c:\SomeDirectory\SomeFile.txt</path> I'm using an XmlDocument and XPath query to try and find a node XmlDocument doc = new XmlDocument(); doc.LoadXml(File.ReadAllText(xmlFilePath)); string somePath = @"c:\SomeDirectory\S...more >>

.Net framework and VB
Posted by Prateek at 6/30/2006 6:41:27 AM
Hi, I have recently started coding and designing the ,.NET based system using different technology involved in .NET and well from the subject line of this post, it is obvious that I am coming from a VB background. I have many years of expirance in designing distributed system based on ...more >>

Casting IEnumerable<T> to IEnumerable<V>
Posted by Daniel at 6/30/2006 4:57:31 AM
Suppose a collection class defined as: public class Friends: ReadOnlyCollection<Friend> {} where Friend implements IPerson: public class Friend:IPerson {} My question: is there a neat+lean way to implement IEnumerable<Person> in the collection class?: public class Friends: ReadOnlyCo...more >>

mail failed
Posted by Crespo at 6/30/2006 12:00:00 AM
hi,everybody I use dotnet 2005 and c sharp to deliever a mail to a certain mail address,but it failed with messages such as "invalid parameter,the server response: decode failed". My codes is listed belowed: try { MailMessage mailObj = new MailMessage(); mai...more >>

ImageAttributes isn't working
Posted by ryandailey21 NO[at]SPAM hotmail.com at 6/29/2006 10:23:12 PM
Hello, For some reason this ImageAttributes isn't doing what I tell it. I'm not sure what I am missing. I am trying to get background of the image to display as transparent. But it draws the image unchanged. Here's my code. Dim ImgColorMap(0) As System.Drawing.Imaging.ColorMap ...more >>



Convert to Long from Double that is over 18 digit long from Oracle
Posted by Jordan at 6/29/2006 9:53:01 PM
This is a serious bug in .NET 1.1 Using SQL select one field from Oracle table, This column Oracle data type is: Number(18), the field value is: 235312035283022003 which is the correct value. However, using DataReader, (We want the end result is long type, the only way is GetDouble(read...more >>

Opening projects from VS 2003 in VS 2005
Posted by Nathan Sokalski at 6/29/2006 5:07:20 PM
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005. I have several projects that I created in Visual Studio .NET 2003, but when I try to open them in Visual Studio .NET 2005 it tries to force me to convert them. for some of these it would be fine, but some of them run ...more >>

Now I need to do this without breaking ASP.Net
Posted by Patrick Bates at 6/29/2006 3:51:20 PM
I've been struggling for two weeks now to duplicate a VB6 ActiveX control in VB.Net, and also improve it's functionality. The control is used to collect the user's fingerprint and compare it to a stored copy on the server, and if the match is successful fill some hidden fields with values and...more >>

RSACryptoServiceProvider.VerifyData Hangs
Posted by PV at 6/29/2006 2:46:37 PM
I have found that RSACryptoServiceProvider.VerifyData sometimes hangs for several (typically 6 or more) seconds. This is very irritating since a component that I am using makes this call every time a form in my application opens. The entire application freezes. Obviously it makes my appli...more >>

Pinning a managed structure
Posted by Ulrich Sprick at 6/29/2006 2:43:30 PM
Hi all, is there a simple possibility to pin down a C# class member (a structure) so that I can use it in an unmanaged DLL? I only found the C# fixed() statement, but the structure is used throughout the whole application lifetime, so fixed() does not seem to be the method of choice... ...more >>

How to Stop a Listening socket?
Posted by rossu at 6/29/2006 1:52:01 PM
I'm trying to make a simple little asynchronous socket server. It accepts connections, reads and writes, but I can't make it gracefully stop listening. listener.listen(1) listener.beginaccept(...) If before anyone has attempted to connect, I try to stop the listener socket, I get nasty ...more >>

Up/down value conversions
Posted by Mike at 6/29/2006 10:43:49 AM
Greetings, We are using an up/down control to facilitate numeric data entry, however, we are noticing issues converting from the up/down value (apparently a Decimal) to the units we are working with (Double) and vice versa. There appear to be precision issues, and then we take those numbers a...more >>

Display text in different colors in a textbox using WndProc
Posted by digitalshehan at 6/29/2006 9:19:41 AM
Hi All, I need to have a text box that displays text in different colors. I tired overriding WndProc but I still couldn't. Below is the code snippet I'm using. Would appreciate if someone could help me out with this (wolud appreciate if the solution is done using WndProc) cons...more >>

MS Unit test and CruiseControl.Net integration
Posted by StuG at 6/29/2006 9:06:37 AM
Hi All, We are currently running continous integration using a server running cruise control.net. This server does not have VS2005 installed on it, only the .Net framework. Previously, we have been using Nunit to write our tests but I thought I would give the integrated MS unit test a go an...more >>

.NET UpDown KeyPress Beep
Posted by Mike at 6/29/2006 7:06:17 AM
Greetings, We are handling the KeyPress event in an UpDown control, which determines if Enter or Escape has been pressed, then closes the dialog with either a DialogResult.OK or DialogResult.Cancel, respectively. We seem to be having a beep occur when this happens, at some point after the eve...more >>

Maximum Characters in Stringbuilder?
Posted by avarga82 NO[at]SPAM gmail.com at 6/29/2006 5:44:45 AM
Hello, I'm using a Stringbuilder to building dynamic HTML, and I was wondering how long it can get before it gives up. I won't know the length of the HTML until it's finished building it. I've read a few articles that suggest setting an initial size when you instantiate it, but will that wo...more >>

binding to an unsigned assembly outside the appbase
Posted by janekw at 6/29/2006 2:20:52 AM
....is this possible? Can you perchance provide an entry in the config file which would allow such behaviour? I think it should be possible at least on the local machine, you can always copy those unsigned assemblies to a subfolder of your app, so it's not like it's a security feat. Thanks ...more >>

how to produce library documentation?
Posted by Lloyd Dupont at 6/29/2006 12:23:11 AM
I'm trying to write the documentation of my library using XML tags. I'm using NDoc but it doesn't support C# 2.0 very well. Any tip on what other product I could use? ...more >>

Event Broker
Posted by Goh at 6/29/2006 12:00:00 AM
Hi, How Event Broker actually work? Any simple examples show Event Broker future in simple way? Thanks , Goh ...more >>


DevelopmentNow Blog