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# > january 2005 > threads for sunday january 23

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

Help with asp.
Posted by Hayden Kirk at 1/23/2005 11:36:21 PM
Hi I was wondering if someone had some good sites for learning c# for asp.net I cannot find much. Thanks ...more >>

Crystal Load Report Failed
Posted by Seema at 1/23/2005 11:05:02 PM
Hello I am trying to create a normal report , i tried 3 ways. 1. Connecting to SQL db table 2. Creating dataset.xsd and using the same as datasource while creating a report and passing disconnected dataset at runtime. 3. Creating dataset.xsd and using the same as datasource while cre...more >>

Auto put / in date fields
Posted by Ricardo at 1/23/2005 9:58:14 PM
How di I do to when the user is typing a date in a textbox when he type the 2 days numbers, the next caracter ( the / caracter) appears??? []s... ...more >>

Populating a combobox from a table
Posted by Nicolae Fieraru at 1/23/2005 8:05:12 PM
Hi All, Could somebody provide me step by step instructions of how to populate a combobox with values from a table (any table from northwind.mdb will do). What I have done is: - I added on the form combobox - I added an oledbConnection which I set to point to the Northwind.mdb database - ...more >>

NamedPipes
Posted by Susan at 1/23/2005 6:51:02 PM
Can someone please point me to a web site or other documentation on how to use named pipes or an example would be nice? We are currently using a private message queue are are trying to switch to namedpipes because of some issues. Any help would be appreciated. :) Thank you, Susan...more >>

Newbie: instantiating an object?
Posted by Mykl at 1/23/2005 5:02:48 PM
Hi all... I'm doing ok so far trying to learn C# on my own, but can't seem to find the answer to this question... When you instantiate objects, I'm just wondering, why in C# do you have to go: ObjectName varName = new ObjectName(); It seems redundant--- why wouldn't the designers of C# ...more >>

Using internal modifier on set accessor ..
Posted by Anders Borum [.NET/C# MCP] at 1/23/2005 3:31:49 PM
Hello! With C# 2.0 coming up, I was wondering what your thoughts are regarding the introduction of access modifiers on set accessors. Personally, I like the first example, because of its simplicity. The second seems rather dangerous and the third one - well, quite verbose. I'm trying to c...more >>

Converting a security descriptor
Posted by Jan Nielsen at 1/23/2005 2:52:39 PM
In a C# application I'm using the NetShareGetInfo API function to get some information about a share. This is working all right. Now I want my application to be able to display the contents of the security descriptor as well. Using NetShareGetInfo I get a IntPtr (SECURITY_DESCRIPTOR*) to th...more >>



Simple Division
Posted by Colin Basterfield at 1/23/2005 2:29:36 PM
Hi there, I have come back to C# from a Delphi project and got myself stuck with a simple division. I have the following expression perDayCount = (_daysInMonth / budgetTotal.BudgetCount); where perDayCount is float _daysInMonth is int budgetTotal.BudgetCount is short now the va...more >>

Testing C# interpreter
Posted by Alexander Baranovsky at 1/23/2005 2:13:15 PM
Hello, I'm finishing creation of C# interpreter based on the ECMA-334 2nd edition. Could you offer please good links on C# code samples which can help me in the testing? I mean brief C# samples which illustrate separate language features: arrays, delegates, operator overloading etc? Thank y...more >>

Split a text file into several based on output file size.
Posted by TJ at 1/23/2005 2:06:31 PM
I am very new to C# (this is my first real project), therefore please be patient if my question is considered being to newbie. I am modifying a program which takes a text file, does some formatting then outputs the resulting file. What I am trying to do is have the program make as many...more >>

System.Web.Mail namespace "missing" in VS.Net
Posted by Pete Hearn at 1/23/2005 1:30:57 PM
Hi For some reason, I cannot type "Using System.Web.Mail" in my ASP.Net app using intellisense. The dot after System offers me Web which I select, then another dot after Web does not put up another list. Typing it in manually chokes the compiler. Is there something I should have installed...more >>

Tiff to JPEG
Posted by ZUP_DUDE at 1/23/2005 12:03:25 PM
Hi All, I'm using the System.Drawing.Image name space to convert images from one type to another. In this case I am trying to convert a Tiff to a JPEG. The code is as simple as the next two lines... System.Drawing.Image image = Image.FromFile( this.importFilePath ); image.Save( exportFilePa...more >>

How to create a set of arrays with FOR loop?
Posted by yaya via DotNetMonster.com at 1/23/2005 11:18:24 AM
Let's say I wana create a set of arrays A1,A2,A3.... so if I use a for loop, can I create the arrays ? for(int i=0; i<3; i++) { int []A(i+1) = new int[5]; } ^ | A1,A2,A3 -- Message posted via http://www.dotnetmonster.com...more >>

WebRequest ignoring cache
Posted by Pete Davis at 1/23/2005 10:41:20 AM
First of all, I apologize. I wanted to post this in microsoft.public.dotnet.framework (as it's a bit more appropriate there), but Outlook Express is suddenly giving me errors whenever I go to that newsgroup and I have to restart OE. I'm using WebRequest and I want to bypass any caching in the ...more >>

How To: talk between Threads
Posted by Chang at 1/23/2005 10:34:50 AM
How to send information (or data) between 2 different threads? Thx. Ch ...more >>

how to restart PC in C#
Posted by lzhx NO[at]SPAM 0536.net at 1/23/2005 9:49:40 AM
I want use C# to restart my computer, how to? ...more >>

sqlserver stored procedure
Posted by aditya pathak via .NET 247 at 1/23/2005 9:39:16 AM
I have created this stored procedure but it give a runtime error ==Invalid object name '@v3'===. please help me what to do? ------------------------------------------------- CREATE proc updateLangRow @id int, @des text, @fl1 text, @fl2 text as set nocount on declare @v1 varchar(200) ...more >>

Indexof problem, or what?
Posted by How Gee via .NET 247 at 1/23/2005 9:38:56 AM
Hi All! Please help me. Here is a very simple C# code: string text="asdasdC4C81A9CCsdfsdf"; Console.WriteLine(text.IndexOf("C4C81A9CC").ToString()); The result is -1, but why? A little bit change: string text="asdasdC4C81A9CBsdfsdf"; Console.WriteLine(text.Inde...more >>

How to make a control unfocusable
Posted by namra tayyab via .NET 247 at 1/23/2005 9:36:25 AM
Can any body help me on how to make a control unfocusable, while staying enabled and visible?? (Type your message here) -------------------------------- From: namra tayyab ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>45TRKHoxb0usCoYSKqyZ4Q==</Id>...more >>

Capturing Console output and displaying on web page in C#dotnet
Posted by Hema Rayapati via .NET 247 at 1/23/2005 9:35:27 AM
(Type your message here) I have a console application which runs all the time=2E The main= purpose of the console application is there is a filewatcher in= the program which watches for the files in a directory, and= whenever a new file comes i rename the file , and i'm displaying= some con...more >>

Copy the contents from richtextbox to another richtextbox with diff. font, style,collor backcolor etc.
Posted by shafiqul amin via .NET 247 at 1/23/2005 9:32:53 AM
(Type your message here) Hi, I am developing a instant messanger.But I can not transfer the text of different font and sytle from user richtextbox to conversation richtextbox. plz help me providing guidelines and code if possible.thanx -------------------------------- From: shafiqul amin ----...more >>

Why doesn't ImportRow() work?
Posted by Michael Van Altena via .NET 247 at 1/23/2005 9:30:36 AM
Why doesn't the following add a row to the table dtTemp1? System.Data.DataTable dtTemp1 = new System.Data.DataTable("Test1"); dtTemp1.Columns.Add("ColumnA", System.Type.GetType("System.String")); dtTemp1.Columns.Add("ColumnB", System.Type.GetType("System.Decimal")); System.Data.DataRow o...more >>

Iterating through an enumeration?
Posted by Jamie Winder via .NET 247 at 1/23/2005 9:28:54 AM
Is it possible to iterate through all of the possible values of an enumeration? (with foreach, maybe?) What I need to do is fill a ComboBox with all possible values for an enumeration. e.g foreach ([value] in [enumeration]) { comboBox1.Items.Add (value.ToString ("G"); } Is this pos...more >>

circular dependency
Posted by Rimma Meital via .NET 247 at 1/23/2005 9:28:34 AM
I have 2 DLLs (Class Library). Both defines single-ton objects - logger object (writes to logger) and application_management object (stores paths and other things, reads ini file of the application). Both needs to refer to each other -> application_management can write to a logger and logger need...more >>

circular dependency
Posted by Rimma Meital via .NET 247 at 1/23/2005 9:28:28 AM
(Type your message here) -------------------------------- From: Rimma Meital I have 2 DLLs (Class Libraries). Both defines single-ton objects - logger object (writes to logger) and application_management object (stores paths and other things, reads ini file of the application). Both needs to r...more >>

Getting list of assemblies and their paths
Posted by billb at 1/23/2005 6:57:03 AM
I need to figure out how to get a list of everything in the GAC and a path to it. I have code that will go through and get a list of the assemblies through Fusion, however, when I do an Assembly.LoadWithPartialName() the directory I receive back in "Location" appears to be the actual dll inst...more >>

Constructor good for loading file contents?
Posted by Gustaf Liljegren at 1/23/2005 6:16:29 AM
This may be a question of taste, but if there is a best practice, I want to know. I have two choises: SomeClass s = new SomeClass(file); // Load the file or SomeClass s = new SomeClass(); s.Load(file); // Load the file The object 's' is constructed from contents...more >>

message box
Posted by jima80 NO[at]SPAM gmail.com at 1/23/2005 4:39:41 AM
Hello, I present data in a message box but the lines there are long and message box brakes the line. Is there a way to enlarge the message box size,to adjast it to the text presented inside of it? Thanks a lot!...more >>

partially transparent window, alway on top
Posted by rnott NO[at]SPAM nospam.ilternet.edu at 1/23/2005 3:21:25 AM
Is it possible in C# .NET to create a window that is always on top of all other windows, while at the same time being partially transparent? If not in C# .NET, how about in C++ .NET? As an example that this kind of thing is possible, the splash screen of Adobe Reader (formely Acrobat) seems ...more >>

try to generate System.InvalidCastException intentionally
Posted by Jack Wasserstein at 1/23/2005 1:25:06 AM
I am trying to intentionally cast a string value into an integer, such as the text "Jack" into a Integer variable to generate the exception InvalidCastException. This is for an excercize on generating exceptions. However, the compiler is catching the would be mistake before i can run the pro...more >>


DevelopmentNow Blog