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# > july 2003 > threads for wednesday july 23

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

"proper" way to download several hundred text files from a web-site ?
Posted by Bill Woodruff at 7/23/2003 11:16:22 PM
As an exercise I wrote a small C# program to download several hundred text files of guitar tab music by parsing the home page of the site and retrieving all the links to the music text files and using 'WebRequest and a StreamReader to download them. I followed up the call to WebRequest.Create wi...more >>


Event Handler for active window
Posted by John at 7/23/2003 10:50:43 PM
How do I code an event handler to inform my application whenever an active(which the user was using)word document changes(to another word document). ...more >>

C# Book
Posted by Milan Shah at 7/23/2003 10:28:09 PM
Hi, I am beginner for C# and .Net world. Any advise for real good books and how to start on .Net will be greatly appreciated. Thanks. Milan Shah ...more >>

Why is System.Configuration read-only?
Posted by Dan Noel at 7/23/2003 6:13:38 PM
I see many rich classes in System.Configuration, but all of these classes are read-only. While I have many rich classes for extracting information from a config while, I am reduced to the most primitive XML classes when writing data to an config file. Is there a technical reason why System....more >>

CSharp / CrystalReports -- where do I go to ask Qs?
Posted by Son Matt at 7/23/2003 6:10:42 PM
I didn't find a group for this. Sorry. Matt ...more >>

Unformatting formatted strings?
Posted by SamIAm at 7/23/2003 5:58:23 PM
I am displaying money values in a textbox like this: txtCountryPack.Text = String.Format("{0:c}", dr[0]["Pack"]); I then need to updated my Database: decimal packPrice = Convert.ToDecimal(txtCountryPack.Text.Trim()); The problem is that the value is in a formatted format i.e. $300.00 How do...more >>

how can i do it in C# safe code.
Posted by Jankis at 7/23/2003 4:24:56 PM
I have problem how can i do it in C# safe code. class ABase { SetValueFromXX(string name,source,dest) // in C++ ( string name,source, int *dest) { 1. step in source i find row with name 2. step set value from source on finded row to dest, // in c++ ...more >>

Copying data to a buffer
Posted by R Agam at 7/23/2003 2:42:03 PM
Hi What is the way to copy data to a buffer. I need to copy byte by byte of data from source to destination. Thanks, Regards ...more >>



how to print out fractions
Posted by Mori at 7/23/2003 11:39:30 AM
Hi, Can someone supply a code example of displaying a string with a fractional part, say 5 and 7 16ths. I cannot find an example of how to use the Encoding object (if that is what you use). thanks, Mori ...more >>

Convert Object to XML
Posted by MAF at 7/23/2003 11:27:59 AM
Is there a quick way to Convert an Object to XML and then pass the XML string to VB as a paramenter. Then rebuild it on the VB side? ...more >>

csc bug ?
Posted by Lloyd Dupont at 7/23/2003 10:41:33 AM
I have a class class FileMakerParameter I also create the following subclass of ArrayList public sealed class FileMakerParameterCollection : ArrayList, IDataParameterCollection { public FileMakerParameter this[int index] { get { /* return something */ } set { /* som...more >>

"not all code paths return a value" when throwing exception, can't return a value
Posted by n_o_s_p_a__m NO[at]SPAM mail.com at 7/23/2003 9:58:16 AM
Can't compile. Does this mean that all functions that throw exceptions must be of return type void? examples: // won't compile: "not all code paths return a value" public override int Run() { throw new Exception("exception thrown"); } // won't compile: "unreachable code detected" pu...more >>

Weird error when marshalling objects using remoting
Posted by Tim Shih at 7/23/2003 9:51:17 AM
Hi, I am encountering a really subtle error which I have been trying to isolate for a while and I am still not able to find it. The problem boils down to this: I have a button which marshals two files (two images) across a remoting boundary. It does this by accessing an Access database for the...more >>

Project Output Type
Posted by Heng Ma at 7/23/2003 9:24:47 AM
Hi, Somehow when I open a project the project Output Type is always changed to Windows Application. What is happening? --Heng ...more >>

XML Documentation see, seealso tags are of no use in VS.Net and don't want to use NDOC
Posted by zizpong NO[at]SPAM yahoo.com at 7/23/2003 8:44:00 AM
Hi Friends, Please forgive me if this question has appeared before. If so please give me a link or some clue on this problem. I'm writing XML comments to build Comment Web Pages by using Tools-->Build Comment Web Pages in VS.Net IDE. I could see <summary>, <remarks>, <param> etc in the res...more >>

Windows Service Compatability
Posted by Peter at 7/23/2003 8:35:00 AM
I have created a Windows Service with VS.NET 2003 and compiled the = service with Supported Runtimes v1.1.4322, v1.0.3705. When I try to = install it on a machine that has only .NET 1.0 runtimes I get the = following error message: 'System.Reflection.ReflectionTypeLoadException: One or more o...more >>

How to call a base class's base class method
Posted by Bill Menees at 7/23/2003 8:08:49 AM
I've got a RichTextBoxEx inherited from RichTextBox, and I want to overload the TextLength property to use TextBoxBase's implementation of TextLength. But since TextBoxBase isn't my immediate base class, I don't know how to call its TextLength property. Any ideas? public override int TextLeng...more >>

How to show ActiveX whitout AxHost?
Posted by Kuba Florczyk at 7/23/2003 8:06:02 AM
Hi Do anybody know how to show ActiveX whitout AxHost? For example i got wrapper to ActiveX and now i don't know how AxHost shows ActiveX. I must do it, because i think AxHost made it wrong and i got some problems with using ActiveX. Second question is how AxHost do it? I mean how he show...more >>

serializing/deserializing with remoting
Posted by jeff at 7/23/2003 7:26:09 AM
I am using .NET remoting with a class,call it MyClass, that contains many other classes (say one of them is MySubClass). I have been able to successfully call functions from the MyClass, but when I try to access the sub-classes it gives me a: System.Runtime.Serialization.SerializationException ...more >>

Character constants
Posted by br at 7/23/2003 7:19:03 AM
I need to define a constant for a character in my Constant class. I defined as follows public const char = '\136'; when I compile I get the error 'Unrecognized escape sequence' How do I define a char constant with octal or hexadecimal values? Thanks...more >>

Trying to get a windows form to email
Posted by Don Stevic at 7/23/2003 6:29:45 AM
Hey there I have beentrying to get a windows form to send an email thru outlook and cannot find the right code. Does anyone know how to do this? Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

DataSet contains unreadable characters
Posted by Chris Lutz at 7/23/2003 3:34:27 AM
i'm currently working on a windows xp machine with an english visual studio .net 2003 environment. when i connect to an oracle table using OracleClient-Objects (Connection, DataAdapter, Command) everything is working fine (i can see all the stuff in a datagrid). When i move the same applic...more >>

Expired delegate (events)
Posted by Jon Davis at 7/23/2003 3:05:58 AM
When an object goes out of scope, do all the event handlers automatically get removed, or must this be done manually to ensure that the object succeeds in being disposed of? Thanks, Jon ...more >>

Double-mapped delegate
Posted by Jon Davis at 7/23/2003 3:04:59 AM
If two delegates are created that point to the exact same method, and an event is assigned both delegates, ... myObj.MyEvent += new EventHandler(MyHandler); myObj.MyEvent += new EventHandler(MyHandler); .... does it recognize the duplicate method and ignore the second one, or does i...more >>

How to reach external devices?
Posted by Cem Louis at 7/23/2003 2:48:54 AM
Hi to all, I need sources for programming external devices, actually I have to make a program to control electronic circuit boards... I collect some info from the net and I think it is easier to reach circuit boards with serial ports. Finally I guess there are some resources out there and if ...more >>

Why tool tip doesn't wok for numeric up down control?
Posted by A G Benny at 7/23/2003 12:54:25 AM
Hi, I have a numericupdown control in my form. I added a tool tip control and set the numericupdown control's property to show the tool tip text. But when i hover over the control, no tool tip shows up. To make certain I added other controls and added tooltips for them which works perfectly. ...more >>

Making a Cloumn in Datagrid as Combobox
Posted by Prashant at 7/23/2003 12:42:50 AM
Hi , How to make a particular column in a DataGrid Control as a Combo Box. Any ideas/suggestions would be of great help . Thanks Prashant ...more >>

indexer
Posted by yufufi at 7/23/2003 12:08:31 AM
What is the difference between indexers in csharp and overloading [ ] operator ? thanx, ...more >>


DevelopmentNow Blog