all groups > c# > october 2003 > threads for saturday october 11
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
Filter listview
Posted by pcPirate at 10/11/2003 11:40:24 PM
Hi,
Just a simple question.
In C#
i) Is there a way to filter the items in Listview by characters? Say, if
the items are: "AA", "AAA", "AB", when I type "AA", the listview should
display only the: "AA" and "AAA".
Pls advise.
Thanks in advance.
pcPirate
... more >>
Qyestion about a list box
Posted by Patrick De Ridder at 10/11/2003 11:14:54 PM
In a list box I use to display a text file, I get a bar across which
moves with the cursor. The bar looks ugly. How dI get rid of it?
Many thanks.
--
Regards,
Patrick.... more >>
How to get progress for file copy?
Posted by Peter Rilling at 10/11/2003 9:09:48 PM
Suppose that I want to get periodic status info when coping a file, how do I
do this? For instance, if my program copies a large files, how can I be
notified of the progress so that I can display the progress to the user?
... more >>
A design pattern question for enumerators.
Posted by Peter Rilling at 10/11/2003 8:58:36 PM
A design pattern question.
As you know, an enumerator in .NET is broken into two interface (IEnumerable
and IEnumerator). Is there a benefit in having two interfaces? Why not
just have the IEnumerator interface with the methods that interact with the
collection?
... more >>
Good C#.NET Book For VB Programmer
Posted by Bob at 10/11/2003 7:15:24 PM
I've never programmed in any language that is a variant of C, but I do have
a lot of VB and PowerBASIC experience. Could someone please recommend a
good C# beginners book. I am using C#.NET 2003.
Thanks!
Bob
... more >>
C# Pretty Printer?
Posted by John Wood at 10/11/2003 6:41:24 PM
Does anyone know of a good, free C# pretty-printer?
One that outputs to HTML would be good. If it came with C# source it would
be even better.
... more >>
setting variables to null
Posted by buzlite NO[at]SPAM rogers.com at 10/11/2003 6:24:52 PM
Hello All,
From time to time, I noticed from sample snippets of code that the author
explicitly set their variables to null to towards the end of a method.
Would someone tell me the reasoning for this. is it for optimization
reasons (eg. garbage collection)
thanks
... more >>
static members
Posted by fred at 10/11/2003 5:03:10 PM
Hi, can someone please explain to me how a static member of a class works.
For example if I have:
public Class1
public static Class2 myClass2 = new Class2;
public static Int16 thisValue = 200;
public static string thisString = "This string value";
public static boolean thisBoo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
GC dont call my Dispose-Method although I implemented IDisposable
Posted by Jazper at 10/11/2003 4:23:05 PM
hi
i have this problem. i made a class deverted by CRootItem with
implementation of IDisposable-Interface. i made a test-funktion to test my
Dispose-Method.... but when set a breakpoint in my Dispose-Method and call
the GC nothing happend!!! my Disposemethod has never been called!! so the GC
... more >>
Random.Next question
Posted by andreranieri NO[at]SPAM hotmail.com at 10/11/2003 3:49:18 PM
I'm trying to write a Password generating program which will fill one
of the fields in our Accounts Table with an eight-digit password made
up of numerals, upper and lower case letters. I'm generating a random
number from 48 to 122, then converting its ASCII value to a char and
concatenating it... more >>
requerying populated dataset
Posted by Omar at 10/11/2003 3:46:33 PM
Is it possible to requery a dataset and load the result into a few
textboxes?
I'm trying to requery a dataset (which contains all employees) so it returns
only one employee.
I don't want to go through the process of connecting to the DB again and
filling another temporary DS w/ 1 employee beca... more >>
Remoting book
Posted by JJ at 10/11/2003 3:39:18 PM
Does anybody have any good book recommendations that go
into detail about .NET remoting? I really need to get up
to speed on this subject.
Thanks!... more >>
Feature request:....
Posted by Mr.Tickle at 10/11/2003 12:07:46 PM
When setting the [Flags] attribute on an enum, why should I have to specify
powers of 2 when the compiler should see this is a bitfield and set the
range accordingly, why should I have to do the work that the compiler can
do?
To me this is just asking for errors to be introduced by offloadin... more >>
Smart Devices
Posted by Casey Entzi at 10/11/2003 8:09:56 AM
I have Visual C#.net and got visual studio 2003 with it as a package. My
question is, can I create programs for Smart Devices? In the help file it
walks you through it, but it tells you to create a new project and click
smart device. The only templates it lists under "Visual C# Projects are:
... more >>
structs and destructors
Posted by codymanix at 10/11/2003 3:28:33 AM
since structs are value types, is a destructor of a struct immediately
called when the struct goes out of scope? this is definitely not the case
with class-objects since they are allocated dynamically are cleaned up by
the gc at a undefined time.
--
cody
[Freeware, Games and Humor]
www.de... more >>
print document
Posted by [Yosi] at 10/11/2003 2:42:25 AM
I trying to print my App form by printDocument,
i trying to draw the text box, but i don't know how to
draw the the text in the right alignment.
// print edit box control contents
if (Controls[i].GetType() == this.textBox1.GetType())
{
TextBox theText = (TextBox)Controls[i];
g.DrawString(t... more >>
Socket bug
Posted by Lloyd Dupont at 10/11/2003 2:12:59 AM
I'm doing some stress test for some TcpIP communication.
rougly it's someting like that:
for(i=0; i<1000; i++)
{
Sockect s = new Socket()
s.Connect(endPoint);
NetworkStream ns = new NetworkStream(s);
// .... read / write about 10k random bytes
....
ns.Close();
... more >>
[Obsolete("Doesn't work across multiple solutions", true)]
Posted by Womble One at 10/11/2003 1:59:57 AM
Is there any way to get the 'Obsolete' attribute to work across multiple
solutions?
I currently have 70 solutions, each with 3 projects in them, and would like
to change some base architecture, letting the app developers fix their own
code over time.
It works great in the first solution, but an... more >>
CreateProcessAsUser()
Posted by Bill Huang at 10/11/2003 12:20:23 AM
Any one has some working C# code that calls
CreateProcessAsUser() to do impersonation?
Thanks
Bill... more >>
|