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# > august 2004 > threads for saturday august 7

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

Compile C# Class without VS 2003
Posted by Ed_P. at 8/7/2004 10:49:02 PM
I want to compile a simple c# class file without having to create project in visual studio .net...I know that I can use sharpdevelop, but I don't need all of it's fancy features, I just want a simple program that allows you to write a c# class and then compile it! I have been searching the ...more >>


Can I convert Page to World coordinates
Posted by phil cunningham at 8/7/2004 10:26:38 PM
I am new to C# and GDI+ so I may have missed a simple way of doing this. I am trying to use the mouse to pick object up by seeing if the mouse = position is Inside the object. However, I am using the Transform method as follows float scale=3D2; Matrix x =3D new Matrix(); x.Scale(shift,sh...more >>

C# Applet
Posted by gcmf8888 NO[at]SPAM yahoo.com-dot-tw.no-spam.invalid at 8/7/2004 10:01:52 PM
How can I convert my C# application to a embedded component into IE like Java Applet? Thanks. ...more >>

TAB-key
Posted by Adrian at 8/7/2004 9:59:37 PM
keypressed etc does not work for the tab key. How can I catch the tab key having been pressed? There is an article on MSDN but I cannot get the code to work. Is thare anything like KeyPess or KeyDown? Could you please give an example? Many thanks. ...more >>

screen painting problem
Posted by RickN at 8/7/2004 9:56:25 PM
I have a form loaded with a full screen form image. I've overlayed a number of controls for filling in the form. When the form opens, I can watch as each control loads (flickering). It also does the same thing each time the form scrolls. What is the best strategy for getting rid of the flicke...more >>

insert a record rise an exception
Posted by authorking at 8/7/2004 6:35:49 PM
I create the databse with the follwing code. I really don't know why the insert operation can't be completed. databse creation code: ADOX.CatalogClass cat = new ADOX.CatalogClass();//define a Jet database class cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=history_data.mdb;" + ...more >>

GraphicsUnits - puzzle
Posted by phil cunningham at 8/7/2004 6:02:27 PM
I am just starting with C# Graphics programming and need some help with = this. As I understand it, setting "..PageUnit=3DGraphicsUnits.Millimeter" = means that the drawing units are taken to be mm. However, in the following code the rectangle is displayed with = dimensions 120mm square (as m...more >>

this can be fun...
Posted by David at 8/7/2004 5:56:47 PM
i've abstract class Weight public abstract class Weight { public int Quantity; // how much it weigths } and then i created 3 derived classes: Kilogram, Gram and Milligram in each of them i created an implicit operator to convert from one to another... it works fine... then i...more >>



XmlTextWriter
Posted by Ghost at 8/7/2004 5:25:14 PM
Can anybody how do I use XmlTextWriter example? I want to write such XML file: <?xml version="1.0" standalone="yes"?> <Clients> <Client> <Name>David</Name> <Age>27</Age> </Client> <Client> <Name>George</Name> <Age>13</Age> </Client> </Clients> ...more >>

WebClient Problem
Posted by Max Gattringer at 8/7/2004 4:29:16 PM
Hi, I've got a little problem with the WebClient, I always get a failure while debugging this code: private void menuItem2_Click(object sender, System.EventArgs e) { NameValueCollection values = new NameValueCollection(); values.Add("pptpdisconnect","true"); string got = UploadVa...more >>

Socket Pools?
Posted by Jacob at 8/7/2004 4:14:12 PM
Is there any tutorials or documentation that you could point me towards regarding pooling requests for a limited number of sockets? I want users of this class to be able to request a socket and if one isn't available, their request will be queued and a socket returned when it is available. Con...more >>

Check whether an application is running
Posted by pnp at 8/7/2004 3:22:18 PM
What's the best way to check whether an app is running so if one tries to open it again it will not open a second instance of the application but will give focus to the already open one maximizing it... -Peter ...more >>

UI thread Questions
Posted by Sean at 8/7/2004 3:06:11 PM
Hi all, I have a few questions here regarding UI thread. (1) If I have two windows A and B, then I call B.show() in A. In this case, there will be only 1 UI thread which is the window A UI thread regardless of whether window B is shown as modal dialog or modeless window....more >>

Enumerators
Posted by Tim Davis at 8/7/2004 2:29:43 PM
I am currently writing a class which I would like to make "enumerable" by inheriting from IEnumerable. The documentation says that the IEnumerator.MoveNext method should throw an exception if the object being enumerated has changed since the enumerator was created. Does anyone have any tips on h...more >>

Dictionary<K,V> and Case Insensitive key compare?
Posted by William Stacey [MVP] at 8/7/2004 2:20:16 PM
Trying to figure out Dictionary<> and using CaseInsensitive Comparer<> like I did with normal Hashtable. The Hashtable can take a case insenstive Comparer and a Case insensitive HashCode provider. It seems the HashCode provider is lost or not needed in the Generic Dictionary anymore so wonderi...more >>

Parsing Word Document
Posted by kids_pro at 8/7/2004 2:19:17 PM
Hi there, Is there any technique where I can use to parse Word Document paragraph and return the text in specific font format? Because in word document we can have many paragraphs and in paragraph we can format the text in different font name. But to get the text formatted in specific font ...more >>

SqlDataReader
Posted by Ghost at 8/7/2004 2:09:39 PM
Can I get record as DataRow object from SqlDataReader (if yes how)? ...more >>

Writing a Date in DataGrid cell
Posted by Gidi at 8/7/2004 12:05:01 PM
hello i'm writing a C# windows application and i dataGrid which contains Kinds of Payment and one of the cells is a Payment Date witch the user is entering and i want that after entering 2 numbers automaticy a "/" will appear so the user won't have to enter it by it self. i manged to do it in ...more >>

how to hide base class method and create a-like...
Posted by David at 8/7/2004 11:50:35 AM
hello... a want to create my own collection class... i tryed it two ways, one then declarinf it as of IList interface (not easy way) and like an ArrayList derived class (easy way) in both ways i wanted to be able to "Add" o "insert" only objects of sertain type... let's say derived from "My...more >>

About datagrid question !!
Posted by Paul Tsai at 8/7/2004 11:06:56 AM
Dear All, I used c# to develop my company web application and used datagrid control to display my data. My question is how should I do if I want the datagird has its individual vertical and horizontal scroll bar insted of IE's scroll bar. Thanks !! Sincerely yours, Paul ...more >>

C# Windows form window freezes when program is executing
Posted by Joe Bloggs at 8/7/2004 8:13:36 AM
I have a Windows form application that has a start button, a progress bar and also writes information to the status bar the code is C#. My problem is that when you hit the start button and the program executes then the application window does not get refreshed so you just see an ugly gray rectan...more >>

ReadOnly Get and private Set propertie?
Posted by Norton at 8/7/2004 7:42:26 AM
Is it possible to have a property that is Public read only and private writable? What would the syntax look like? Thanks. NortonZ ...more >>

shutdown my computer using C#
Posted by Mohammed Abdel-Razzak at 8/7/2004 5:30:49 AM
Dear sirs I want to know how can I shutdown or restart my computer using C# Also I want to know how can I open any windows program using C# (EX: opening the windows calculator from my application) thanks Mohammed...more >>

Getting the string in a currentCell in dataGrid
Posted by Gidi at 8/7/2004 4:03:01 AM
hello, i have a datagrid and i want to deal with the string that enter on a currentCell after each KeyPress and data entering, the problem is that while i'm still at the same cell i get that the string is "" till i'll move to the next cell and then i will get the string. how can i get the...more >>

About a class inherits class and implements interface
Posted by Jet Leung at 8/7/2004 1:42:29 AM
Hi all, In VB.net if I want to inherits a Class and implement a interface I can wrote like this: Class A Inherits CObject Implements IObject ..... End Class And if I want to do the same things like the VB code in C# ,how to do that?? like this? Class A:Object,IObject ??? ...more >>

Views
Posted by Sreejith S S Nair at 8/7/2004 12:05:02 AM
hi, we have intellisence in our source editior. If we are choosing a function which have more than one overloads then we can view all other overloads using up and down arrows. The problem is we will get only the information of first parameter of any overloaded method. My question...more >>


DevelopmentNow Blog