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 saturday january 29

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

Please help me understand
Posted by Beringer at 1/29/2005 11:50:26 PM
I am trying to access some functionality of the underlying RichTextBox control and am getting all mixed up with conversions of types. I know my basic issue is not completely understanding reference types in C#. I would be much obliged if someone could "educate" me some. Since I need to us...more >>


creating interactive controls (hit test based)
Posted by Brian Henry at 1/29/2005 10:31:57 PM
Hi, Is there any good tutorials out there on creating interactive custom controls that have clickable objects that are drawn through GDI+ and use the hit test method to determin what to do with them? or any good controls I could use to look at the code for that do something similar (please ...more >>

input control id and for loop
Posted by nzanella NO[at]SPAM gmail.com at 1/29/2005 9:44:07 PM
Hello, I have a bunch of HTML input controls which I need to generate from within a for loop. I would like them to have id attributes set to values foo1, foo2, foo3, foo4, etc... Unfortunately it seems this is not possible because ASP.NET won't let me use ASP tags within the values of the i...more >>

how to control another program that is running
Posted by Tee at 1/29/2005 6:38:54 PM
Hi, Does anyone know how to control another program that is running? Eg: I would like to control the outlook express and tells it to minimize. Thanks. ...more >>

What control is being painted?
Posted by Blair Bonnett at 1/29/2005 5:25:52 PM
Hi all, Run into a problem I can't find a solution for. I'm writing a C# app which has a custom background for the form (a gradient). I've successfully overridden the forms OnPaintBackground(PaintEventArgs pevent) method to paint the background. However, it seems that some of the control...more >>

Protection via activation / product registration keys
Posted by Paul Aspinall at 1/29/2005 4:21:15 PM
Hi Can anyone offer any hints / tips for creating registration keys / application activation, as software copy protection measures for a Winform app developed in C#? Thanks ...more >>

get the name of a property
Posted by tolisss at 1/29/2005 3:58:10 PM
Hi is it possible to get a property name like someMethod(someClass.SomeProperty)=="SomeProperty" *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Excel range in C#
Posted by Jerry at 1/29/2005 3:37:02 PM
I am rewriting my vba routines to C# to increase speed. I have been unable to find any help on how to pass ranges to C#. Excel function that was called in VBA =CalcRows(A1,A2,B1:B140,C1:C140,D1:D140) A1 holds the type of calculation to perform A2 holds the number of rows to calculate B1:B...more >>



Passing structures between C# and C?
Posted by Germic at 1/29/2005 2:06:59 PM
Hi, I've never got an answer to this question in any group till now.... How do we pass a array of structures between a C# and a C DLL, I am using RCW interop? The C# Library gets an array of structures from a webservice and it has to pass these values to the C DLL so that the C DLL could pa...more >>

Create virtual method out of a virtual method
Posted by A.Bekiaris at 1/29/2005 1:56:24 PM
Hi I have an abstract class with some virtual methods which I inherit and create say Class1 I want to give end users the ability to override the virtual methods of the base class How this can be implemented? thnks ...more >>

send file with DirectPlay
Posted by Mohammad-Reza at 1/29/2005 12:45:02 PM
Hi Please tell me how can I send a file with DirectPlay to a server.(Client/Server program). Thanks in advance...more >>

Security in DotNet programs
Posted by Mohammad-Reza at 1/29/2005 12:43:01 PM
Hi I recently download and installed a program and its discompile a .NET program to any C# and VB.NET easily... What does it mean? Its means that dot net is easy to crack or something? What can I do solve this big problem(I mean security in my code). ...more >>

How to get a int or float from the keyboard ?
Posted by songjizheng at 1/29/2005 12:31:20 PM
I want to get a variable of int or float in the console .Now can I use this language below ? static void Main(string[] args) { // // TODO: ÔÚ´Ë´¦Ìí¼Ó´úÂëÒÔÆô¶¯Ó¦ÓóÌÐò // string c=Console.ReadLine(); Console.WriteLine(c); } ...more >>

Event Log: Access Denied, Permission
Posted by Sachin at 1/29/2005 10:57:10 AM
Hi All, I am trying to create and write to Event Log on Windows Server 2003 system in a simple C# application. However, it throws the exception saying that Access is denied. What permission and settings are required for creating and writing the event logs on the system. Any help or poi...more >>

TraView
Posted by tota at 1/29/2005 10:55:01 AM
i'm using a TreaView & i need to align the nodes of the trea to the right ( for Arabic ) i used this.treeView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; but not change , anyHelp ? is there is a way to set the Alignement of the controls & Test on the form from right to left ? so a...more >>

Garbage Collection and Visual Studio
Posted by Steve Murphy at 1/29/2005 10:29:11 AM
I'm working on an application where I use a single connection repeatedly to load records into a detail area, opening and closing the connection for each use. I do not use a VS connection control for this, I use my own code. So when the associated form is closed, where is the best place to final...more >>

Serializing Enum type is non CLS-Compliant.
Posted by Jim Hart at 1/29/2005 10:15:59 AM
Hi all! Can anyone explain this one to me. . . I have a 'Util' namespace with a 'Common' class that contains consts & values I use throughout multiple projects. One of the members of this 'Common' class is an enum like so: public class Common { .... public enum thingsAsEnums {CAR...more >>

Doctor@devdex.com
Posted by Doctor Prime at 1/29/2005 10:14:30 AM
I have a class library for accessing and saving data to a Database. I only ever want one instance of it in memory at any one time. I would like to create a Service for it like the ASP.Net State Service so that I can have many application that use the servic. Can anyone help me Thanks. ...more >>

Accessing Excel object in windows c# application
Posted by Kumar at 1/29/2005 9:37:02 AM
Hi Folks, I have a question regarding my windows c# application. This application just reads MS Excel file and puts the data in to sql server database. In that excel file ,it has one named cell as "OutputStampTime". I am facing problem while accessing this cell value. When I open excel, I ...more >>

GUI in C#
Posted by Synapsy at 1/29/2005 7:51:02 AM
Hi there all, I am currently working on a project in C# using .net as the IDE. Well the real problem i am facing is that i have many many class files and i wan to create a GUI to access and make use of these classes. I notice that if i were to keep the main() method inside the form class...more >>

C Sharp 3D Graphics
Posted by Takuon Soho at 1/29/2005 7:35:28 AM
Are there 3d Games being built with C#? I see several 3d Engines and a rework of OpenGL out there but wonder if anyone is actually commercially developing games with C# and OpenGL Am new to C# comming from a C++ background - am using Visual C# Programmer's Guide (excellent book). Looked ...more >>

left add unary operator ( += )
Posted by Elementary Penguin at 1/29/2005 7:30:33 AM
Is there a left add unary operator ( or do I have to overload one ) ? For example: string s1 = "A"; s1 += "B"; Console.WriteLine( s1 ) ....writes: AB But, say I want BA. Is there some kind of s1 =+ B; I can overload an operator, but can I create a brand new operator ? ...more >>

decrement a foreach
Posted by Elementary Penguin at 1/29/2005 7:23:42 AM
is there a way to decrement a foreach loop? for example string s = "cat"; foreach(char c in s) //some how it goes backward here Console.WriteLine(c); and so the result would be t a c -- Texeme http://texeme.com ...more >>

When I used "application/vnd.ms-excel" to export table's content to Excel file. It would be showed between "Confused" words and normally words randoml
Posted by Benny Ng at 1/29/2005 3:47:57 AM
Hi,All, Export Method: ------------------------------------------------------------------------- strFileNameExport = "Results" Response.Clear() Response.Buffer = True Response.ContentType ="application/vnd.ms-excel" 'application/msword Response.Addheader "Content-Disposition", "attach...more >>

.net 2.0 delta
Posted by alexk at 1/29/2005 3:30:00 AM
I've lost a link I had to a site that had published the delta between the .net 1.1 and 2.0 for the entire class hierarchy ... If someone recalls the web-site I've described - please publish the link, it would be of great help ... Thank you! Alex ...more >>

sending mouse click and keyboard messages
Posted by Wilfried Mestdagh at 1/29/2005 1:57:02 AM
Hi, How do I send a mouse click and keyboard key's to my main form in code ? -- rgds, Wilfried http://www.mestdagh.biz...more >>

C# 2.0 - Generics
Posted by Pierre Y. at 1/29/2005 12:02:29 AM
Hi, I've just read that article : http://msdn.microsoft.com/library/en-us/dnvs05/html/csharp_generics.asp I'm asking something. Why are generics constraints not been implemented using Attributes instead of "where..." syntax ? Regards, Pierre Y. -- Message généré par MesNews ...more >>


DevelopmentNow Blog