all groups > c# > november 2006 > threads for saturday november 25
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
Important method in setter.
Posted by kruskal at 11/25/2006 11:56:47 PM
Hi,
if i have:
private a;
public T A {
get {
return a;}
set {
important_method(a, value);
a =3D value;}
}
in class C...
Anyone can do:
C c =3D new C();
A a =3D c.A;
a =3D new A();
And a will change without important_method(a, new A());
How can I prevent it?
... more >>
Why does the try statement (and catch clause) require a block?
Posted by reycri NO[at]SPAM gmail.com at 11/25/2006 7:11:02 PM
While the following is allowed:
if (a == b)
SomeFunction();
else
OtherFunction();
The following is not:
try
DoSomething();
catch (Exception e)
ProcessError(e);
I checked the C# grammar and it confirms that, unlike all other
compound statements, it requires a bl... more >>
outcome of: int i = new System.Int32(); ???
Posted by Jeff at 11/25/2006 5:02:00 PM
Hey
I'm wondering what the outcome of this is C# code really is:
int i = new System.Int32();
Which one of these scenarios below describe what the outcome is:
#1: A new reference type instance of i set to zero
#2: An uninitialized i variable
#3: An initialized i variable set to zero
I or... more >>
MarqueeControl: MSDN Walkthrough question
Posted by John D'oh at 11/25/2006 3:57:05 PM
Hello,
I have been going through the MSDN Walkthrough: Creating a Windows
Forms Control That Takes Advantage of Visual Studio Design-Time
Features.
Everything was going fine and I was able to create and compile the
MarqueeControlLibrary project. And I think I even understood most of
it.
... more >>
IDisposable und COM
Posted by Matthias Pieroth at 11/25/2006 2:38:39 PM
Hallo NG,
ich habe mal eine Frage zum IDisposable-Pattern und COM. Wir haben eine
MFC-Anwendung in die wir .NET integrieren (COM Interop, .NET 1.1). Es gibt
eine API in COM, von der wir aus der TypeLib den .NET Wrapper (RCW)
generieren. In .NET kapseln wir die RCW-Objekte an einigen Stellen... more >>
How to save user options and settings to a file, like we used to do with INI files?
Posted by Richard Lewis Haggard at 11/25/2006 1:45:12 PM
I have an application that can't use the registry to save various user
options and application settings. My first thought was to simply use an
application configuration file but this approach seems flawed. The app
config file appears to be updated with values while the application is
running... more >>
design a webform
Posted by SemSem at 11/25/2006 1:33:01 PM
how to make a well design web pages and web form in ,net as
all form ido is very simple iwant to improve it .
if there some tools to used in .net or some techneque iheard about css or
something like ths .
can someone tell about all this.
tahnx
--
Islam Khalil,
regrads... more >>
Suggestions for studying for Brainbench test
Posted by Siegfried Heintze at 11/25/2006 10:22:40 AM
I'm going to be taking the brain bench test soon. Does anyone have any
helpful hints? I asked the recruiter if it was on C# 2005 or C# 1.0 and she
did not know. She thought it was on C# 1.0.
Thanks,
Siegfried
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
c# out of memory question
Posted by pberent NO[at]SPAM covad.net at 11/25/2006 8:16:49 AM
I am trying to run a c# program which loads very large arrays (total
of about 1.2GB). I have 2GB of RAM on my machine and looking at task
manager it doesnt look like it has all been used. I have set virtual
memory (ie disk space to be used as RAM) to 3070MB. I have tested my
RAM using a RAM test... more >>
Converting #ifdef and #ifndef to C#
Posted by canoewhiteh2o NO[at]SPAM yahoo.com at 11/25/2006 6:41:41 AM
I am converting a couple of C header files to C#. It is mainly just a
bunch C structs but I am not sure how to handle the #ifdef and #ifndef
in C#. For example:
#ifndef DATE_TIME
#define DATE_TIME unsigned long
#endif // NOT DATE_TIME
The #define DATE_TIME I am handling with:
public const ... more >>
Make Well Design Forms
Posted by SemSem at 11/25/2006 3:58:01 AM
iwant to know if there any way to make awell design forms as ithink .net
can offered to me good design tools
ineed to kow how idsign an asp well design site and if there techneques are
used in designing
ihear something like css or style sheet
ihope to find enough infomration from som... more >>
Process handle
Posted by Lin at 11/25/2006 3:16:07 AM
Hello,
I am new to c#, please help.
I am writing an application, which will be able to send email
automatically, for a very large organisation. The application I am
writing should be on the central server, anyone within the organisation
should be able to download the application and run on ... more >>
any C# GUI samples/tutorials for .Net Compact Framework on WinCE
Posted by George at 11/25/2006 2:05:01 AM
Hello everyone,
I have some experience of C# development on Windows desktop. Now I am
learning how to develop GUI application using C# on WinCE device, based on
..NET Compact Framework.
Are there any samples/tutorials to make reference for a beginner?
thanks in advance,
George... more >>
temporarily disable focus changing
Posted by Jon Slaughter at 11/25/2006 12:00:00 AM
Is there any method to temporarily disable focus changing?(I assume only
method is tab or mouse?) This problem has been tieing me up for a while and
nothing seems to work. The only thing that I *know* will work is to disable
all tab stops on all controls. This brute force method doesn't seem l... more >>
RegEx for newbie
Posted by Praveen at 11/25/2006 12:00:00 AM
Im new to C# regEx.
I want to do a validation in array of integers and alphanumeric, to know
each item is a number between 250 and 350 using regEx.
string[] Arr= new string[] {"191", "677", "31", "901", "250", "100", "313",
"219", "1234567", "abc123"};
thanks,
Praveen
... more >>
|