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 saturday september 4

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

Send Paste Message
Posted by Bill English at 9/4/2004 11:57:02 PM
Is there any way I can get a list of open windows, put them in a dropdown, and send a paste message to which ever one is selected in the dropdown? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Namespace System.Web.Mail is not exist?
Posted by alex at 9/4/2004 10:28:11 PM
Why? ...more >>

Remove time part from datetime in bound label control
Posted by aaa NO[at]SPAM bbb.hr at 9/4/2004 10:13:04 PM
Hi I am trying to bind Text property of label control to datetime object (attribute from typed dataset). The problem is that I want only to show date part. Currently I use following code: this.dv = new DataView(this.ds.Person); this.labelBirth.DataBindings.Add("Text", this.dv, "BirthdayDa...more >>

resize .net download , MSHTML.DLL size ?
Posted by sharon669 NO[at]SPAM hotmail.com at 9/4/2004 10:05:32 PM
Hi all I have a .net bundle (MSI installation package) that my client (.net user) will download to his computer threw the internet, The main problem is this package size! It's something between 4 – 8 MB!! The size problem is because of the MSHTML.DLL that is attached to the package, Is th...more >>

events & destructor
Posted by lukasz at 9/4/2004 9:19:39 PM
When I attach an event handler (e.g. button.Click += new EventHandler(Button_Clicked)) it's not necessary to remove the handler when my class (or form) gets disposed or destroyed, is it? When my class gets out of its scope and its time for GC-ing comes, it will be able to be destroyed despite th...more >>

Visual C++ and CSharp Question
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 9/4/2004 9:13:22 PM
Curious, I have used c++, console wise, always been too overwhelmed with it in Windows. Is it "easier" to use in a managed version? Not near as much code out there for the managed version, except on MSDN. It isn't going away as a managed code is it ( mean will there always be a c++ .net)? ...more >>

Coverting object types
Posted by Ayo Ogundahunsi at 9/4/2004 9:04:13 PM
Hi, I have this method - GetConnection in a different namespace, DLL so that i can reuse it. namespace MyCompany.ClassLibrary.Data { /// <summary> /// This Class contains database, connection, and SQL Server related methods and properties. /// </summary> public class Conne...more >>

using System.Diagnostics.Process
Posted by Morten at 9/4/2004 9:01:09 PM
Hi! Does anyone know why the code below always returns an "access is denied" error? private void Page_Load(object sender, System.EventArgs e) { System.Diagnostics.Process meProc = System.Diagnostics.Process.Start ("cmd.exe", " /c echo y| CACLS C:\\Temp /E /T /G test:F"); meP...more >>



Index of object array
Posted by Spare Change at 9/4/2004 8:45:17 PM
Say I am iterating through an objects values: int i; DirectoryInfo di = new DirectoryInfo("c:/inetpub/wwwroot/demos"); FileInfo[] rgFiles = di.GetFiles("*.aspx"); foreach(FileInfo fi in rgFiles) htmlPgs[i++]=fi.Name; What property of rgFiles could be substituted for i? That is, can I ...more >>

FXCop Rules
Posted by Ram at 9/4/2004 8:22:25 PM
Hey, Does any of you have a code example for a FXCop Rule? Thanks ahead -- Ram ...more >>

Monitor SMTP server
Posted by Razzie at 9/4/2004 7:18:14 PM
Hey all, I need to connect to an SMTP server and get a notification when it gets a new mail to send. I want to be able to 'read' that email (retrieve recipient information for example). Is that possible? After much much researching I came across this article on MSDN: http://msdn.microsof...more >>

Setting NTFS permissions
Posted by Morten at 9/4/2004 6:15:20 PM
Hi! I'm trying to figure out how to add a user with full access to an NTFS folder on a Windows 2003 Server using C# (web project). Does anyone have an example of this? I want to keep existing permissions and just add one more user to the list of allowed users. Thanks in advance for your ...more >>

Strange Debugger issues
Posted by cduden at 9/4/2004 5:14:47 PM
Not sure which group this question would go in so if this isn't the appropriate place I apologize. Here is the setup -- Rather large project consisting of a Winform client that communicates with a series of SAO, Single Call, IIS hosted remoted facades all written in C#. Up until recently ...more >>

http://netscan.research.microsoft.com/Static/reportcard.asp?timespan=y&searchdate=6/13/2004&searchfor=microsoft.public.dotnet.languages.csharp
Posted by listme NO[at]SPAM dsbl.org at 9/4/2004 5:04:10 PM
http://netscan.research.microsoft.com/Static/reportcard.asp?timespan=y&searchdate=6/13/2004&searchfor=microsoft.public.dotnet.languages.csharp REPORT for microsoft.public.dotnet.languages.csharp. Change the newsgroup name for a different report. Netscan data is updated monthly Newsgroup Report ...more >>

15 seconds and forward
Posted by Viktor Popov at 9/4/2004 4:48:53 PM
Hi, I would like to ask if someone knows how could be accomplished that: When a user goes to WebForm1, he/she stays ther for 15 sec and that automatically goes to WebForm2? Thank you in advance! Viktor --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (h...more >>

simple login form
Posted by nabil m at 9/4/2004 3:18:37 PM
hi i am using vs.net with csharp - i am trying to create a simple log in form user id password on submit i run a param query to check if the userid and password exist if yes i would like to store to the contactusername in a session and rediret the user to another page - q: how do i che...more >>

How to represent double in string
Posted by Poewood at 9/4/2004 2:31:01 PM
I declared 2 integers 'numerator' and 'denominator' and a double 'result'. If Numerator = 5 and deniminator = 145 then why when I put result in a string do I get 0? Example for a label text property: myLabel.Text= numerator + " / " + denominator + " = " + result; I get this: 5 / 145 = 0 ...more >>

Re: How to move objects between collections?
Posted by Baavgai at 9/4/2004 11:35:35 AM
You shouldn't have to worry about transaction issues with such operations. If the process fails miserably it should throw an exception. Of course, you can some validation of your own first. public void Move(object item, ArrayList srcList, ArrayList dstList) { if ( !srcList.Contains(item) ) {...more >>

Re: Syntax for a static indexer (or it is not possible) ?
Posted by Baavgai at 9/4/2004 11:25:57 AM
Hmm, sounds like you could use a Collection class outside your item class. I'm assuming from "traceable", you want to enforce a listing of live instances. Maybe something like this: public interface IWhatEver { string Name { get; } } public class WhatEverCollection { private static Wh...more >>

Reading/altering an .xml document
Posted by Bob Robertson at 9/4/2004 9:42:58 AM
Hey guys - I'm fairly new to .NET and am trying to do the following: Read in one ..xml document, selectively remove and/or change certain nodes within it, then save the results in a second document. For instance, if I have: <a name="a"> <b name="b" miscattr="blah"> <c name="c1"...more >>

c# express interoperability with VS2003
Posted by nomorebadboys at 9/4/2004 9:05:02 AM
with c# express package, when I open a product created in VS 2003, it opens a conversion wizard. After doing what I need to do in c# express, how can I resave the package so that it will once again work in VS 2003? conversion wizard? Is the 2005 express backwardly compatible with 2003?...more >>

Determing current table row from DataGrid
Posted by Ubi at 9/4/2004 7:35:02 AM
Hello, i have a table. a dataView and a DataGrid. I'm using the dataView to filter the table. When the user double clicks on the DataGrid i want to get the data of the first col from the row selected. The problem is that i can't get the row number of the original table because the grid is ...more >>

Docking Window problem
Posted by Falk at 9/4/2004 6:21:01 AM
hello, This is a function in the free magic library from Crownwood. My problem is that I can not move windows to the second monitor. Here is the function where I think with the problem ( 'IntPtr hDC = User32.GetDC (IntPtr.Zero);'). The function uses the User32.dll. How con I coding for...more >>

Re: Is C# too slow for real game programming?
Posted by Aaron Robson at 9/4/2004 4:18:56 AM
I know of at least one company using c# for games, however I doubt they are using it for the core engines (physics / 3d). Its certainly viable for a lot of the other code / tools, but I don't think we are realistically at a point where triple A products are going to be using it in those core mod...more >>

custom licensing scheme
Posted by Patty O'Dors at 9/4/2004 3:59:01 AM
In my quest to create a derived edit control in ATL that will go into an application that will hopefully make me some money one day, I have decided to try to devise a custom licensing scheme for it. I will describe it and would like to see what people think and how it can be improved if possib...more >>

Linked list in C#
Posted by panda at 9/4/2004 3:07:01 AM
Hi i need to use a linked list in C# for my application.In this linked list each node will be able to have more than one child node.Waht type of linked list would you suggest? Note:I am novice in C# so could you describe the code (accessing the nodes, addind neew nodes etc.)...more >>

Opening Devices in C# -- Why am I getting "Illegal Characters in Path" exceptions?
Posted by Karl Koscher at 9/4/2004 12:46:03 AM
I'm trying to communicate with a USB device using C#. I'm able to determine the device path using P/Invoke and SetupDiGetClassDevs, SetupDiEnumDeviceInterfaces, and SetupDiGetDeviceInterfaceDetail, but I can't open the device using File.Open. I get the following error: An unhandled exceptio...more >>


DevelopmentNow Blog