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 2006 > threads for sunday february 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

Image Resourses using VS2005 and .resx file
Posted by Michael Poirazi at 2/5/2006 11:14:27 PM
Hello I am trying to include some images in my applications resources. 1. Create New Item (Resource File) for my Project 2. Set the name to NetRes.resx 3. Add an image , set the name to Error (it is a .png file) 4 . Put this code ResourceManager rm = new ResourceManager("NetRes", this.GetType(...more >>


Exception handling in property.
Posted by archana at 2/5/2006 11:09:54 PM
Hi all, I am having c# application containing one property. What i want is not to allow user to set null value to property. So if in code user tries to set value as null i want to through exception. Can i do this, if yes then please tell me the way of throwing exception in property and...more >>

.NET application without .NET Framework
Posted by Rajiv at 2/5/2006 10:19:59 PM
Hello, Can some one guide me on how do i make a .NET application which upon installing on the target system doesnot require a .NET Framework Installed? Bye Rajiv ...more >>

how to know when page is ready to be sent to client
Posted by Jeff User at 2/5/2006 10:07:48 PM
Hi C# .net1.1 Is there an event or some other way to know that all of the page proccessing is finished and that the page is ready to be sent to the client or do we just have to determine this based on our own logic inthe code?? I have some display stuff that is standard for all my pages. I...more >>

Inheritance Resolving, IsSubclassOf vs "is" vs "as" performance
Posted by Mark R. Dawson at 2/5/2006 9:07:27 PM
A while ago there was a post where someone asked how to find if a type was derived from another type, three ways were mentioned: Solution1: if(derivedInstance.GetType().IsSubclassOf(typeof(BaseType))) { } Solution2: if(derivedType is BaseType) { } Solution3: BaseType temp = derive...more >>

Using XLS Template In C#
Posted by Grep J at 2/5/2006 6:49:03 PM
Hello, I'm using Visual Studio.NET 2003 and I'm wondering that is it possible to call XSL file's template to transform a XML file? I have following files. A XML file below <?xml version="1.0" encoding="UTF-8"?> <MODEL> <Charge id="1">ABC</Charge> <Charge id="2">DEF</Charge> </MODEL> ...more >>

Intensive Loop, Update UI
Posted by Joe at 2/5/2006 6:06:52 PM
Is there a function where I can use in a long intensive loop that would allow the program to update the UI and allow some control of the UI. I remember using this in VB but I was wondering if there's a function call for C# to be used in a long loop. ...more >>

USB ?
Posted by Jarod at 2/5/2006 3:25:44 PM
Hey I have some device connected to USB is there any simple way to communicate with that port ? Any free libraries / open source library or something like this ? I saw System.IO.Ports can now communicate with COM ports. Is there something like this for USB ? Jarod ...more >>



inheritance
Posted by netnet at 2/5/2006 3:06:32 PM
This is an example of the concept I seem to be having a tough time w in C#: Payment -amount Check : Payment -checkNumber CreditCard : Payment -ccNumber -ccExpiration Now when I go to use this class structure .....I have to create a container, populate it, AND all methods have to be ...more >>

mouse_event help needed
Posted by bowchow79 at 2/5/2006 2:43:59 PM
I have an application for which I'd like to simulate mouse clicks. What I want to do is simulate a click at a specific location in the application. I've tried PostMessage to no avail. I had a bit more success with mouse_event, however even this doesn't seem to actually send a click in this app...more >>

How to pass objects between forms?
Posted by swb76 at 2/5/2006 2:00:54 PM
I have a Object Oriented question. I got two forms - Form1 and Form2. I also got two classes Class1 and Class2 Form1 has objects Object1 - instance of Class1 and Object2 - instance of Class2. When i load Form1, i load this form and instantiate Object1 and Object2. Please note Object1 and O...more >>

XML Trace WSE 2.0 problem
Posted by Albert at 2/5/2006 2:37:18 AM
Hi, I've recently had frustration experience using a certain web service provided by a known organization. In order to maybe get a response from the technical they want me to send them the XML trace for the input and output calls and answers to the web service. I've downloaded WSE 2.0 ...more >>

Platform Invoke, LoaderLock
Posted by Light at 2/5/2006 2:28:46 AM
I've a few questions on platform invoke and some issues I've seen. 1. Is it possible to avoid LoaderLock exception without simply turning it off? Does it occur in .NET projects with win32 dll or ONLY in .NET projects with a mixed win32+.NET dll? 2. How to pass a .NET type to a C++ char ** t...more >>

Final and Cieled and nothing in C++
Posted by My4thPersonality at 2/5/2006 12:00:00 AM
Has the fact that both Java and C# are garbage collected, and C++ in not, anything to do with the fact that there is no language item to prevent a class from being inherired from? I once read that Java and C# implement this feature for preformance, but the C++ creators said it was not worse th...more >>

Interfaces...
Posted by VahidP at 2/5/2006 12:00:00 AM
When im inheriting an interface(that I created) a line TODO: add... shows for each method that the interface has and I need to implement... how can I change that message... thanks... ...more >>

ASP DataGrid and events problem HELP
Posted by Jeff User at 2/5/2006 12:00:00 AM
Hi I tryed to solve this problem over in the framework.asp group, but still am having trouble. Hope someone here can help. using .net 1.1, VS 2003 and C# I have an asp.DataGrid control with a Delete button on the end of each row. I am unable to gain access to the event when the button is c...more >>

How to display 32bit icon
Posted by Liu Feng at 2/5/2006 12:00:00 AM
How to display a 32bits icon in pictureBox or button? It can be displayed correct in toolbar, but not work in pictureBox and button. Who can help me? -- Thanks, LiuFeng MSN Messenger: blindlf@hotmail.com ...more >>

Difference between [In, Out] and ref parameter usage....
Posted by SpotNet at 2/5/2006 12:00:00 AM
Hello NewsGroup, More out of curiosity, now I'd love to know which is a better way, if one can think in such terms in this context. If I implement the ChooseColor API function, the documentation states (briefly); BOOL ChooseColor(LPCHOOSECOLOR lpcc); lpcc is defined as "...[in, out] P...more >>

Paradox tables memo fields
Posted by Ivan Sammut at 2/5/2006 12:00:00 AM
Hi, I am accesing some paradox table using the ADO .net and everthing worked fine until I had to save something in a memo field. Everytime I try to update a memo field I get an error. Is there any know issues with this kind of fields in Paradox tables or am I doing something wrong. I...more >>


DevelopmentNow Blog