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# > april 2004 > threads for sunday april 18

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

Default properties
Posted by Chuck Bowling at 4/18/2004 10:58:40 PM
Maybe I'm doing something wrong or just don't understand the concept, but i'm having a problem with default properties. My impression of how a default property should act is this; MyClass c = new MyClass(); c = "my text"; In the line above, the string is assigned to a field in the class...more >>

HyperLinkColumn and NavigateUrl
Posted by Arjen at 4/18/2004 8:17:42 PM
Hello, Why is this: <%# DataBinder.Eval(Container.DataItem, "Id") %> not working? (I see this in the url... I want to see the id as value) Complete code: <asp:HyperLinkColumn DataTextField="From" HeaderText="Van" NavigateUrl='~/MailMessage.aspx?id=<%# DataBinder.Eval(Container.DataItem, "...more >>

MBR
Posted by LC at 4/18/2004 8:11:03 PM
Hi Anyone knows how to read MBR in C# Thanks!...more >>

How to get AutoNumber off Access 2003
Posted by Ed_P at 4/18/2004 8:11:01 PM
Hello I currently have a Access 2003 database, I am able to add a record to it, and the CustomerID field (which is auto generated by the Database) is correctly filled in by the Database. I am now trying to figure out a way to retreive this number to use it in another Table of the Same Database. ...more >>

Can i get bytes from DC directly?
Posted by ΢ÈíÐÂÎÅ×é at 4/18/2004 8:08:28 PM
Here i use BitBlt(destDC,x,y,w,h,srcDC,x,y,SRCCOPY) to copy srcDC into destDC. i think GetPixel(destDC,x,y) can get the Pixel info at Point(x,y). and my question is : can i get bytes info from destDC directly ? because i think get bytes directly is faster than GetPixel()'s way. why d...more >>

DataAdapter SQL Question
Posted by Steve Bishop at 4/18/2004 7:53:13 PM
I'm using a DataSet object and binding it to a data grid. I would like to filter the records I display by using a text box. I'm trying not to take a literal string value but a wild card. I would like to take the users first 3 characters and then search for the records that have the closest match...more >>

Emulating Pascal sets.
Posted by Rudy Velthuis at 4/18/2004 7:45:17 PM
Trying to use a Delphi for .NET generated enum, which is actually a Pascal set (a bitset where each bit corresponds to an item in an enum, with special operators for union, section and difference), I noticed that there is not really good way to iterate over such an enum consisting of bits. Or ...more >>

Infrared with C#
Posted by David at 4/18/2004 5:40:33 PM
Hi, I want to send a file using infra-red to another device using my C# application. I've got a built-in infrared port on my laptop and wondered how I would go about programming such an application. Is this possible or would I need to obtain a stack implementation from somewhere? Thanks i...more >>



Auto generate datasets from DB
Posted by SPG at 4/18/2004 5:21:25 PM
Hi, I am new to C#, and was wondering if there is an easy way to auto generate a Dataset and the relevant classes (IE: Adapter for updating etc) by pointing a wizard at the db? I am sure there must be a way to do this.. Steve ...more >>

Traceroute as a browser band in c# - where to start?
Posted by Rainer Krauss at 4/18/2004 4:45:23 PM
I would like to code (just for learning) some band objects for Internet Explorer. To start with, i simply like to add a button to the Browser called "Trace". Pressing it should open a band like the "history" showing the results of a traceroute to the site that is currently in the URL. I'm s...more >>

VB6 v. C# (something is missing!)
Posted by Ole Olsen at 4/18/2004 3:58:14 PM
I originally come from a VB6 background, now entirely programming in C#. All in all a great language (C#) with a lot of powerful entities; there = is however one thing that I just can't seem to figure out. In VB6, when creating a Class, you can mark it at "PublicNotCreatable", = meaning that i...more >>

Windows Applications with C# & Ebooks?
Posted by Birthday at 4/18/2004 3:28:44 PM
Hi, I have started to learn C# nowadays and find some ebooks on the structure and the syntax of the c# language. All the examples in the ebooks that I've found are all about console applications. But the my aim to learn C# is to make windows applications. I am familiar with ASP, Javascript, a ...more >>

memory image
Posted by cs at 4/18/2004 3:01:43 PM
In java I ahve the following code g.drawImage(this.createImage(new MemoryImageSource(r.width, r.height, this.colormap, backstore, r.y*this.width+r.x, this.width)), r.x, r.y, null); where backstore is a byte array (signed) with only zeros In c# I am creating a memory stream, putting the sam...more >>

Customize DataGrid
Posted by Hai Ly Hoang at 4/18/2004 2:42:52 PM
Hi, Datagrid is a great control ! But now, i want to customize it : draw a picture on the header row (the topmost row) ! Is it possible ? And how ? Thanks ...more >>

Version
Posted by Thom Little at 4/18/2004 2:40:26 PM
How can I access the version of the current module? Specifically I would like to create a string of the form ... major : minor : revision : build -- -- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd. -- ...more >>

Best Practice: Interface definitions - where?
Posted by Ole Olsen at 4/18/2004 2:31:41 PM
Hi Any input on what is best practice: 1 ) Put an Interface definition (e.g. IMyInterface) into a separate Assembly 2 ) Put the Interface definirion into the same assembly that holds the concreate and implementing class? MS seems to like the first approach with 2 assemblies over the latter ...more >>

C# Infrared Programming
Posted by David at 4/18/2004 8:38:32 AM
Hi, I want to send a file using infra-red to another device using my C# application. I've got a built-in infrared port on my laptop and wondered how I would go about programming such an application. Is this possible or would I need to obtain a stack implementation from somewhere? thanks. ...more >>

System.IO.FileLoadException with Novell's Novell.Directory.LDAP
Posted by faichele NO[at]SPAM primusnetz.de at 4/18/2004 8:16:04 AM
Hello! When trying to use Novell's C# LDAP library (from http://www.novell.com/coolsolutions/cooldev/features/a_net_cplus_ldap_library_cdev.html) the following exception occurs as soon as I try to instantiate an object from the Novell.Directory.LDAP namespace: "Eine nicht behandelte Ausnahm...more >>

interface inheritance - worth getting rid of this diamond?
Posted by emma_middlebrook NO[at]SPAM fastmail.fm at 4/18/2004 7:32:07 AM
Hi I come from a C++ background and so am familiar with the 'dreaded inheritance diamond' i.e. the ambiguity of which data to use when a class appears twice in the hierarchy. Here's a link for anyone not familiar: http://www.parashift.com/c++-faq-lite/multiple-inheritance.html#faq-25.8 .. ...more >>

sending mail with attacment
Posted by Cantekin Guneser at 4/18/2004 7:00:16 AM
i am writing wep app. and i send mail from one page , i need to ad attacment to mail whic is at client, i am doing as folloving copying file to server adding attacment to mail sending mail then deleting file is there sorter way to do this like adding attachment without coppiying server side...more >>

Newbie error on socket.....
Posted by robert0 NO[at]SPAM aliceposta.it at 4/18/2004 5:39:40 AM
Hi,well i'm trying to listen from a network card the traffic incoming. I tried about hundred times :-( in different ways after reading many previous posts...but i'm always getting errors. This is my last piece of code NOT working: private void button1_Click(object sender, System.EventArgs e)...more >>

locking problem in insert statement
Posted by dabuskol at 4/18/2004 1:36:02 AM
Hi, I'm trying to run an insert statement continously for 24 hrs, data is coming from different Ip/PORT (100). Could somebody please help me by checking my codes if there's any way I can do to improved my locking so that I'll not be able to get the message below. Before the execution of insert i...more >>

System Modal forms possible?
Posted by D Cameron at 4/18/2004 1:07:46 AM
I'd like to be able to make a full screen form in one of my apps inescapable: disable the Start button, Alt-Tab etc. until my application closes the form. I seem to remember VB3.0 distinguishing between system modal and application modal forms. A System Modal form seems like it would fill my...more >>

About close program problem
Posted by Alan Ho at 4/18/2004 12:57:16 AM
Dear All, i used some close program method, e.g. this.hide(), this.dispose() or this.close() , for above 3 method I dont know why i can't open the program in PPC again. and i dont want to use Application.exit() method, becase i use this method my program will hang on, does anyone has idea? th...more >>

How to get the folder my classlibrary is located in
Posted by PEACEMAKER at 4/18/2004 12:04:22 AM
I'm writing a custom config file for my classlibrary dll. However when I try to load the config file the directory it points to is the folder of the application that called the dll. Is there a way to get the folder location where my dll is installed in, from the dll itself? ...more >>


DevelopmentNow Blog