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# > december 2007 > threads for friday december 7

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

Does C# have an implementation of the C++ Rewind() function?
Posted by Blip at 12/7/2007 11:11:16 PM
Thanks....more >>


Encoding Text für writing a textfile
Posted by Martin Fischer at 12/7/2007 10:24:05 PM
Hi everybody, i have a problem with teh StreamWriter Object. I want to force the Stream to write an ANSI-text. For reading from an filestream i can define the type of ASCI by setting System.Text.Encoding.Default. What about Wrting Textdate ? The result seems to be UTF7 -Charset, but no ...more >>

Input Language
Posted by Rajkiran R.B. at 12/7/2007 5:22:42 PM
Well I have multiple keyboard layouts installed in my system.. I have written a program in C# such that the required input language can be selected using the following piece of code InputLanguage[] lang = new InputLanguage[InputLanguage.InstalledInputLanguages.Count]; private void Form...more >>

Setting SmoothingMode.AntiAlias in a RichTextBox control
Posted by RSH at 12/7/2007 4:01:44 PM
Is it possible to override the onPaint event of the RichTextBox control to set the smoothing mode to anti-aliased? If so how do I do it? I havent been able to find anything about doing this on the web. Thanks! Ron ...more >>

Strange Enumerabl.Select behaviour
Posted by Oleg Subachev at 12/7/2007 3:32:48 PM
I expected that the following code: Random RND = new Random(); var S = Enumerable.Range( 1, 2 ).Select( i => RND.NextDouble() ); foreach ( var V in S ) Console.WriteLine( V ); Console.WriteLine(); foreach ( var V in S ) Console.WriteLine( V ); prints the same sets of doubles. But th...more >>

colordialog.color to int
Posted by Rinaldo at 12/7/2007 2:59:41 PM
How to cast colordialog,color to a int (or long) ?...more >>

~Destructor should call method for exit sequence, but instance is already null, example code attached
Posted by Rudi at 12/7/2007 1:58:47 PM
Hello, following problem: At program end or release an assembly a serial device should get a final exit sequence. How can I do this? With Dispose() it's no problem, but this assembly is used in a com interop dll and it must be guaranteed, that the final sequence is send to the serial dev...more >>

Getting main window from launched process
Posted by siddharthkhare@hotmail.com at 12/7/2007 1:51:26 PM
Hi All, I am launching a IE using following code. ======================================================================= m_IeProcess = new Process(); m_IeProcess.StartInfo.WindowStyle = ProcessWindowStyle.Minimized; m_IeProcess = Process.Start("IExplore.exe","www.ABC.com"); ================...more >>



BM MQ error
Posted by Selami Ozlu at 12/7/2007 1:43:01 PM
Hi, when i try to connect to IBM MQ manager, i get the following error An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object reference not set to an instance of an object. Here is my code: Regards, Selami Ozlu sela...more >>

Abstract Classes and Interfaces relationship between C# and VB.Net
Posted by Rich at 12/7/2007 1:28:00 PM
Greetings, I am actually a VB.Net guy, but I have worked somewhat with C++ and C#. I just want to ask about the relationship between Abstract Classes and Interfaces. My first question is if C# even has Iinterfaces. I took some Java programming classes and Interfaces are a main staple o...more >>

operator new with "value type"
Posted by carnold at 12/7/2007 12:22:29 PM
Hello, I'm a developer coming from C++ and Java ... I've going thru "Effective C#" (which highly recommend for people coming from other languages wanting to learn C#), and it states that "value types" are always created on the stack, but then showed the "creation" of one w/ operator new. I...more >>

Need to dump file on HD in browser: what are my options?
Posted by Steven Spits at 12/7/2007 12:19:04 PM
Hi group, I need to write a file in a network share automatically from within the browser. I realise this is an uncommon scenario that would need some work on the client side. The less the better ofcourse. I was thinking about using embedded .NET user controls in IE (using OBJECT). This ...more >>

WPF performance?
Posted by Rainer Queck at 12/7/2007 11:57:58 AM
Hello NG, In order to viaualize a production line, transporting a couple thousands "defects" objects , I wrote a little WPF application, where each object is reprsented as a little rectangle on a Canvas. To This "production line" I am adding objects in a Timer.Intervall of 5 mS The position...more >>

ANN: Code Explorer v2 for Visual Studio released
Posted by Gerrit Beuze at 12/7/2007 11:48:17 AM
+++ On 6 December 2007 ModelMaker Tools released +++ +++ ModelMaker Code Explorer for Visual Studio v2.0 +++ This new major release contains many exciting new features such as: += Visual Studio 2008 IDE integration += Source Indexer with tabbed searching Movie: http://modelmakertoo...more >>

WebRequest.Timeout issues
Posted by jehugaleahsa@gmail.com at 12/7/2007 10:45:15 AM
Here is a post from ages ago that never got replied to. However, I have experienced similar issues with WebRequest. It is as though the class will wait until the timeout is over.. I recently removed a WebRequest that attempted to retrieve content- length because the code hung at that line. And...more >>

how to call aspx file from one frame to another frame in c#
Posted by DNB at 12/7/2007 10:38:55 AM
i want to know how to call aspx file from one frame to another frame in c#. i hve made one aspx file in which i hve two frames. on one frame i hve made the buttons i want on click of button new file will open in another frame. Following is my frameset. When user clicks some button in LeftFra...more >>

Docking a Form into a Panel
Posted by Daniel Jeffrey at 12/7/2007 10:22:31 AM
Can anyone help me please. I want to dock a form into a panel Basically what I would want is a Panel that IS a MDI Container or a similar solution. Any suggestions? Daniel ...more >>

Regular Expression Question
Posted by Nightcrawler at 12/7/2007 10:21:43 AM
I am trying to parse out information using regular expressions. The textfile I am using looks like this (I am only using 3 entires but in reality the number could be anything): #TIME:12:58 C:\Documents and Settings\me\My Documents\My Music\Artist - Title.mp3 #TIME:12:59 C:\Documents and Sett...more >>

Multithreading WebRequests, a good and stable approach?
Posted by Nightcrawler at 12/7/2007 9:58:35 AM
I have a webservice that gets data from three websites and puts the result into a datatable and returns that datatable. Currently the webservice makes a WebRequest (using parameters in a querystring) to the first website, adds the data into a datatable then moves on to the second website, merg...more >>

Is it Possible to call a C# library (dll) from a non managed language such as Perl?
Posted by SteveM at 12/7/2007 9:44:16 AM
I suspect that this is either not possible or really really tricky, but need to ask. We have a great deal of work done in perl in our environment, and we are currently starting to do more work with .Net and C#. A marriage of the two would be nice. I believe its fairly straight forward to call un...more >>

Datasources and Display
Posted by Wingot at 12/7/2007 9:32:40 AM
Hey, I have an application codenamed WingFlex. It has a number of aspects to it, but the prudent parts for this problem are all within the "Client" Schema. The Client schema has three tables in it, on named Country, one named MedicalCondition, and one named Customer. The Customer database...more >>

OOP Question
Posted by RSH at 12/7/2007 8:32:11 AM
I was reading a tutorial on OOP principals and design and I stumbled on something that I don't understand. The tutorial used a Oven class. In that class there was a private field called temperature. class Oven { private int _temperature; public int Temperature { get { ...more >>

Asynchronous call, but not really
Posted by tcomer at 12/7/2007 8:25:42 AM
Hello, I'm working on an application that grabs some data from the web via HttpWebRequest. I'm using a local objects method to get the data, but the problem is that my form doesn't load until this method has finished what it's doing.. which takes about 10-15 seconds. Here is what I have: U...more >>

Checked List Box Issue
Posted by Soulless at 12/7/2007 7:44:14 AM
Hi, I have reason to need to use a checked list box. The list box contents will be filled with filenames in a directory. These values will change. I need the ability to be able to select a single item in the list, but also need to be able to check an item on. The issue is I only want to a...more >>

Secure LicenseProvider?
Posted by Ludwig at 12/7/2007 7:37:19 AM
Hi, I have successfully tried to use my own LicenseProvider; and have implemented licensing for a class: if the licensefile for a class exists and a certain Guid is in it, then de class gets a Licence and can be used by the host app. However, it's not very secure - the Guid can be viewed by...more >>

When is it good to have ILDASM
Posted by TonyJ at 12/7/2007 7:17:32 AM
Hello! Because of the existence of the ILDASM it must be good to have to solve some problems. I just wonder can somebody tell me more specifically what kind of problem is it an great advantage to have the ILDASM. //Tony ...more >>

How to extract all namespaces information from XML
Posted by Martin at 12/7/2007 6:46:45 AM
Hi, I have a huge xml document to be parse to get all the namespaces associated with each tag and to fill in XmlNamespaceManager object. how can i do it in a most efficient way? i am using .net and C# to code. -- Martin...more >>

Why does Thread class not support IDisposable?
Posted by Creativ at 12/7/2007 6:19:06 AM
Why does Thread class not support IDisposable? It's creating quite some problem. Namely, it can exhaust the resource and you have not control over it....more >>

TabControl flicker issue
Posted by aagarwal8@gmail.com at 12/7/2007 5:50:15 AM
Hi, I have a very simple form containing a TabControl with 2 TabPages. The Dock property for TabControl is set to Fill. TabPage1 contains a TreeView with some nodes. Tabpage2 is currently blank. The problem is when i resize the Form, lot of flickering happens. (I have set the windows appear...more >>

Image Viewer ...
Posted by Frank Uray at 12/7/2007 3:43:01 AM
Hi all I need to do a image viewer, just to view and zoom pictures in jpeg. I do not need to edit or save the picture. I am sure, there are some controls already made. I am thankful for any comment on that ! Best regards Frank Uray...more >>

new features in c# 3
Posted by DAXU@hotmail.com at 12/7/2007 3:20:44 AM
Hi, I just read some blogs which listed new features of c# 3.0. They listed things like Automatic Properties,Object Initializers etc. But frankly I do not see big changes from c# 2. It is not like in c# 2, they finally give us generics. Compare c# 2 to c# 1.1, generics is something huge. B...more >>

Retrieving URL from Clipboard
Posted by shirleylouis@gmail.com at 12/7/2007 3:16:43 AM
Hi Ppl, Could anyone help me out with retrieving URL from Clipboard using C#??...more >>

Rendering issue: AutoScrollMinSize and AutoScale
Posted by Nick at 12/7/2007 2:46:00 AM
Hi, I'm running into a scaling issue. I'm having a simple form. I have some control in that form (2 group boxes, one dock to the left , the other set to fill, with some misc. controls in them). I set the AutoScroll = true on the form and set the AutoScrollMinSize to 700 (which is good at...more >>

Writing to app.config
Posted by ryanbreakspear@norubbishgmail.com at 12/7/2007 2:37:26 AM
Hi, I've spent some time looking at articles about this but I can't get it to work. I'm trying to write to my app.config file in .Net 2.0 using: Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); config.AppSettings.Settings["email"].Value = "ryan@t...more >>


DevelopmentNow Blog