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# > may 2005 > threads for saturday may 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

Stupid newbie question--string formating/unformating
Posted by Mojomarc at 5/21/2005 11:57:43 PM
I'm new still fairly new to programming, and working in C#. I've written a small application as practice that takes in a string of numbers, converts them to a decimal (subtotal), and based on another text entry (txtCustomerType.Text) elsewhere on my form does some calculations with that dec...more >>


Good Tools to Generate C# Class from XSD
Posted by John Lee at 5/21/2005 11:02:55 PM
Hi, Would you please suggest me a good tool that I could use to create C# class from xsd and the generated c# class should be able to serialize and deserialize xml instance that compliant with the xsd? Thanks very much! John ...more >>

c# Coding guidelines & conventions
Posted by jarit NO[at]SPAM xs4all.nl at 5/21/2005 6:19:00 PM
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen ...more >>

Get size (in pixels) of a string
Posted by Will at 5/21/2005 6:03:07 PM
I need to know the size (in pixels) of a string painted on a graphic component Any idea? tnx...more >>

File Version
Posted by Dennis C. Drumm at 5/21/2005 3:10:28 PM
I am trying to find a way to compare the version of the currently executing assembly to the version of my latest upload so I can notify the user when a newer version is available. Is it possible to get the version information programmatically for an exe file in some folder on my web site or...more >>

Admin Prevlidges
Posted by Dennis C. Drumm at 5/21/2005 2:21:17 PM
What is the best way to determine what access prevlidges the current user has from within my running application? I need to insure the user has administrator prevlidges for one particular function. Thanks, Dennis ...more >>

shell32-listview
Posted by Syd at 5/21/2005 1:32:02 PM
Hi, I want to learn to open a file with double clicking to selected item,which is the name of file name,in a listview.I know it is done with dll shell 32 but how??? Thanks... ...more >>

How to Kick off detached process
Posted by John Lee at 5/21/2005 10:58:46 AM
Hi, I developed a scheduler as service and kick off another console application "DTSRUN.exe" to run a dts package ProcessStartInfo psInfo = new ProcessStartInfo(command); Process process = Process.Start(psInfo); I have two questions need your help: 1. When I stop my scheduler service,...more >>



Looking for CSharp equivalent of SQLBindCol
Posted by Faheem Khan at 5/21/2005 2:47:58 AM
I'm trying to get some XML data stored as binary data in a MS SQL server database's table using C# I have code which used to extract this data in C++ Pasting the functions used in C++ to get the same data... sr = SQLExecDirect(hstmt1, (SQLCHAR *)szSQLQuery, SQL_NTS); sr = SQLBindCol(hstmt1, ...more >>

Is strict adherence to Adapter Pattern really a good thing?
Posted by farseer at 5/21/2005 2:13:42 AM
Here is the scenario: I have an interface which defines get methods for data that will make up a row in a table. However, the source of this data may, over time, switch/change (The company may choose to change data providers). Therefore i thought to myself, a type of Adapter Pattern is best h...more >>

System.Windows.Forms.DataGrid - dont allow to add new rows! (newby)
Posted by elime at 5/21/2005 12:56:48 AM
Hi all I load datas from an SQL server to a Datagrid. The datagrid columns are basically read only but one column is not -> the checkboxcolum. The user needs to be able to check or uncheck this column for selection. Now at the end of the datagrid (last row) there is another row with a * in ...more >>

Problems with (Cast)
Posted by Daniel Groh at 5/21/2005 12:00:00 AM
I'm facing this error: Error Message:Specified cast is not valid. this line: char chrTipoPessoa = (char)sqlCmd.ExecuteScalar(); It should returns the letter "F" or "J"! but with (string) it works normal...I already checked and there's no space! Why I'm getting this error when I try to ca...more >>

Plugins: Abstract class factory vs. Interfaces.
Posted by Michael McCarthy at 5/21/2005 12:00:00 AM
I want to develop plugin support for a system.montitor module I am working on. A lot of the modules will do mostly interop stuff for an older system, but I want to use it myself as well to monitor event logs and other things as I think of them... I've seen two ways of doing this, the abstr...more >>

Protecting your code
Posted by Jacky Luk at 5/21/2005 12:00:00 AM
I saw an old thread in this group which addressed the issue of reverse compilation. After some study, I draw a conclusion that "reverse compilation" is completely blocked off in win32 environment (except in .NET languages like C#) because (in the worst case) when you tried to figure out what...more >>

CDO object?
Posted by perspolis at 5/21/2005 12:00:00 AM
Hi everyone. I used a System.Web.Mail to send smtp mails. but it needs that SMTP component of windows be installed. is there a way to bypass problem?? I mean I want to transfer this application to another Windows and maybe there isn't this component. Can I just dll of the SMTP component?? t...more >>

Line Breaks in Label
Posted by Fraser at 5/21/2005 12:00:00 AM
Can i put a line break in a label ?? Ie. I want to have Name: Address: Address2: ..... Listed like that instead of having it wrap, can I have a multiline label ? Thanks. ...more >>

MDI form
Posted by perspolis at 5/21/2005 12:00:00 AM
Hi all I used a MDI application..and in this application I have a panel in parent form. when I show some children and then I close them,I can't see the panel..I wonder why the panel get invisible. ?? ...more >>

How can i display images continuously without my interaction?
Posted by Mamatha at 5/21/2005 12:00:00 AM
Hi I am developing a small application to capture a record a video file through webcam in C#.NET. In this application i created a JPEG images for every slide,means every JPEG image was treated as a slide then i want to display these images as a slide show. How can i alot time teo each fr...more >>

HKEY_LOCAL_MACHINE\Software\MyCompany access
Posted by Dennis C. Drumm at 5/21/2005 12:00:00 AM
Is there any way that a program running under a restricted user (not an administrator) can aceesss a specified part of the system registry set aside/created for its use, such as: HKEY_LOCAL_MACHINE\Software\MyCompany ? Along those same lines, what does RegistryPermission.SetPathList, AddPat...more >>

Problem with Thread.Abort()
Posted by Ennixo at 5/21/2005 12:00:00 AM
hi, i coded an application in which i can move a slider to define a radius and it computes a gaussian blur in a thread. because the Scroll event of the slider is often raised, i use one thread (declared in the form's class) that i abort when it is already existing and running. this wo...more >>


DevelopmentNow Blog