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# > march 2008 > threads for monday march 31

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

Dot Net Professional Require in Gurgaon
Posted by solutionsdxb@gmail.com at 3/31/2008 11:39:47 PM
Hi , We are looking for Dot Net Professional in Gurgaon , its in urgent requirement , if you are having experience of 1 -2 years in ASP.net , kindly forward your resumes to solutionsdxb@gmail.com , can forward the same to your friends or colleagues. Salary and Opportunity would be best in t...more >>


AccessViolationException error
Posted by Billy B at 3/31/2008 10:52:00 PM
I have an application in C# with a form that displays webpages. There are 4 web pages with links to each other. I get an error (and not at the same hyperlink) after navigating all the links numerous times. All the links work so that is not the problem. The code stops on the line indicated in t...more >>

Regex to retain only the HTML body
Posted by Karch at 3/31/2008 10:39:16 PM
If you run this: string result = "<html><head></head><body>The body</body></html>"; result = retainBody.Replace(result, "$1"); With the following Regex: private static readonly Regex retainBody = new Regex(@"<\s*body[^>]*>(.*)<[\s/]*body[^>]*>", RegexOptions.Compiled | RegexOptions.Ign...more >>

How to change font size in WebBrowser 2.0 ?
Posted by Polaris at 3/31/2008 9:55:57 PM
Hi Experts: In IE Explorer, users can change the text size by choosing one of the pre-defined magnifying factors at the lower-right corner's "Change Zoom Level". Just wondering, does .Net WebBrowser 2.0 provide similar function to reduce or increase text size? Thanks in Advance! Pola...more >>

Object reference set to a null reference?
Posted by Andy B at 3/31/2008 7:36:15 PM
I am having a problem with a few classes of mine. I have the 3 classes below (sorry if they are quite huge). When I do the following, I get a Object reference set to null reference error. Any idea what might be going on? Just a note that the whole Contract design isn't included since it would ...more >>

Adding resource to a file!
Posted by CSharper at 3/31/2008 6:30:19 PM
Just curious, When you are in IDE, you are able to add a resource to the project through resource tab. Later this resource can be accessed using the resource manager. One good thing about this approach is that, the resource file is build into the exe and using resource manager you can later get ...more >>

Accessing a shared class from another assembly
Posted by Ron at 3/31/2008 5:18:31 PM
I have two seperate assemblies, my Main project which contains a static class called MainProject.FormManager and a second assembly called CustomControls. Is there anyway to reference the MainProject assembly FormManager static class from the CustomControls class? The Static class is publ...more >>

Convert double to and from string alwasy using '.' as separator?
Posted by Bjorn Brox at 3/31/2008 3:44:50 PM
Hi! In germany, norway and France(?) we are using ',' as decimal separator and it always messes up when you convert a double to and from a string where the interface expects double values stored as string is using '.' What parameter shall I use in double.ToString() to ensure that the output...more >>



a state machine design question
Posted by tat at 3/31/2008 2:02:16 PM
Hi all, Sorry if this question is off-topic. I would like have your suggestion . I need to write one application which control a machine via serial port. There are 5 states in the following sequence: active, set, check, command, and clear. In each state, there are two sub-states: do and wa...more >>

Silverlight
Posted by Peter Morris at 3/31/2008 2:00:34 PM
Can anyone suggest which is the best group to discuss silverlight 2? ...more >>

debugging slows down other actions
Posted by tshad at 3/31/2008 1:56:53 PM
I am using VS 2005 and find that if I am debugging my program and am still in debug mode, certain functions slow down. For example, if I tracing through some of my code and haven't stopped debugging and try to open a Windows Explorer window, it will take close to a minute for the window to ...more >>

How to run script in command prompt using .net code
Posted by moondaddy at 3/31/2008 1:38:53 PM
I have a c# 3.0 solution where I need to periodically run a script at the command prompt for certain tasks. I would like to be able to do this from executing some .net code rather than manually coping the path to the script file into the command prompt and then running it. How can this be do...more >>

How to do subquery in linq?
Posted by Andy at 3/31/2008 1:18:51 PM
Hi, I have a query I'm building dynamically.. I start off with this: var query = from documents in db.Document select documents; I then use the Method syntax to add filters query = query.Where( d => d.CustPONumber.StartsWith( "ABC" ) ); This works, except that there...more >>

Many-To-Many Data
Posted by Arthur.Net at 3/31/2008 1:07:13 PM
Sorry, I am a newbie... I have two table joined by a cross ref table... CREATE TABLE [dbo].[ParticipationRole]( [ParticipationRoleID] [int] IDENTITY(1,1) NOT NULL, [ParticipationRoleStr] [nvarchar](50) ) CREATE TABLE [dbo].[DealCategory]( [DealCategoryID] [int] IDENTITY(1,1) NOT NULL,...more >>

iGrid.NET
Posted by Sylfelin at 3/31/2008 12:36:21 PM
Hello, Who use iGrid.NET component from http://www.10tec.com ? If you use it, how is it ? I want a component with more functionnality but with a correct price (not between $1000 and $2000 for single user) ? Thank's -- -------------------------- Merci Sylfelin ...more >>

How can I determine if a point is a given distance from a second point?
Posted by Tom P. at 3/31/2008 11:24:10 AM
I am writing a drawing program but I want to keep the scale down (there could end up being several hundred objects on the screen). I want to limit the points collected to a certain distance from other points already collected, in other words, if you're drawing a line it will only record points...more >>

SetCaretPos within OnPaint method of user control
Posted by Steve Richter at 3/31/2008 10:15:32 AM
How do I SetCaretPos within the OnPaint method of a user control? The caret either does not display or is not positioned where I expect it to be. I am guessing SetCaretPos is working outside the confines and relative location of the ClipRectangle. in the code that follows, the caret ends up ...more >>

compiler question.
Posted by CSharper at 3/31/2008 9:25:18 AM
I am using al.exe to build a exe from a .netmodule and adding a resource. I was able to do it and al.exe ran fine. I was expecting that the exe that get generated will have both my .netmodule and the resource and it seems not. When I copy just the exe to another directory and run it, I get filen...more >>

How do I change the current path for OpenFileDialog ?
Posted by Per at 3/31/2008 8:39:00 AM
I want to change the current path in the OpenFileDialog in runtime. When the user presses OK-button I'm checking the selected path if it's valid for my application. If it's not valid I want to set the path to a valid one in the FileOk-event and set the e.Cancel = true. ...more >>

Getting a file version
Posted by Sharon at 3/31/2008 7:42:00 AM
How can I read the version of an existing file? The file I checking is a COM dll file. ------- Thanks Sharon...more >>

ArrayList Question
Posted by Hoop at 3/31/2008 7:05:30 AM
Hello, I am trying to create a property to read and write strings into an arrayList. What I have is I create an arrrayList in my class, ArrayList m_circuitNames = new ArrayList(); And now am trying to create a property to read and write the list, public ArrayList CircuitName( int locati...more >>

Value Types and Reference Types
Posted by Dom at 3/31/2008 7:02:13 AM
Let me explain my mental image, and then tell me where I've gone wrong. There is a stack and a heap. A reference type sits on the heap, and its address sits on the stack. When you pass it to a method, you pass the contents of the stack, which is the same as passing the address of the object...more >>

ExtractAssociatedIcon Only 32*32?
Posted by Sin Jeong-hun at 3/31/2008 4:19:55 AM
Icon.ExtractAssociatedIcon() has no parameters. Surely we need all the sizes of icons when we actually writing applications, but it seems that ExtractAssociatedIcon returnes only one size, 32*32. How can I get other sizes like 16*16, 48*48? Is it impossible without P/Invoke? If there is a pure ....more >>

good opportunity for .NET DEVELOPERS...DONT MISS THE GOLDEN OPPORTUNITY
Posted by Rumki at 3/31/2008 3:45:23 AM
DEAR CANDIDATES, PHP & .NET DEVELOPERS We are young entrepreneurs in the field of Information Technology and have pleasure to introduce ourselves to you for valued co-operation and esteemed order. We are presenting ourselves in your esteem service as you desire. CFOTECH is an IT solution co...more >>

Setting the HttpRuntime.cache maximum size --- please help
Posted by almurph@altavista.com at 3/31/2008 3:32:05 AM
Hi, I'm calling the following from inside a DLL framework: HttpRuntime.Cache.EffectivePrivateBytesLimit; I get a massive number returned. I want to be able to set it to a lower value. This DLL is fed into a Web Application. I am using the following tag in the Web.config of the w...more >>

Come on guys!! Surely someone here knows something about custom serialization?
Posted by Jon Slaughter at 3/31/2008 1:11:39 AM
I am trying to write a custom method to serialize the class [Serializable] public class RTree<T> : IEnumerable<RTree<T>> { public T Value; // Value at this node public RTree<T> Parent; // Contains the parent node public List<RTree<T>> Nodes; // Container for Nodes public RTree() { Nodes = n...more >>


DevelopmentNow Blog