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# > september 2004 > threads for sunday september 19

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

Minimise to tray
Posted by A.M at 9/19/2004 11:54:53 PM
Hi, How can I make a window application that when I minimise it, it minimise to tray? Thanks, Alan ...more >>


LCE Late Bind
Posted by C# Newbie at 9/19/2004 11:27:03 PM
Hi, I have a Class1.cs and a Main executable file. The main executable codes look like this: Assembly asm = Assembly.LoadFile(@"C:\ClassLibrary1.dll"); Type typ = asm.GetType("INPTest.Class1"); MethodInfo mi = typ.GetMethod("Show"); mi.Invoke(asm, null); The Class1.cs co...more >>

How to sycnc data in two form?
Posted by Jet Leung at 9/19/2004 11:20:25 PM
Hi all, I hade made a programme there are two forms, one is used for show the result other one is used for add and delete items.After I add or delete items in one form , and how to make other form which is use for show result to reflash the result and get the real data? ...more >>

A simple question!!
Posted by Preston at 9/19/2004 11:11:02 PM
public Abc test() { if (oneStack.Count != 0) return (Abc)oneStack.Peek(); } I'd like to do return (Abc)oneStack.Peek()first, and then do receiveStack.Pop() do I need to copy the Peek() object first, and do the Pop() then return the copy? how to copy the object, or any good...more >>

Passing Parameter from one child form to another's public method
Posted by James Li at 9/19/2004 9:35:02 PM
Here is the code in the calling form: Form frmDetails = new employeeDir.details (); frmDetails.MdiParent = this.MdiParent; frmDetails.DisplayForm(1); Here is the code in detail form: public void DisplayShow(int EmployeeID) { this.label1.Text = EmployeeID.ToString(); } Somehow the D...more >>

Coroutines using GetCompressedStack?
Posted by Ken at 9/19/2004 9:29:31 PM
Does anyone know if it's possible to use Thread.GetCompressedStack and Thread.SetCompressedStack as the basis for a coroutine library? There doesn't seem to be a lot of documentation on these methods, although I seem to remember reading somewhere that they are intended for internal .Net use and...more >>

how to make a window stay on top?
Posted by gozitash at 9/19/2004 8:43:40 PM
I want a window always stay on top of others, how I do it? ...more >>

Embarassing question
Posted by web1110 at 9/19/2004 7:26:36 PM
Hi y;all, I've been working with Unix C/Informix for over a year. So to refresh my memory, I re-established my SQL server (had a link on my router fail and had to install a hub) and thought I'd check it out. All I did was create a new Windows Application and tried dragging over controls su...more >>



Indexing of IntPtr
Posted by Tamir Khason at 9/19/2004 6:43:28 PM
I have a pointer to array and I want to apply indexing to this Array so I have function (name it IntPrt Func[]) to go to certain member I can use (as C++) Func[5], but in C# I recieve an error "Cannot apply indexing with [] to an expression of type 'System.IntPtr'". How to get rid of it? ...more >>

Binding Variable to Control
Posted by Tao at 9/19/2004 5:19:02 PM
I am newbie to C#. Here is a question: I want to bind a variable in my class to a control. I got tons of troubles to do so. Can somebody give me quick sample in C#(not VB) please. Thanks....more >>

Monitoring Garbage Collector
Posted by A.M at 9/19/2004 4:53:21 PM
Hi, I have a C# application and I need to make sure the application releases memory resources properly. How can I monitor how an application consumes memory and how Garbage Collector releasing it's un-used memory? Thanks, Alan ...more >>

delete from XML file
Posted by Viktor Popov at 9/19/2004 4:31:51 PM
Hi, I save data from my ASP.NET Application in XML file.How could I delete elements by <id>THIS_VALUE</id>? Could someone help here? Here it is the file: <?xml version="1.0" standalone="yes"?> <NewDataSet> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xm...more >>

How can i define InsertCommand in SQLDataAdapter?
Posted by Lubo¹ ©lapák at 9/19/2004 3:55:49 PM
Hi, I need define InsertCommand in SQLDataAdapter, but I don't know how. Please Help me. I don't know the format of InsertCommand. Thanks ...more >>

How to pass array of structures into a C dll with PInvoke?
Posted by John Smith at 9/19/2004 3:37:39 PM
Hello :) I have a DLL file written in C where one function accepts an array of structures as input paramter and pointer to length integer. This function will fill up the array and specify the number of items set. In other words the prototype looks like: void Func(mystruct *pStruct, int *npLen...more >>

quick question...
Posted by craig at 9/19/2004 2:58:37 PM
Quick question for the experts... Whenever I set the Image property of a PictureBox on one of my forms to a PNG graphic file on my hard drive, I get the following runtime error when I try to run the app: Exception Type: System.Resources.MissingManifestResourceException Message: Could not f...more >>

Adding Checked Exceptions to C#
Posted by Jeff Louie at 9/19/2004 2:26:02 PM
I drank too much coffee last night and came up with a suggestion about how to add checked exceptions to C# http://www.geocities.com/jeff_louie/OOP/oop14.htm Comments expected <g> Regards, Jeff *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USEN...more >>

Can I create template for ASPX page?
Posted by Lubo¹ ©lapák at 9/19/2004 1:52:14 PM
Hi, i have some functions, which are in all aspx pages, can I create template? And then can I from this template creating new pages? Thanks Lubos ...more >>

MsgWaitForMultipleObjects equivalent
Posted by Alexander Muylaert at 9/19/2004 1:07:31 PM
Hi I have to suspend my application a while. But Messages should be processed. In Win32 api I could do this with MsgWaitForMultipleObjects. How Can I do this now? kind regards Alexander ...more >>

DataSet Relation Exception Issue
Posted by Fleckman at 9/19/2004 12:57:02 PM
I have a situation where I need to add rows to tables with a Parent-Child relationship which presents a constraints violation when I reject the changes. Here is the scenario: I add a row to a Parent table which then causes a row to be added to the Child table referencing the parent row. The...more >>

storing an HttpWebResponse to a byte array
Posted by Dunc at 9/19/2004 12:15:31 PM
Hi, I've got an HttpWebResponse object, all working fine. I'm getting the underlying stream and currently writing it to a file using the ReadToEnd() method. All happy. I want to do a bit of manipulation before writing this to the disk; can anyone point me in the right direction of how to ...more >>

Compile Options
Posted by A.M at 9/19/2004 11:46:17 AM
Hi, I need to develop an application that acts as both consolde or windows formas application based on command line args. If have two choice as compiler output options: Console Application or Windows Application. If I choose Console Application as compiler output, and then I run the appl...more >>

Repeater - rows
Posted by Viktor Popov at 9/19/2004 11:38:04 AM
Hi, I have the following problem. I read from a text file and than I would like to show what I read in a Repeater control using this function: ArrayList Words = new ArrayList(); StreamReader sr = File.OpenText("g:\\log1.txt"); while(sr.Peek() > 0) { string[] Data = sr.ReadLine().Split("*".T...more >>

Winsock versus UdpClient
Posted by joaquimfpinto NO[at]SPAM solverde.pt at 9/19/2004 10:03:05 AM
Hi All, I'm start using C#, prior I used VB6, and I would like to know the following. I'm developing an app that as several pc's on the same network and each one of them must perform a task if they receive an incoming "signal" from another pc. I did this in VB6 with "Winsock" like a peer2pee...more >>

String Format
Posted by Jac at 9/19/2004 9:47:05 AM
Hey, I have an int32 and a string. The integer contains : 56 I want to fill up the string as follows : "00056" The string must have a lenght of 5 en must be filled up with leading zero's. How can I do this? I looked a little bit arround and don't find the way to do this. Thanks, jac...more >>

KeyPressEvent handler
Posted by cashdeskmac at 9/19/2004 8:29:05 AM
I have an event handler for a textBox with the following code inside: if(!Char.IsNumber(e.KeyChar) == true) e.Handled = true; This prevents anyone from entering a non-digit into the text box, but it also prevents then from using the backspace key. I know there is a way around this but ca...more >>

Print webpage to a File, talking to IE, ... change printer
Posted by AngelCaido at 9/19/2004 7:25:05 AM
ok... so i have Internet Explorer open, with let say http://www.google.com i want my application to print that page into a file so i have a printer PS-Printer installed i dont know .. how .. to change the printer how to tell to explorer to print how to add the path of the saved file T...more >>

Another XML problem
Posted by cashdeskmac at 9/19/2004 3:45:02 AM
uWhen I add a new row to my XML file and stop debugging, I get the message "This file has been modified outside of the source editor. Do you wish to reload it?" Does anyone know of a way to stop this from happening? See my earlier post "problem writing to an XML file" to see how I am w...more >>


DevelopmentNow Blog