all groups > dotnet windows forms > september 2003 > threads for sunday september 28
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
reading files in use by other processes
Posted by Bronco at 9/28/2003 7:26:38 PM
How can I read the contents of a (text-)file which is already in use by
another process? I'm just interested in the contents of the file, not
manipulating it...
TIA,
Bronco
... more >>
ArrayList Databinding
Posted by Brian Johnson at 9/28/2003 5:52:40 PM
I have a Listbox which uses an ArrayList as its
datasource. This works great until the contents of the
ArrayList change; the Listbox is not updated as I
expected.
Upon further digging, I found that this is the default
behavior. Other data collections (datatables, etc.)
should do this,... more >>
Problem with DialogResult property
Posted by Paul K at 9/28/2003 5:06:16 PM
I'm designing some forms in C#, and I'm having a problem
reading the DialogResult property of a dialog. Here's
the code I use to create a new instance of the dialog:
mUserMaint = new formUserMaint();
mUserMaint.InitForm(false,mUser);
if (mUserMaint.ShowDialog(formMain.ActiveForm) ==
Dial... more >>
How to get a list of available types
Posted by news://news.microsoft.com at 9/28/2003 2:02:19 PM
Hello,
i have a property of type "System.Type" which i want to make editable with
the default PropertyGrid. The user should not only enter the name of the
type, but choose one type form a list.
For that reason i must (as i know) inherit from the abstract class
System.ComponentModel.TypeListCo... more >>
How to change the color of a button when Num, Caps, or Scroll Lock are on?
Posted by gr8monke NO[at]SPAM ameritech.net at 9/28/2003 12:30:33 PM
Hello,
I am working on a C# program for class. I have made a keyboard typing
program and want to be able to have it detect if the Caps, Num, and
Scroll Lock keys are on or off at program startup. I have made three
buttons representing each of these (like the lights on any keyboard
representing ... more >>
|