all groups > dotnet windows forms > february 2004 > threads for friday february 6
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
NullReferenceException in datagrid while scrolling
Posted by Miki Watts at 2/6/2004 11:02:10 PM
I have a problem with DataGrid, while filling a DataSet that is bound to it,
which throws a NullReferenceException, and the stack trace points to some
tooltip related functions in the datagrid.
This happens only while scrolling with the scroll bar.
I've seen a thread from 2002 where someone had ... more >>
MDI - how to open a child from a child within MDI parent?
Posted by Marina Neyman at 2/6/2004 7:54:26 PM
my problem is i have 3 form
mdi form: mdiParent
child form 1: frmProjects
child form 2: frmProjec
when my project start, it load a mdiParent form.
from the mdiParent's menus, i open the frmProjects (mdiParent's child form).
The problem is when i click a OK button on frmProjects, i failed t... more >>
Data transfer to text file.
Posted by Phoebe. at 2/6/2004 5:31:12 PM
Hi, Good Day!
I'm writing a program transferring some data to a text file.
Below is the screen that i produced
SecCode A_Before A_After B_Before
B_After
HK0025 BMG2097Z1059 BMG2097Z1471
HK0025
6190336 6616984
HK0106 BMG8086H1051 ... more >>
How to make MainMenu accelerator underline appear?
Posted by Dave Leach at 2/6/2004 5:01:09 PM
Everyone is familiar with the appearance of an underline below the accelerator character on a MainMenu when the user presses the ALT key. I would like the accelerator character underline to always be shown in my MDI application
Is there a way to control this programmatically
Thanks
Dav
... more >>
TextAlign doesn't work on Label when changed to FlatStyle:System
Posted by Henke at 2/6/2004 4:37:56 PM
Hi!
Why doesn't the text align property works on labels when the FlatStyle is
set to System?
Thanks in advance!
/Henke
... more >>
Out of Memory
Posted by Juan Carlos Gonzalez at 2/6/2004 3:51:08 PM
H
I have three functions, each one uses a connection to get information, I close that connections when the functions finish. I call the function every 10 seconds. But I sometimes get an exception
ERROR [S1001] [INTERSOLV][ODBC ]Out Of Memor
ERROR [IM005] [Microsoft... more >>
What event is fired when DataGrid row changes?
Posted by a at 2/6/2004 3:36:54 PM
Is there an event that fires when the CurrentRowIndex of a Windows Form
DataGrid is changed? Thanks.
... more >>
Disable/enable controls
Posted by Billgsd at 2/6/2004 2:36:05 PM
On a form, when I want to disable a textbox, but leave the text readable, I set the ReadOnly flag to true. Works great.
However, I don't have this option with combo-boxes. When a combo-box has Enabled = False, the text becomes unreadable. Is there a way to override the complete 'grey-out' effe... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Need help. Having trouble locating GDI+ exception in Windows Forms.
Posted by Ken Varn at 2/6/2004 1:41:02 PM
I have a multi-threaded managed MFC C++ application that is using GDI+
through .NET.
I am loading successive JPEGs into a Bitmap object in one thread and
displaying them into a Windows Forms PictureBox control in another thread.
Mutexs have been put in place to protect the Bitmap object and Pi... more >>
Binding an indexer to the columns of a DataGrid
Posted by Bruce Schechter at 2/6/2004 12:42:19 PM
I have an ArrayList (myArrayList) in which each element is an object of a
custom class called DataRecord. DataRecord only exposes its internal data
in the form of an indexer. During runtime, I need bind myArrayList to a
DataGrid to display all elements of the ArrayList in the DataGrid. The
nu... more >>
Forms designer deleting usercontrols
Posted by Christian at 2/6/2004 12:25:58 PM
I have a really frustrating problem, and some googling has revealed that I'm
not the only one. Its quite easy to reproduce:
1. Create a .Net C# project with a usercontrol and a forms application
2. Build the solution (debug) and add the usercontrol to the form's toolbox
3. Drag a usercontrol f... more >>
Thread vs Asynch Remote call
Posted by Todd at 2/6/2004 11:47:55 AM
I'm using .NET remoting with SAOs from my WinForms
client. For screen initialization and other processing,
should I use a separate thread to call my remote
operations, or should I call my remote objects
asynchronously?
By the way, my code has nothing to do while I'm waiting
for these... more >>
Control Drawing Issue
Posted by Mike Starkey at 2/6/2004 11:11:07 AM
I have created a transparent control and I am using to to create drawing objects Inside the transparent objects I have created I am trying to using the draw shapes oval, rectangle etc. An example would be like in word are when you drag an oval onto the screen, the drawing resizes as the control do... more >>
Question about clipboard problem
Posted by David Lindgren at 2/6/2004 10:12:33 AM
Hello!
I am using the clipboard in my application to insert images into a
RichTextBox. This works fine. What doesn't work fine is that the original
information in the clipboard get corrupted. To prvent this I try to save the
original clipboard data to a IDataObject before using the clipboard a... more >>
RegularExpressionValidator exact string match
Posted by jwaller at 2/6/2004 8:56:16 AM
PLEASE - I would really appreciate some help on this! I've got a text box I'm trying to validate that should contain a 'DOMAIN\USER_NAME' entry. I'm trying to verify that a valid domain was entered + a "\", lets say it should be 'DOMAINXYZ', so I want to match 'DOMAINXYZ\
In the validator I've ... more >>
User Control DataGridColumnStyle
Posted by Garth Ogzewalla at 2/6/2004 8:21:14 AM
I'm trying to create a DataGridColumnStyle that uses a user control in a WinForm app. The .Net documentation says this can be done, but there are no instructions on HOW to do it
I've seen example and have succeeded in creating a combobox ColumnStyle and Icon ColumnStyle - but can't seem to manage... more >>
Normal Size vs. Large Size fonts
Posted by N4709L at 2/6/2004 5:14:47 AM
We are having a problem with the size of forms when we develop our VB.NET
application on developer stations which use Normal Size (96 DPI) fonts and
the application is subsequently run on user stations that are configured to
use Large Size (120 DPI) fonts.
What happens is the form itself is to... more >>
Pinning & auto hiding
Posted by Todd at 2/6/2004 1:08:22 AM
Does anyone know how to auto hide a window with pinning
feature? Like the toolbox in Visual Studio.NET.
Microsoft is teasing me with their great interface. I
want it for my applications.
Todd... more >>
|