| |
thread by: John A Grandy |
last post Jun 27 '08 by: Ben Voigt [C++ MVP]
Is there a performance difference between forward iteration and reverse
iteration through a List<string?
for ( i = 0; i < myList.Count; i++ )
{
// do work, such as forward iterate through a subset of myList ...
}
vs
|
thread by: Mitch |
last post Jun 27 '08 by: Ben Voigt [C++ MVP]
I'm wondering if I'm doing myself a disservice by learning Visual C#,
considering it does so much of the work behind the scenes.
Should I be learning console apps first?
I still haven't found the right book.
C# For Dummies started out great, then the guy just goes into the
stratosphere, with no explanation on how he went from point B to...
|
thread by: Jay Dee |
last post Jun 27 '08 by: Ben Voigt [C++ MVP]
Hi all.
I have bean studying the use of Interfaces, and from what I understand
if you create a class that inherits from an interface, that class must
poses a member that represents each member of the derived interface.
Well this all seams sensible because otherwise it would defy the
principles behind inheritance,
I was studying the...
|
thread by: Paul |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi,
I need know the fields involved in a ConstraintException with code.
Any idea?
Thanks
|
thread by: vijaysambhe |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
Hi ,
Can i populate the class variables in following fashion?
public class abc
{
string name;
public string Name
{
|
thread by: tshad |
last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
I am calling a function that requires an Exception which you normally get
from a Catch ( Catch(Exception exc)).
But I have a message I am trying to pass to this funtion, but since it
requires an Exception object, I can't just send the message.
I need to create an Exception object and make the exc.Message field equal to
my message and then...
|
thread by: ColoradoGeiger |
last post Jun 27 '08 by: Peter Duniho
I have a fairly standard server application that I am using
asynchronous socket calls to make connections, send and receive data,
and all of that jazz. No blocking methods was my goal in writing this
and it's gone very well so far. But coming from the blocking world, I
want to have some timeouts on my receive routines and I after reading
a...
|
| |
thread by: Dav |
last post Jun 27 '08 by: Dav V
I used soapUI (webservice testing tool) to test thrird party secure ondemand webservice and worked fine and communicating from our proxy. they authenticated our proxy port . but when i deploy .NET console C# client to test, I am not getting response and throwing Internal exception error 500. don't know what i am missing in the following code...
|
thread by: Jeremy |
last post Jun 27 '08 by: Peter Morris
I'm trying to work through some sample of WPF. The Simple Binding example
says the following:
"Install the Windows Software Development Kit (SDK) and open its build
environment command window. On the Start menu, point to All Programs,
Microsoft Windows SDK, and then click CMD Shell."
So, I google Windows Software Development Kit and find...
|
thread by: hugo |
last post Jun 27 '08 by: hugo
billige preise billige preis laufleistung billige autoreifen koeln
autoreifen günstig preise billige pkw autoreifen stickstoff billige
autoreifen stickstoff billige autoreifen
+
+
+
http://billige-autoreifen.mirror-server.net/
http://billige-autoreifen.mirror-server.net/
http://billige-autoreifen.mirror-server.net/
|
thread by: Andrus |
last post Jun 27 '08 by: parez
I'm creating .NET 3.5 WinForms application.
I need to create textbox which remembers last 10 entries (stores in isolated
storage) and
offers users to select them on entry just like IE auto-complete address bar.
I think I must use textBox custom AutoCompleteSource.
Where to find sample code which implements this ?
Andrus.
|
thread by: Peter Afonin |
last post Jun 27 '08 by: =?Utf-8?B?UGV0ZXIgQWZvbmlu?=
Hello,
I'm new to Crystal reports. Recently I developed my first report, using
class as a datasource, and it works OK. But when I created a second report,
I started getting error: "Invalid report file path".
I'm using exactly the same class as a datasource, and the path to the report
is correct. I've checked the report folder permissions...
|
thread by: Michael Harrington |
last post Jun 27 '08 by: Peter Duniho
Is there a C# equivalent to Vb6's Erase when dealing with arrays?
Also vb6 handles the long variable type better (speedwise) than int.
Is this also the case in C#?
TIA Mick.
|
thread by: Tony |
last post Jun 27 '08 by: Peter Duniho
Hello!
I have method CompareTo written below. But I have a problem because I want
to sort on HeatNumber which is of type int and if this is the same on
MspName
which is a string. But according to the compiler I'm not allowed to use < on
string.
So my question is how do I solve this problem. The object Item is stored in
an ArrayList.
|
thread by: Paul E Collins |
last post Jun 27 '08 by: Paul E Collins
"Adam Sandler" <corn29@excite.comwrote:
Here is one way to do it:
for (int i = 0; i < s.Length; i++)
{
string temp = s;
int j = r.Next(s.Length);
s = s;
|
| |
thread by: Paul E Collins |
last post Jun 27 '08 by: Paul E Collins
This code won't compile because "the modifier 'abstract' is not valid for
this item".
abstract class X
{
public abstract static bool operator >(X a, X b);
public abstract static bool operator <(X a, X b);
}
Why is that? -- apart from the obvious reason that the specification doesn't
|
thread by: =?Utf-8?B?ZmhpbGxpcG8=?= |
last post Jun 27 '08 by: mario
We have a code snippet that downloads data to Excel. it is writing row by
row. This causes a performance issue. Any ideas on how to speed this up will
be appreciated.
Please find below an excerpt of the code:
#region Method:WriteToExcel
/// <summary>
/// <para>Description : Method is used to Write the records into
excel</para>
|
thread by: Mauro |
last post Jun 27 '08 by: Mauro
I'm trying to use the following VB function to transform a pdf
document to a tiff one:
http://forums.microsoft.com/msdn/showpost.aspx?postid=1665127&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=1
Private Sub savePDFtoTIF(ByVal fullPathPDF As String, ByVal
fullPathTIF As String)
Dim PDFApp As Acrobat.AcroApp
Dim PDDoc As Acrobat.CAcroPDDoc
Dim...
|
thread by: =?ISO-8859-1?Q?Lasse_V=E5gs=E6ther_Karlsen?= |
last post Jun 27 '08 by: RichB
RichB wrote:
If it isn't really a part of object A, then it shouldn't depend on it
either.
Provide a "validation context" type of object to it instead of a
"parent", so that it can validate itself against the context, not
necessarily the "parent". An interface containing just the needed
properties is a good way to go here.
|
thread by: Maqsood Ahmed |
last post Jun 27 '08 by: Maqsood Ahmed
Hello All,
I am try to display a dropdown grid as cell in the DataGridView (.NET
2.0). Can some guide me through?
Regards,
Maqsood Ahmed
|
thread by: Ashutosh Bhawasinka |
last post Jun 27 '08 by: Ashutosh
Hi,
I have a C++ DLL, it exports some some plain C style functions. This
functions internally initializes COM and then MAPI. This works fine if I
use the DLL from a C++ application (I tested with a C++ Win32 console
application).
But, when I call/invoke those functions from a C# .Net application using
PInvoke, COM initialization fails in...
|
thread by: =?Utf-8?B?QUEyZTcyRQ==?= |
last post Jun 27 '08 by: =?Utf-8?B?TW9ydGVuIFdlbm5ldmlrIFtDIyBNVlBd?=
I am struggling a little with these 2 problems:
1. How can I convert an integer, representing x days from 01/01/0001 (the
minimum value for DateTime, in dd/MM/yyyy) to dd/MM/yyyy?
2. Is there any functionality for converting a date from one locale to
another?
Thanks for your help.
|
thread by: steven acer |
last post Jun 27 '08 by: steven acer
Hi, i'm trying to use the .NET cryptography API to encrypt XML data
and move XML files between computers.
i'm using asymmetric keys to encrypt the xml tag data with the
receiver's public key, then compute a hash for the whole file and sign
it with my private key.
My problem now lies in finding and reading the keys to make them
available to...
|
| |
thread by: Ste |
last post Jun 27 '08 by: Ste
Good morning,
can I read a list of remote shares connected locally with or without
drive letter ?
Thank you.
Stefano.
|
thread by: =?Utf-8?B?QVZM?= |
last post Jun 27 '08 by: kodehoved
Hi,
I've need clariifcation regarding the Obejct data type.
Is this object a value type or reference type?....
can you please some articles which give explaination as to why
it's treated as value type\reference type???
Thanks
|