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

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

WSE filters
Posted by Mike Schilling at 12/30/2005 10:02:33 PM
Today was my first experience using WSE filters in SOAP clients. One of the simpler things I wanted to create was an OutputFilter/InputFilter pair that calculates response time by having the OutputFilter store the start time in the SoapContext for the InputFilter to subtract from the end ti...more >>


HELP -- ASCIIEncoding Problem
Posted by Dino Buljubasic at 12/30/2005 6:21:00 PM
Hi, I am using a function to hash a string value: public string generateMD5Hash(string input) { MD5 md5Provider; // MD5 provider instance // generate byte code for input byte[] inputData = ASCIIEncoding.ASCII.GetBytes(input); // compute MD5 hash md5Provider = new MD5CryptoServic...more >>

Converting dataset to dataview and sorting?
Posted by Brett Romero at 12/30/2005 4:45:28 PM
I have a dataset with one table, which has four columns. All are of type INT. I need to convert this dataset into a dataview so I can sort on the last three columns. I may sort one of the three or all three at once. This dataview will display its results in a winform datagrid. Right now, I...more >>

Is User Interface Process App Block still current under .Net 2.0
Posted by David Veeneman at 12/30/2005 4:15:58 PM
I have done a little reading on Microsoft's User Interface Process Application Block, and I am thinking about investing a couple of days learning it. Is the AB still current under .Net 2.0, or is it now obsolete? Is it worth the effort to learn? Thanks in advance for your help. David Veenem...more >>

Parse MultiCurrency Strings to Decimals...
Posted by Navid Azimi at 12/30/2005 3:36:16 PM
What's the best way to parse a currency string to a decimal given the possibility of multiple currencies? That is, my numeric string can be ($12.00) or -=A312.00; in either case I want -12.00 to be returned. I understand that this may be slightly difficult given non-symbol currency strings (F or...more >>

I LOVE THIS JOB !!!
Posted by I LOVE THIS JOB !!! at 12/30/2005 1:33:45 PM
I LOVE THIS JOB !!! For everyone, who needs money. Are you on the search for a lucrative source of income? Would you like to work of at home out of, without yourself you someone makes directions? Would you yourself like to determine, when, how much and like often you salary? Work for yo...more >>

Running an executable or class automatically after build?
Posted by richard.sutcliffe NO[at]SPAM gmail.com at 12/30/2005 1:14:29 PM
I've written a class to automatically produce a Google sitemap file for my ASP.NET projects. What I'd like to do is automatically run this when I build my project so that a new sitemap is produced whenever I make changes. I can make this into a console app, if it makes the job easier. Can ...more >>

split with no char
Posted by Maarten at 12/30/2005 1:11:43 PM
Hi all i'm trying to split a string without a separator example: 0011010 = s(1) = 0 s(2) = 0 s(3) = 1 s(4) = 1 s(5) = 0 s(6) = 1 s(7) = 0 s there a way to fix this regards maarten. ...more >>



Q: Document Function
Posted by Visual Systems AB (Martin Arvidsson) at 12/30/2005 1:00:27 PM
Hi! This is probably not the right NG but i will give it a go. When i create a document.xml file of my code, it's totaly unreadable for the eye. When i created a document in Studio 2003 it created a HTM, and a XLT file (I think it was XLT, some sort of layout) Why isn't this create...more >>

ACT & HTTP 403
Posted by news.usenet.fr at 12/30/2005 12:29:51 PM
Hello, I created a new script in ACT and I started the test for 1 connection and 1 iteration. The result was Ok (HTTP 200 and 302) When I increment the number of iterations the result is still Ok. The problem arrives when I increment the number of simultanous connexions (~10) : I have s...more >>

useUnsafeHeaderParsing(WebRequest) in Win app.config
Posted by MikeZ at 12/30/2005 11:51:02 AM
I use WebRequest.Create/WebRequest.GetResponse to handle HTTP request in a VS2003 project. I got HTTP violation exception on some of the machine. So I did the research, and found to put <useUnsafeHeaderParsing ="true"> in app.config can fix the problem. But the app.config cause problem on o...more >>

How to do "Compile time" initialization of record array?
Posted by John Kelsey at 12/30/2005 11:36:48 AM
Back in the "old" days with C, I used to do something like... struct { char Description[20]; float price; } Items[] = { {"Apple", 1.99}, {"Banana", 2.04} }; If I wanted to do something similiar (and I do), does anyone have hints for an obviously new C# programmer? Any ...more >>

Refersh parent form and pass new values
Posted by Vivek at 12/30/2005 11:27:40 AM
Hi, I wish to refresh the parent form and pass the new values from child form. How can I do it? Thanks ...more >>

C# user.config confusion
Posted by Bit Twiddler at 12/30/2005 11:04:29 AM
Hi, I have a windows form app which would benefit from the new application settings support in VS2005. Say that my form has a single textbox on it. When the form closes I would like to save the text in that textbox as part as the user level application settings. When the application re...more >>

Simple focus Q
Posted by Steve B. at 12/30/2005 11:02:02 AM
Form1() has a selection menu for the user. Form1() calls Form2() with menu selections. Form2 opens a Crystal Report viewer. How do I this.Close() the Form1 properly so the user doesn't have access to the previous selection menu when the CR viewer opens. Currently, the menu stays open be...more >>

Renaming files in a directory
Posted by null NO[at]SPAM null.com at 12/30/2005 10:23:14 AM
I am a novice in C# and need help. I want to write a simple program to read a bunch of files from a specified directory and rename those files in a sequential fashion., changing a bunch of image file names. For example, changing: a011.jpg a 011.1.jpg i234.jpg to img001.jpg img002.j...more >>

.NET Lookup Algorithm: Which is fastest?
Posted by The One We Call 'Dave' at 12/30/2005 10:21:00 AM
I have a list of DateTime objects stored in a collection: SortedList<DateTime,Object> MyDates=new SortedList<DateTime,Object>(); The dates, which can be accessed via MyDates.Keys, are stored in ascending order. What is the fastest way to find the MAXIMUM date within 'MyDates' which is LESS...more >>

How to get the number of nonempty rows in excel application?
Posted by Gary at 12/30/2005 10:14:02 AM
Hi, there, I have an xls file, and need to get the number of nonempty rows from one worksheet. How to know what is the last line of this worksheet? I am using Microsoft Excel 9.0 library, Excel 2000, and C#. Thanks, Gary...more >>

Is there LabelArray (VB6) in C#?
Posted by Scott Starker at 12/30/2005 8:37:37 AM
Greetings all. I have a program that I've written in VB6 and now want to re-code in C#. But I have a problem in that there is no LabelArray in C# like there is in VB6. Is there any easy way to do this VB6 LabelArray in C#? Scott ...more >>

Drawing on CodeWindow - AddIn
Posted by Mythran at 12/30/2005 8:37:18 AM
I created an addin and wrote a class that inherits from System.Windows.Forms.NativeWindow. In the Connect method, I created an event handler to listen for DTE.Events.DocumentEvents.DocumentOpened. In the handler for DocumentOpened, I call EnumChildWindows. In the callback for EnumChildWin...more >>

Name of control
Posted by Curious at 12/30/2005 7:56:06 AM
Hi, What the name of the control that is used in Visual Studio for the Properties Window, Solution Explorer, etc Thanks in Advance ...more >>

[DLLImport] Attribute where is default dll location
Posted by Lenn at 12/30/2005 7:01:02 AM
Hi, I have a DLL with unmanaged function written in C. I need to call from managed C# code, where should DLL have to placed, bin folder system32? And can this location be changed. I haven't found anything useful in this regard on MSDN documentation. Thank you ...more >>

DirectorySecurity IdentityNotMappedException
Posted by Nick at 12/30/2005 5:02:05 AM
Hello, I'm trying to add a DirectorySecurity ACL entry to an existing directory (based on some code I found in the msdn). However, this code only works on local machines because I can't specify a server to resolve the identity, so when I try on a remote machine it just can't find the user. ...more >>

Sqldataadapter not accepting colums containing reserved word
Posted by archana at 12/30/2005 4:58:44 AM
Hi all I ma having problem in sqldataadapter. In my sql database i have one table containing column name as 'Name and address'. Here 'and' is reserved word which i am using in column name. In sql server at a time of inserting data into the table it is working properly. But when i try to ...more >>

AppFriendlyName not applying
Posted by Nick at 12/30/2005 4:19:00 AM
Hi Guys, I'm trying to set the property of AppFriendlyName to a IIsWebServerSetting class in an IIsWebServer. However, when I take a look in IIS manager, under the AppPool tree it just says "ROOT" instead of the name I have specified. ***************************************** string theDom...more >>

Strange Situation
Posted by Amit at 12/30/2005 3:06:25 AM
Hi I have occured a very strange situation. The scenario is as follows. I have two buttons in the form. First button is Load button and the second one is Delete button. As the name suggests when 'Load' button is clicked, some data is loaded on the screen. When the Delete button is hit, this...more >>

EnumFontFamilyEx() in c#
Posted by a_man at 12/30/2005 3:05:11 AM
Hello everyone, Im writing an application which is printing pricelabels. Im using a label printer which has certain device specific fonts, which are not available through installedfontfamily. I=B4ve learnt that i must write my own enumfontfamilyex function in c# . Im not quite sure how to do...more >>

AppDomain.GetCurrentThreadId() and ManagedThreadId are different
Posted by peter.moss NO[at]SPAM gmail.com at 12/30/2005 2:08:31 AM
I have an application that use log4net for operational logging. I store some user data elsewhere and need to tie the two together. To achieve this I pass the ThreadId across on the user table so I can see what thread the user was running under and then look in the log4net table to see what the...more >>

Reasoning for creating an appdomain
Posted by Kalpesh at 12/30/2005 12:59:18 AM
Hello All, What is the scenario in which creating & unloading appdomain (other than the default appdomain) is required ? Kalpesh ...more >>


DevelopmentNow Blog