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 2004 > threads for saturday june 5

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

Project dependencies - ??? -
Posted by mp at 6/5/2004 11:24:10 PM
Hi, I have problem with project dependencies. I have made new setup application and everything works perfectly on my comp with VS 2003. On another computer with VS 2002 it does not work. Normally it does not work on computer without VS framework. I am not sure what proper way is to inclu...more >>


Help in array of array of classes needed
Posted by razovy NO[at]SPAM yahoo-dot-com.no-spam.invalid at 6/5/2004 10:14:49 PM
I want to create class Matrix which contains array of class Rows. Class Rows contains array of Cells. Here is the declaration: public class Cells { public int value = 0; public int color = 0; public int background = 0; } public class Rows ...more >>

Help in array of array of classes needed
Posted by Desperate at 6/5/2004 7:21:02 PM
I want to create class Matrix which contains array of class Rows and some additions Class Rows contains array of Cells Here is the declaration public class Cell public int value = 0 public int color = 0 public int background = 0 public clas...more >>

Running another exec file
Posted by No One at 6/5/2004 7:01:35 PM
I have a C# programme that needs to run some of Windows executable files. I first need to check if that programme is already running, and if it is, simply bring the window to the front. How can I search for a Window handle of an execute file? ...more >>

Getting file size from full file path and reading ID3 tags??
Posted by prelugejunk NO[at]SPAM hotmail-dot-com.no-spam.invalid at 6/5/2004 6:13:26 PM
I have the full file path of a file stored as a string and I'de like to get the file size in bytes. What is the most efficient way of doing this with a static method from the File class or something like I've been using to move/copy files around? I know this can be done by creating a FileInfo ...more >>

Custom serialization object type in C# throws exception
Posted by Opa at 6/5/2004 5:46:03 PM
Hi I'm having problem serialization an object instance which contains a public property on the object type My object hierarchy is many levels deep, so for simplicty I created to following which produces the same error Let's say there is a class called ParkingSpot with a public member Vehicle ha...more >>

string formatting
Posted by Grant at 6/5/2004 4:27:07 PM
Hi, While iterating through a loop and building a string is it possible to format certain string value? the completed string eventually gets passed to a rich TextBox. for example: ------------------ string thing = ""; foreach (Dataset.Row row in rows) { ...more >>

newbi question
Posted by Amadelle at 6/5/2004 2:03:47 PM
Hi all and thanks in advance, I have written a class library in C# (a set of cs classes) which I would like to install on our production webserver. It is used by some of the asp.net pages that I have written. Everything ofcourse works great on my local system. I have the class library set u...more >>



Event for mouse movement anywhere on screen?
Posted by harrylmh at 6/5/2004 2:01:43 PM
Hi, Here's the problem. Whenever the mouse goes out of the form or any control tat handles mouse move, the mouse stop sending it's coordinates back to the program. How can I correct this? What's needs is an event that is fired whenever the mouse moves or moves outside the bounds form. Thanks...more >>

newbee confused with [] and ()
Posted by Raymond Du at 6/5/2004 1:44:15 PM
Hi, I am confused about when to use bracket and parenthesis, say the following code snippet: for (int i=0; i< Request.Form.Count; i++) Label1.Text = Label1.Text + Request.Form.GetKey(i) + " "; will give me all names of elements in a form, however to get element's values I have to do...more >>

Regex performance?
Posted by Beeeeeves at 6/5/2004 1:16:36 PM
Anyone have any ideas on how fast .NET regexes are when operating on large amounts of text? (the input could be, say, 10KB of text, the regex's pattern would be fairly big ( getting on for 1KB perhaps, but non-too complex as 90% of that would be just lots of words strung together) particularly ...more >>

forms security
Posted by Troy at 6/5/2004 12:48:04 PM
I'm trying to setup form security through the web.config file but users can still get to the protected page by typing in the url. Here's my web.config authentication settings. Any help is appreciated. Thanks <authentication mode="Forms"> <forms name="myapplication" loginUrl="LoginPage....more >>

Socket dropping data? .NET newbie reduced to tears
Posted by Neil Saunders via .NET 247 at 6/5/2004 12:24:17 PM
Hello everybody, I'm hoping that somebody will be able to help me= before I cross the bridge of absolute insanity=2E I've recently started to teach myself C#, and to begin with I= have aimed to write a simple client/server system whereby the= server can request a thumbnail of the clients sc...more >>

# Mobile Continuous Data Display Problem
Posted by tim cummings via .NET 247 at 6/5/2004 12:22:23 PM
I am writing a program that interfaces with a cars pcm via the= serial port and recieves data (such as rpm) at an interval, of= lets say 1 second, and then formats it=2E The problem is, I would= like to display the data that is coming in over the port and= have it continously displayed until...more >>

Parameter.Add() problem
Posted by Timothy V at 6/5/2004 11:49:29 AM
Hi, I was looking at this method within the SqlCommand class. It is the SqlCommand.Parameter.Add(string, object) method. My question is, how do I use this parameter within a stored procedure? What i am really trying to do is dynamically change the ORDER BY method within the SPROC. For exa...more >>

casting and converting
Posted by Frazer at 6/5/2004 11:37:46 AM
hi, I am confused when to use (int) and when to use Convert.toint32.. eg here string s= "1"; int j = (int) s; //this gives me an error and i have to use convert.toint32. why is that so and how do i know when to use which. thnx ...more >>

how to find out the version of an assembly?
Posted by Bob at 6/5/2004 10:50:59 AM
I need to extract the version number of an assembly in my .NET Windows app. The assembly is not referenced by this Windows app. I think I need to use reflection but just can't figure out the coding. Could someone help? Thanks a lot in advance Bob ...more >>

Please reply as soon as possible.Very urgent.
Posted by Bill Yin at 6/5/2004 9:32:25 AM
Please tell me where can download <Beginning C# web Applications with Visual studio .net> 's code Thanks in advance! ...more >>

Newbee question on Form
Posted by Raymond Du at 6/5/2004 8:43:41 AM
Hi, Using c# in ASP.Net, how do I loop through a form collection? In ASP, I can do the following: for each o in request.form response.write o & ": " & request.form(o) & "<br>" next Thanks in Advance ...more >>

How can i now the column number in dataGrid in c#?
Posted by Gidi at 6/5/2004 6:46:06 AM

how to get domain name of a remote computer
Posted by Hakki at 6/5/2004 6:35:02 AM
We need to resolve with which computer my computer is communicating. We write a sniffer that gets pakets and so we resolve ip addresses and now we need to get their domain names. I think we need to use netbios protocol but I dont know how. How can we do this ... ...more >>

keyPress event on dataGrid Coulmns
Posted by Gidi at 6/5/2004 5:56:03 AM
hello how can i make a different keypress event for each coulmn in dataGrid (in C#, windows application) to whom i need to register the event?? thank you......more >>

Agile .NET Development
Posted by jasongorman NO[at]SPAM blueyonder.co.uk at 6/5/2004 5:32:51 AM
I've posted some tutorials on Test-driven Development and Refactoring in .NET at http://www.parlezuml.com. The site gets about 10,000 visitors a month, so I must be doing something right :-)...more >>

making subtitle using Quartz.dll
Posted by DotNetMania at 6/5/2004 3:49:28 AM
hi.. i have some question about Quartz.dll.. i am making avi player but there are a lot of problems i have to solve.. i want to know how to implement subtitle.. it means how to draw on the screen panel i used panel as movie screen.. and then contain usercontrol for subtitle. but mo...more >>

System.EnterpriseServices.Internal reliable ?
Posted by Kumarforg at 6/5/2004 3:21:01 AM
Hi I need to use the class IISVirtualRoot to create virtual directories in IIS What worries me is the warning in the documentation that reads "This member supports the .NET Framework nfrastructure and is not intended to be used directly from your code" How reliable and predictable is the behav...more >>

protected attributes / retrieving
Posted by ViperDK (Daniel K.) at 6/5/2004 1:08:09 AM
I want to make my own attributes that should only be used in derived classes so the base class can get some metadata of fields in derived classes. for that reason i try to define a new attribute class in my base class and use it in the derived classes... so far so good but when i want to retri...more >>

Custom ObjRef class
Posted by Matt Osborne at 6/5/2004 12:35:20 AM
Hello: I have a client server application that I am currently developing and have some issues that I feel can be best resolved using a custom ObjRef child class. I have created the class OK, and have overridden my MarshalByRefObject child class so that the CreateObjRef returns an instance o...more >>


DevelopmentNow Blog