Groups | Blog | Home


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# > february 2004 > threads for sunday february 8

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

Error at System.Net.ConnectStream.EndReadWithoutValidation
Posted by Gary Brewer at 2/8/2004 11:31:03 PM
My problem is - This only occurs intermittently, it appears it happens on larger files that I attempt to download using the WebRequest method. The exception is thrown at sr.ReadToEnd(); It makes no different using or not using a BufferedStream. My problem is similar to that at http:/...more >>


How to use the method in the .OCX file
Posted by yindevil NO[at]SPAM groupx.net at 2/8/2004 6:03:59 PM
I have a problem about import .ocx file When i add the ocx file in the reference, i can see the method.. http://www.groupx.net/yindevil/cm11.gif but when i try to call the ocx file.. cm11a.controlcmClass. It only let me choose "Equal" and "ReferenceEqual". How can i choose the uppe...more >>

newbie could somone please tell me why this code does not work
Posted by darren at 2/8/2004 5:55:57 PM
Hi i have alterd some code that changed the system time so it changes the date could you olease tell me why it does not work using System; using System.Runtime.InteropServices; public struct SystemTime { public short wYear; public short wMonth; public short...more >>

listbox?
Posted by ll at 2/8/2004 5:41:49 PM
hi, I have a listbox set to "multiple" type. how to assign the valuse to the listbox when the page is loading? thanks... ...more >>

SDK equivilant questions
Posted by matt.raffel NO[at]SPAM mindspring.com at 2/8/2004 4:31:36 PM
In the "old" days, I would use SendMessage and PostMessage to trigger events in my windows or controls. What is the C#/.NET way for doing this? Thnx Matt...more >>

Direct3D and an MDI interface
Posted by Jon Rea at 2/8/2004 4:15:41 PM
I have an MDI application that has multiple different "modular documents". Each document can own multiple MDI windows that are managaed by a manager class that uses the singleton pattern and holds a link to the MDI container. Currently some of these MDI windows implement a simple 3D view using ...more >>

Using MSHTML
Posted by Hesham salah at 2/8/2004 2:01:05 PM
hi all I want to know how to use MSHTML in C# from the very begining.if anyone knows how can i find some articles or anything plz tell me.thanks in advance....more >>

OleDb MSAccess Insert ???
Posted by microusseau NO[at]SPAM videotron.ca at 2/8/2004 1:51:07 PM
What`s wrong with this ??? The insert does not add into the database. Using a Winform and Database is sc.mdb Filename is supplier Fields SuppNbr Int64 SuppName String SuppPhone Int64 Here is the insert Class: public vo...more >>



Access to color variable in a class
Posted by Anonymous at 2/8/2004 1:15:09 PM
Hi, I have the following code. ( Sorry if it is a little rough or improperly written ). <########## CODE BEGIN ##########> public class TestClass : System.Windows.Forms.UserControl { public TestClass( ref Color InputColor ) { Button btn1 = new Button()...more >>

GetIfEntry from ip helper
Posted by James at 2/8/2004 1:12:21 PM
Hi - I need to implement the GetIfEntry function from the Ip Helper API and am having some real problems converting the MIB_IFROW structure to C# - In particluar I cannot fiqure out how to declare it properly. I realise that it requires some additional parameters on some of its members attributes...more >>

SOAP and XMLRPC
Posted by <.> at 2/8/2004 1:02:28 PM
Whats the difference and what is standard? ...more >>

C# switch vs. VB Select Case
Posted by pgraeve at 2/8/2004 12:36:07 PM
I am a convert from VB to C# so bear with me on this "conversion" question C# switch statement seems to be the closest relative to VB's Select Case. I used VB's Select Case statement liberally. Now I find myself wanting to use "Select Case" i.e., "switch" in C# regularly, but I always have to fi...more >>

saving data to xml
Posted by adrin at 2/8/2004 11:35:41 AM
hi, i am writing a program that is supposed to create a database of my music and albums. i want it to consist of 3 'modules' input<->processing<->output. input should enable reading data from cd or mysql db or xml, output should save data to xml/mysql. since im a total xml/.net/c# newbie i ...more >>

DateTime - Get Average Time from multiple times
Posted by sho_nufff76 NO[at]SPAM yahoo.com at 2/8/2004 10:50:38 AM
Hello all, I have several DateTime objects and i want to get the average of all of them. What would be the easiest way to do this? Thanks SN...more >>

Does C#, axWebBrowser, designMode and EventHandler work together?
Posted by Steffen at 2/8/2004 10:16:05 AM
I inserted a WebBrowser-Control in my c# program. Moreover I activated the designMode. My prorgam worked fine. I was able to edit the site. I want to add my own context menu that is showed when the user press the right mous button. I added this code private void DocumentComplete(object sender, A...more >>

Making a true Beep
Posted by Hai Ly Hoang at 2/8/2004 9:48:03 AM
Hi, I want to make a beep (like MS-DOS beep, not a beep from sound-card). How to do that ? Thanks ...more >>

Adding parameters to a table
Posted by Andla Rand at 2/8/2004 8:51:55 AM
Hi, I'm expecting to get an extra column named 'state' displayed in the datagrid but it doesnt add one. Can you please help me find out the problem with the source code. SqlConnection myConnection = new SqlConnection( "server=(local);database=demo;Integrated Security=SSPI"); Sql...more >>

Hiding Columns
Posted by Kevin at 2/8/2004 7:56:08 AM
Hi Al Can someone tell me how to hide colums in a datagrid. I have a one datagrid that is a master and child and I would like to hide specific columns, how do I do this TI Kevin...more >>

C# and Process class
Posted by Folke at 2/8/2004 7:26:05 AM
I'm trying to start a process, notepad, where I want write in some text before Notepad comes up on the screen Obviously I don't understand how to do it My code is ProcessStartInfo startInfo = new ProcessStartInfo("Notepad.exe") startInfo.WindowStyle = ProcessWindowStyle.Minimized startInf...more >>

SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
Posted by Dmitri Shvetsov at 2/8/2004 4:50:18 AM
Hi, My C# application works under administrative account but can't write to: HKML\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce What can I do to write there? Dmitri ...more >>

Anders Hejlsberg comment on immutable objects
Posted by andrew_quine NO[at]SPAM fastmail.fm at 2/8/2004 4:38:29 AM
Hi Just read this article http://www.artima.com/intv/choices.html. Towards the end of the dicussions, when asked "Did you consider including support for the concept of immutable directly in C# and the CLR?" Anders' reply included this comment: "The concept of an immutable object is very use...more >>

Whidbey C# Generics/Iterators Question
Posted by Kamen Yotov at 2/8/2004 2:26:50 AM
Hello, I got my hands on the PDC preview version of whidbey and I think I managed to break the compiler/runtime with my first Generics/Iterators attempt. The reason I am posting it here is that I might be wrong, in which case, please correct me! The following program prints garbade instead th...more >>

Datagrid headaches
Posted by Kevin at 2/8/2004 1:16:05 AM
Hi Al I have two questions about a datagrid, I need to decide which way to go.... I have a datagrid that will show me all the entries in a table. When I click on any cell(actually I would prefer if It could rather select the whole row, where ever I click), I want the data in that datagrid to pop...more >>


DevelopmentNow Blog