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

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

Toggle Languages in MDI form
Posted by Jonathan Woods at 2/19/2005 10:39:23 PM
Hi there, How to change UI(e.g. Menus)Labels in MDI Form? I'm using Localization for Multilingual Support. It is OK in childForm When CultureInfo object set to CurrentThread.CurrentCulture and CurrentUICulture. I want to change language on the spot without having to reload MDI form.(For examp...more >>


How do I call a Visual C dll in my .NET app?
Posted by aaa at 2/19/2005 6:32:45 PM
How do I create a Visual C class in my C# app? I have been able to make ref but i all I can see in the object browser is a bunch of structs? ...more >>

Convert a string to bool
Posted by ReidarT at 2/19/2005 6:15:07 PM
I have a value from a field (int) in a table like string strPlayerLoginStatus = dsPlayer2.Tables[0].Rows[0][1].ToString(); I like to convert the strPlayerLoginStatus from string to int to use it in an if statement How do I convert the variable? regards reidarT ...more >>

INSERT statemant return ID
Posted by Grei at 2/19/2005 5:00:36 PM
i need RecordId of newly created record after i: command.executenonquery(INSERT ....) now i do: INSERT, and later SELECT max(RecordId) but i'm hoping there is a better way. is it possible in both Access and SQL server? Thank you ...more >>

RFC: Exceptions and control flow
Posted by Alvin Bruney [MVP] at 2/19/2005 3:36:04 PM
Exceptions must not be used to control program flow. I intend to show that this statement is flawed. In some instances, exceptions may be used to control program flow in ways that can lead to improved code readability and performance. Consider an application that must eliminate duplicates ...more >>

Screen capture of a covered window
Posted by DalePres at 2/19/2005 2:32:57 PM
I need to be able to do screen captures of a window that is covered by another window. All the examples I find capture the display at the target window coordinates, so it shows a section of the topmost window at the coordinates of the covered window. Any ideas how to capture a covered wind...more >>

Form design without a project?
Posted by Dan at 2/19/2005 1:55:36 PM
Hi. I'm not sure whether this is the right group to post this in - if not can you advise me of a better suited newsgroup to post to instead? I'm just starting playing around with C# and windows forms. In the past, all my C/C++ projects have been my own custom makefile, and I do all my compil...more >>

Linkbutton to previous page
Posted by ReidarT at 2/19/2005 1:50:37 PM
How do I program javascript:history.Back on a button to get me from a page to the previous page regards reidarT ...more >>



re:Binary "Database" for a game - please help
Posted by acidon NO[at]SPAM comcast-dot-net.no-spam.invalid at 2/19/2005 1:46:40 PM
No one knows? Or did I just confuse everyone with my rambling? If you are unclear on what I am asking, or have any other questions before forming a suggestion, please let me know. I am avidly searching the web for my answer, and checking back here. Would really appreciate the help, thanks! ...more >>

Programmatically setting the Windows Media Player URL
Posted by John at 2/19/2005 1:32:17 PM
Hi all, Any takes on the above, please? Regards John. ...more >>

Casting question
Posted by Valerie Hough at 2/19/2005 1:30:58 PM
I have a class that contains an ArrayList object. All items in the arrayList are of the same type, but that type depends on how the class is initialized. I would like multiple public methods (with the same name) for retrieving my objects WITHOUT having to have the caller cast them, i.e. pub...more >>

? about typed datasets
Posted by D at 2/19/2005 11:53:13 AM
I was reading through this article (Creating a data layer by Wayne Plourde) and there was a section about modifying the xsd created by the wizard to adjust for read only properties and such. It was a good read. Anyway, in my situation I have several tables all of the exact same design. Each...more >>

What is the difference between DataRow and DataRowView
Posted by ad at 2/19/2005 11:48:36 AM
What is the difference between DataRow and DataRowView? ...more >>

Binary "Database" for a game - please help
Posted by acidon NO[at]SPAM comcast-dot-net.no-spam.invalid at 2/19/2005 11:42:34 AM
Hello and thanks in advance to anyone who offers help. To make this simple, let's say I have a game which has 100 different monsters. I want a binary data file to hold all of these. It would have the index number of the mob, name, size, attributes, etc. I can easily create an editor to edi...more >>

rename file on download
Posted by Aaron at 2/19/2005 11:38:51 AM
On my website I have a dynamic link(aspx) to this file 0AX120S.jpg(privacy protection). When a visitor clicks on the link I want them to see my_vacation_pic.jpg (fetch realname from database) is this possible with ASP.NET(C#)? Thanks Aaron ...more >>

Copying and pasting components with events
Posted by glenn at 2/19/2005 11:01:57 AM
I have a very serious problem with my forms and components that I was wondering if there was a way to turn off. The problem is as follows: 1) create a form and place 50 components on the form with various types of events attached to each field and grid, such as exit events, key press events ...more >>

Array Performance
Posted by Stuart at 2/19/2005 10:55:15 AM
I have a Struct like this: public struct SocketStruct { public int SerialNo1; public long SerialNo2; public int status; public byte[] SomeData; } I need to put this into an array, and retrieve it with either SerialNo1 or SerialNo2, to get the other values. Performance...more >>

SQL injection attacks
Posted by freddy at 2/19/2005 10:45:02 AM
I would like to get more information on securing my windows apps from SQL injection attacks. There is so much stuff on web apps, but I can't find info on win apps. Can you help me...more >>

Calling a class from a button
Posted by ReidarT at 2/19/2005 10:21:20 AM
How do I call a public class function in C# from a button like private void Button1_Click(... { TextFromFile(); ???????????????????? } public class TextFromFile { .... } regards reidarT ...more >>

object reference not set to an instance of an object
Posted by dakkar NO[at]SPAM sylveria.gen-dot-tr.no-spam.invalid at 2/19/2005 9:42:28 AM
I have a code like this using System; using System.Collections.Generic; using System.Windows.Forms; using System.Drawing; using System.Data.Odbc; using System.Text; using System.Data; using Microsoft.Win32; using System.IO; using System.Diagnostics; using System.Net; public class...more >>

How to reveive WM_CREATE message for any created window ?
Posted by Flo at 2/19/2005 8:57:02 AM
Hi all, i am trying to catch system message to be notified when any window would be created or even closed. I've looked at the API messages sent, but it appears that the messages (WM_CREATE or whatever) are sent to a particular handle. Seems that IMessageFilter interface works the same. ...more >>

Problem Reading Xml file
Posted by bernardpace NO[at]SPAM yahoo.com at 2/19/2005 8:41:16 AM
Hi, I am writing an XML file in the following way. Now I need to read again that file to retrieve data such as Name and Age. Can someone help me out. Thanks in Advance /*********************************/ static void writeXML() { XmlTextWriter writer = new XmlTextWriter(@"c:\hede.xml"...more >>

What is the most popular C# community web site?
Posted by sarunnio NO[at]SPAM gmail.com at 2/19/2005 7:28:36 AM
What is the most popular C# community web site? Thanks for any idea!!...more >>

Create an averaged matrix
Posted by L. at 2/19/2005 7:01:02 AM
Hello, I need to generate random Matrices (say of size 5*5), each with an average of X (say X=0.5), but with different values’ range. One matrix should have values in the range of 0-1, while the second one’s values should have a low variance and lie in the range of (X-1) – (X+1). T...more >>

Globalization.Calendar
Posted by Islam Elkhayat at 2/19/2005 1:04:23 AM
I'm try to implement new calendar... I feel it from a database table contain column Day, Month, Year, Gorg-Date Day is the number days of month, Gorg-date is the date of the first day in the my Altrnative month.. 1-My first problem is specify accepted Culture, How could i create my calender ...more >>

How to stick a form on the Desktop?
Posted by Tyron Madlener at 2/19/2005 12:34:31 AM
I want to have a form that sticks on the Desktop even when the user hits "Show Desktop". I tried to find a way for about three days now and I couldn't find any help. So please, does anyone know how to do this? Thanks a million in advance...more >>


DevelopmentNow Blog