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 21

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

Passing arguments to running programs
Posted by dan.nilsson NO[at]SPAM oktv.se at 8/21/2004 11:48:51 PM
I am developing a command line program which needs to get information from command line switches every now and then. So instead of starting a new instance when the program is executed, it will pass an event or message to the already running program telling it what it would do. For example: ...more >>


forms layout
Posted by guy at 8/21/2004 11:27:01 PM
Hi! i want to make environment like .net:main forms and few floating forms like the project explorer and properties windows.how can i build environment with floating windows? thank's alot guy...more >>

DIB images
Posted by Richard at 8/21/2004 11:11:36 PM
Hello, I have a DIB image that I have extracted from an Access 97 database. I would like to open the image with .NET but it doesn't seem to recognize it as a bitmap file. Is there a certain way in .NET to open a DIB file? Thanks! ...more >>

Web Site Interface
Posted by Stephan Ainley at 8/21/2004 10:35:53 PM
I'm completly new when it comes to programming and the net (besides a little of webclient) and was wonder how is the best way to interface with a website. I actually want it hidden, but would I have a hidden interenet control which I'd feed stuff to? I'm writing it for a program that would ...more >>

Change Component Icon!
Posted by Paul Loveless at 8/21/2004 7:22:31 PM
Anyone know how to change the default component icon (the little gear that appears in the toolbox) to a different icon for a custom-made component? Paul. ...more >>

HELP can't get arraylist to sort by alphabet
Posted by boy_wonder48 NO[at]SPAM hotmail.com at 8/21/2004 6:16:44 PM
Hi I am new to this language, and still don't understand most of the concepts, I am trying to sort an arraylist by alphabet, I belive i need to use the IComparer interface, but have no idea how this works? Does anyone have a sample of how i can sort my arraylist of words. Also how is an arraylis...more >>

C# & ADO Book(s)
Posted by Chris Scragg at 8/21/2004 6:02:07 PM
Hi all, I think I need to invest in a book (or two) to get the most out of C# and ADO. Any recommendations? Chris ...more >>

Compile line # into text with C#?
Posted by Dick Bridges at 8/21/2004 5:57:27 PM
I want to compile the line number (and module name) into the text when throwing an exception. I don't want to create a StackFrame. This isn't debug code. I simply want the module name and line number *COMPILED* into the message (i.e., __FILE__ and __LINE__). Please tell me this can be done....more >>



Problems with WebRequest
Posted by Adam Stirk at 8/21/2004 2:05:21 PM
Hi, I am trying to download a image that is generated by PHP using HttpWebRequest, I believe the server uses cookies to generate the image, but I keep getting the error image from the server. Can anyone help? The code I am using is :- Uri myUrl = new Uri("http://www.kingsofchaos.com/r...more >>

"Object instance"
Posted by Piotr Perak at 8/21/2004 1:50:09 PM
Can someone explain the "object instance" term that is used i many of C# books? I have C++ background. In C++ instance and object meant the same. I could say that I have object of some class or instance of some class. There was no object instance used. How can I understand object instance? (...more >>

System.Net.NetworkCredential
Posted by Ivan G. at 8/21/2004 1:09:38 PM
Hi. I'm trying to call web service passing a new System.Net.NetworkCredential to it's reference: jobs.Jobs j = new jobs.Jobs(); j.Credentials = new System.Net.NetworkCredential(login,password,domain); but anyway I get System.SecurityException Why? Thanx. ...more >>

Object reference not set to an instance of an object (asp.net, c#)
Posted by krunom at 8/21/2004 12:34:18 PM
I write some application with asp.net (c#) and here is my problem. This code (with "commented" string line) works well: when i open this page in Internet Explorer i get in DataGrid2 some data frome my database... .... .... OleDbConnection OleDbConn = new OleDbConnection(ConfigurationSe...more >>

Sorting datagrid entries
Posted by cashdeskmac at 8/21/2004 12:07:01 PM
When using a DataGrid I can easily sort the items by clicking on the column header, but is there a way to sort them automatically? If I have 20 records, each numbered 1 to 20, and delete number 13 before adding it again, it appears at position 20. Is there any way of getting the data to sort...more >>

gdi+ newbie: image transparency
Posted by Dan at 8/21/2004 11:58:31 AM
Let's say I have 2 images A and B: if I want to display B over A with a varying level of transparency, I can use a matrix to change the alpha value e.g. // ... draw image A ... ColorMatrix cm = new ColorMatrix(); cm.Matrix33 = 50; // 50% opacity ImageAttributes ia = new Im...more >>

Replacing the dataSource in DataGrid
Posted by Gidi at 8/21/2004 9:55:02 AM
hi, i have a dataGrid and few radio buttons. i want that each time the radio buttons change the dataGrid dataSource and dataMember will change to. i know how to change the dataMember but when i tried to make the dataSource property to be the new dataSource (for example: if it was dataGr...more >>

passing arraylist
Posted by sqlprob NO[at]SPAM yahoo.fr at 8/21/2004 9:34:33 AM
is it possible to pass an arraylist from one page to another page? If yes how? (I'm using asp.net and c#)...more >>

Can't find object reference
Posted by Poewood at 8/21/2004 9:17:03 AM
Okay here are four classes for a pocket pc program: Input, fpositional, ComboBoxArray and TextBoxArray. The "input" class is the form. I use the fpositional class to handle most of the functions for the objects on the form, in addition the The objects are created in the fpositional class and...more >>

REG_FULL_RESOURCE_DESCRIPTOR registry data type returns EXCEPTION
Posted by John Hoffman at 8/21/2004 9:05:39 AM
When reading registry subkey values ... String [] valstr = rksub.GetValueNames(); foreach (String vs in valstr) { String vstr = rksub.GetValue(vs).ToString(); // RETURNS EXCEPTION ... } returns exception 'System.NullReferenceException' if reg value...more >>

Block internet access
Posted by Nurchi BECHED at 8/21/2004 9:04:20 AM
Hello, my dearest respected brother, All! Hey, guys, this is Nurchi again. I had a quick question: Can C# (I guess I should say .NET Framework) block internet access. I am sure the answer is "YES!" but I need to know how... There should be some articles on that... For example, if I want...more >>

Help! saving time from a datagrid
Posted by NCrum at 8/21/2004 8:05:02 AM
I can save a date but not a time like 11:01 any ideas, the grid is bound to a wizard generated dataset Thanks for any help...more >>

How to parse XML out of an XMLHTTP40 object
Posted by kfrost at 8/21/2004 5:53:01 AM
I'm connecting to an exchange public folder and pulling out contacts via XML. I can use the .responseText to view the text string. The response from Exchange in this string is formatted in XML. I'm trying to figure out what I could use to parse the info out of the response because I need to...more >>


DevelopmentNow Blog