all groups > dotnet windows forms > september 2003 > threads for wednesday september 10
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
Label not sizing correctly
Posted by Care Lotz at 9/10/2003 11:47:35 PM
Hi All
We are in the process of porting our existing VB 6 app
containing our own composite user controls over to .NET.
A control typically consists out of a label (used for the
caption), another control for input (i.e. textbox/combo)
and also an error provider to use for displaying error... more >>
Datagrid formatting
Posted by John at 9/10/2003 11:27:22 PM
Hi
I am binding my datagrid like this;
MyDataGrid.SetDataBinding(ds, "MyTable") ' ds is the dataset
The problem is this bring all fields from the table. How can I restrict some
of the columns from appearing? Also how can I change the order and widths of
the grid columns?
Thanks
Rega... more >>
Problem with mulitthreading a winform app
Posted by Alex at 9/10/2003 10:45:01 PM
My app consists of the main application form, which spawns a thread that
exists for the life of the application. This thread will need to launch
other forms based on some logic at periods of time, but when I do it
directly from this thread, the application hangs. So I had the thread spawn
anothe... more >>
Coloring of Rows and particular cells in Datagrid C# Windows Forms
Posted by Mahesh Rane at 9/10/2003 8:07:52 PM
Hi,
i am having a datagrid, i am able to color the datagrid cell and rows by
using the paint property of DataTextBoxColumn in datagrid, but i every
time the paint method is fired..... that result into very slow
performance if the number of rows are more than 20k. so is there any
alternati... more >>
Caret on left side of selected text in textbox
Posted by Ulrich Sprick at 9/10/2003 6:09:54 PM
Hi all,
how can select some text in the textbox, but have the caret on the LEFT side of the selection? You can do that with the mouse by
drawing the mouse cursor from right to left over some text. But how can it be done programmatically?
I played around with textbox.SelectionStart and .Select... more >>
Email
Posted by Entropia at 9/10/2003 5:48:09 PM
Hey,
I don't know if this is the right group to post or where else I have to post
it, but I want to do the following:
I want to make a programm that receive e_mail. Then I want to perform some
actions depending on the content of the email. Does anyone has an idea where
I have to start to ma... more >>
MDI Question
Posted by Darin at 9/10/2003 3:59:53 PM
Hi,
I am creating a MDI app that will be different from the typical mdi app (MS
Word...) The parent form will be the container for 5 different child forms
that can be only created once (intialized). I have noticed that you can
create many instances of each child form. I do not want this fun... more >>
How to: Determine if you have a Network Connection???
Posted by Steven Van Dyke at 9/10/2003 1:34:42 PM
Hi
I need a code snippet to determine if my computer is connected to a network
or not.
There's probably a System.Net function for it, but I cannot find it.
Thanks,
Steve
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
odd Bindings
Posted by Samuel at 9/10/2003 1:15:54 PM
Hello:
I first put the code and then I'll comment it:
.... somewhere in Form_Load ...
Binding binding = new Binding("Value", myTableDataView, "StartupDate");
binding.Format = new ConvertEventHandler(StartupDateBinding_Format);
StartupDateDateTimePicker.DataBindings.Add(binding);
....
... more >>
Pausing the application
Posted by kotayya at 9/10/2003 1:13:13 PM
I am trying to develop an application which needs to
execute particular every 30 seconds. How can I achieve
that. Please help.
Thank you
Kotayya... more >>
Performance concern...
Posted by Action at 9/10/2003 11:37:30 AM
Hi,
I am deciding whether I should use MFC or C# to write a Management Station
which has lots of GUI components
I would perfer C# for shorter development time...but I am a bit concerning
the performance when there are large number of UI components
so my questions is
is the application still ve... more >>
What is the proper way to terminate your MDI app and allow user abort of close
Posted by JerryK at 9/10/2003 11:26:07 AM
Hi,
I am wondering what is the proper way to terminate an MDI app that has
"dirty" forms.
In my case, the child form is editing some data. If the user presses the
"X" button on the main form, the code I have is
parent_Closing (...) handles MyBase.Closing
Application.Exit()
End Sub... more >>
Refreshing a ComboBox
Posted by JT at 9/10/2003 10:37:45 AM
I have combobox bound to a sorted dataview of a strongly
typed datatable. After adding a new record to the
datatable, I would like to have that new record be
displayed in the textbox portion of the combobox. I have
tried the following to no avail:
myCombo.SelectedValue = newPrimaryKeyID... more >>
Application PlugIn with Interface
Posted by Raphael at 9/10/2003 10:18:37 AM
Hi, I'm creating an application that has a Tab control. I
would like to create a series of plug-in DLL's which will
make up each tab. The class for each tab inherits the Tab
control, and implements an interface so I can recognize
it...I've gotten that far...
My problem, is that I need to ... more >>
Owned forms in MDI Apllications
Posted by Juan M. Cervera at 9/10/2003 10:17:35 AM
I am developing a mdi application, and I would lke to make one MdiChild form
owned by another MdiChild form.
Is it possible ?
I make something like this in the first form (owner form) to open the other
(owned form)
I woluld like they behave like owned and continue being mdi children forms.
... more >>
Catching DragDrop when out of the Control
Posted by ylarom NO[at]SPAM bigfoot.com at 9/10/2003 10:10:18 AM
Hi
DragDrop event is fired by the control accepting the drop
If the drop is performed outside the controls I'm watching with events
(like on another control/panel/window or outside my app) is there a
way for me to know about it? (In MFC, for example, mouse movements are
captured)
Or do I... more >>
Showing a dialog
Posted by John at 9/10/2003 9:13:52 AM
Hi
How can I show a dialog from within the main form? frmdialog.show?
Thanks
Regards
... more >>
DataGrid Event Problem
Posted by mario at 9/10/2003 7:49:45 AM
with WinForm + DataGrid
How do I Catch the event if the text have changed in a specific cell ?
Please Help!!!
... more >>
Building a combo box - can't get listbox to draw outside the form
Posted by Andrew Cuthbert at 9/10/2003 1:36:03 AM
Hi all,
I'm struggling with something I thought would be simple. I
need to build a combo box from scratch as I need to do
more alterations than an owner draw combo box will allow.
I was always told a combo box was just a textbox and a
listbox. Well, that's fine but the listbox is bound by... more >>
Moving a control on form with mouse event?
Posted by Mark Gaeth at 9/10/2003 12:20:04 AM
I am new to VB.Net and have done a little VB3 &4. Whith the advent of the
Net aspect oto OOP I would like to use a standard winform that a user can do
several things.
1. Place predetermined line shapes on the form and save their location with
the closing of the form.
2. I would like to add ... more >>
|