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# > march 2006 > threads for sunday march 5

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

WMI
Posted by Paul at 3/5/2006 11:16:53 PM
Hi, I would like to convert a VBS to C# that retrieves all devices info on a system from "Win32_CIMLogicalDeviceCIMDataFile" class. .... Set wmiColls = objWMI.ExecQuery("SELECT * FROM Win32_CIMLogicalDeviceCIMDataFile") For Each wmiColl In wmiColls [1] Set ao = GetObject("winmgmts:" ...more >>


Application Role
Posted by Ace at 3/5/2006 10:59:59 PM
Hi, I am new to C# and i am developing an application using VS.Net 2005 to create a dll that will hold all the business logic which will requires me to connect to an msde 1.0 database to activate an application role. My problem is how do i store and retrieve the application role user and pas...more >>

Re: closing previous form
Posted by Randy A. Ynchausti at 3/5/2006 10:43:11 PM
> ss, > >> I am opening a new form by: >> ChooseLeve chl = new ChooseLevel(); >> chl.owner = this; >> chl.close; >> >> i want that when the user clicks on button1 in chl (ChooseLevel), the >> preiouse form will be closed, >> how do i do it? > > Depending on what you really want to do, the...more >>

To Chane mouse pointer during posting data
Posted by sonu at 3/5/2006 10:03:48 PM
I am developing a web application, Where i want to show mouse pointer as hour glass when i click button. actually when i click button its takes some time to populate dtata on page. During this i want to show mouse pointer as hour glass Regards Sonu ...more >>

Attributes (net1.1) Quick answer needed
Posted by Steven Nagy at 3/5/2006 8:39:13 PM
Hi all, Sorry I have no time to test this myself.... Can I add the same attribute to a field twice? Eg. [MyAttr(), MyAttr(), MyAttr()] Public string myField; I ask because I would like to use it for interchangable profiles for datagrid display. Eg. [DataGridCol(1, "User Name")...more >>

statusbar colors
Posted by Lee at 3/5/2006 8:36:12 PM
Hi, Can I change the color of a statusbar programmatically? thanks in advance lee ...more >>

Vectors and HashMaps
Posted by Lee at 3/5/2006 7:39:27 PM
Hi, are there equivalents in c# as java vectors and hashmaps? thanks lee ...more >>

Aspx files fail to execute
Posted by Steve Repp at 3/5/2006 7:13:20 PM
In subdirectory of an aspx project. Application compiles without error or warning. Any idea on what to check? ...more >>



Where is the delegate?
Posted by Ant at 3/5/2006 7:09:27 PM
Hello, Very simple question but one I need clarified. Which part of the statement below is considered the 'delegate'? Is it the 'new System.EventHandler' or the btnAccept_Click? or is it the piece of code which doesn't appear here, but abstracts the btnAccept_Click method? this.bt...more >>

How to make menus transparent in C#?
Posted by Mateusz Rajca at 3/5/2006 7:09:27 PM
How? Is it possible?...more >>

Get System Specs (memory, processor etc...) in C#?
Posted by Mateusz Rajca at 3/5/2006 7:09:27 PM
Hello, I would like to know how to find the specs of the current running system such as the memory amount and processor speed in C#? Mateusz ...more >>

newbie enum question: int index?
Posted by deko at 3/5/2006 5:17:27 PM
In an attempt to index my imageList, I do this: private enum NodeImage { imgA, imgA, imgC } Then I try this: private TreeNode nodeA = new TreeNode("NODE A", NodeImage.imgA, NodeImage.imgA); But the new TreeNode method wants ints, so that will not compile. Do I have to do this:...more >>

redirection of standard error does not work!
Posted by MR at 3/5/2006 4:00:51 PM
i am creating a new thread and trying to redirect the standard error as follows: p = new Process(); p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardError = true; p.StartInfo = psi; //parameter string ...more >>

read TIFF tags
Posted by mesh2005 at 3/5/2006 2:54:14 PM
I'm new to C# , I use MS visual studio.NET 2003. I have some TIFF images, I want to write a program using c# that reads an image (.tiff) and prints all its tags. can anyone guid me to the right way? Thanks...more >>

Static Indexer - Why Not?
Posted by Bill Cohagan at 3/5/2006 1:41:05 PM
I'm curious as to why C# doesn't support static indexers. Anybody know? Thanks, Bill ...more >>

Escaping special chars in XML
Posted by Frank Rizzo at 3/5/2006 12:09:55 PM
Hello, I'd like to have the following structure in my XML file <lname, _fname, _minit> <status>it is all good</status> </lname, _fname, _minit> But apparently, there is a problem with commas and underscores being in the key name of the node. How can I escape it? Thanks....more >>

closing previous form
Posted by ss at 3/5/2006 12:06:04 PM
Hi I am opening a new form by: ChooseLeve chl = new ChooseLevel(); chl.owner = this; chl.close; i want that when the user clicks on button1 in chl (ChooseLevel), the preiouse form will be closed, how do i do it? ...more >>

csproj/vbproj definition available?
Posted by sunyour NO[at]SPAM hotmail.com at 3/5/2006 11:27:28 AM
I'm developing an application that takes a csproj file as input (and output). I've searched for a definition or schema file for the csproj xml-file to understand the possibilites and restrictions, but not found any... Does anyone know if there is a "manual" for the csproj (and vbproj) file? ...more >>

Is it possible to turn on\off CAPS_LOCK ?
Posted by Gidi at 3/5/2006 8:25:06 AM
Hi, Is it possible to turn on\off the CAPS LOCK button using C# program? and if so, how can i do that? Thanks, Gidi...more >>

MDI question
Posted by AMP at 3/5/2006 6:13:00 AM
Hello, I have form with a few controls.I open a child form with one of the buttons and the child form is contained in the parent,BUT, it is behind the other controls on the parent.So when I move it around on the parent, the parents buttons,lables...hide that portion on the child. Seems simple e...more >>

How to get CPU Speed/System Ram in VC++ Project
Posted by salman at 3/5/2006 5:46:20 AM
i want to get cpu speed and system ram in my VC++ project. how can i do. please comments. ...more >>

Immediate window
Posted by Udi at 3/5/2006 4:31:13 AM
Hi All, I'd like to add to my (GUI) application some kind of a console window that looks and behaves like the immediate window in Visual Studio. I guess I'm looking for a parser or an interpreter package as well. Do you know of any application block I could use? Thanks! ...more >>

OutOfMemoryException on DataTables
Posted by Venkatachalam at 3/5/2006 2:47:33 AM
Hi, In my application I have text(flat) file as input and I have to generate an XML file. The maximum input text file size can be 900MB and gererated xml may result 2+ GB. Based on the first column value from the text file, the row will be moved to any of those 23 DataTable which are cr...more >>

XML parsing with streamed XML
Posted by ginguene NO[at]SPAM gmail.com at 3/5/2006 1:57:06 AM
I am sending continuous stream of XML like this : _____________________ <stream> <balise> test </balise> <balise> test2 </balise> [..........etc..] </stream> _____________________ as reading this stream (in a string builder), i need to extract the <balise> tag in o...more >>

Need help creating list of business objects
Posted by moondaddy at 3/5/2006 12:24:11 AM
I'm new to c# and .net 2.0. In the old vb.net 1.1 days I normally created a list class for every business class and used this list class for all databinding rather than using datasets. This is because often I wanted to edit data in the list and therefore needed to talk to the business object...more >>

Can't customErrors do in Global.asax
Posted by ad at 3/5/2006 12:00:00 AM
I have set customErrors to On and set a defaultRedirect in Web.config like: <customErrors mode="On" defaultRedirect="~/ErrorPage/GenericErrorPage.aspx"> When I throw a exception in Global.asax like: throw new Exception("This a Error Test !!"); It will not redirect to GenericErrorPag...more >>

asking about event
Posted by Kenichi at 3/5/2006 12:00:00 AM
hello, i'm still new to vs i have a question, how can i clear my event like to set that to null ? i would like to do something like this without knowing what is the event handler before ex: (error) button1.Click = null; i know i can clear that manually using such as button1.Click -= ne...more >>


DevelopmentNow Blog