all groups > dotnet windows forms > september 2003 > threads for tuesday september 23
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
Login dialog
Posted by Alejandro Casal at 9/23/2003 7:07:04 PM
Hi there,
I'm writing a .net Windows application in C#. I have 2 forms: the MainForm
and the Login. The MainForm opens the Login as Dialog from the MainForm's
constructor, and Login asks for username/password. I get these data from the
MainForm and check using a Web service that they're ok. If... more >>
Application Structure
Posted by John at 9/23/2003 5:43:21 PM
Hi
I am working on an application that has several modules. Each module is
represented by an icon on an outlook like list bar on the left. I want users
to be able to select modules at installation and in the installed app the
listbar icons should reflect the modules installed. The question is ... more >>
Update dataset
Posted by Erik at 9/23/2003 5:25:20 PM
I have a Windows form that does a insert and then a update to a dataset.
When I do the insert/update and all the fields are filled in it works fine.
But when there is a null value or when the field is empty I get the usual
update error.
I'm using a Access database and none of the fields are requ... more >>
Restrict clicking child datagrid columns
Posted by Kenneth Bohman at 9/23/2003 5:20:44 PM
A windows form contains
a parent datagrid (let's say order)
a child datagrid (let's say order details)
One user prefers to use the mouse to navigate between the data grids. When
stressed the same user often clicks any column in the child datagrid and
starts typing away. Trying for example t... more >>
Determine datagrid's currently sorted column
Posted by Brian Vallelunga at 9/23/2003 4:50:04 PM
I need to figure out how, in code, to determine a bound datagrid's currently
sorted column and then to change it. The result will be used in a context
menu with an Arrange By -> list similar to Outlook.
Any ideas?
Brian
... more >>
Column order when binding DataGrid with typed collection
Posted by Gerardo A Medina at 9/23/2003 4:38:25 PM
I need help for setting the order of columns in a=20
DataGrid populated by binding it with a fixed-type=20
collection of custom objects. Actually I don=B4t even know=20
where to start.
The binding was easy and works with a simple
myDataGrid.DataSource =3D myCollection;
But the order of ... more >>
Unhandled exception on .ShowDialog()
Posted by Ed Crowley at 9/23/2003 4:28:55 PM
I have the following code:
Dim BuilderForm As frmBuilder
BuilderForm = New frmBuilder(_LastChangedFile.Path)
BuilderForm.Refresh()
BuilderForm.ShowDialog()
And get the following exception on the last line:
An unhandled exception of type 'System.InvalidOperationException' occurred
in... more >>
GUI similar to Visual Studio .NET
Posted by Jongmin Lee at 9/23/2003 4:03:42 PM
Dear Everybody,
I am designing the editor which has very similar GUI to
Visual Studio.NET.(Main menu, toolbar, toolbox, Solution
Explorer, properties, Editing area, etc).
Specially, because this editor handle multiple file
format, a file will be open by solution Explorer and
correspoding... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
master detail sub-detail not updating on row click
Posted by ewillyb NO[at]SPAM yahoo.com at 9/23/2003 3:10:40 PM
I have a strongly-typed DataSet with 3 DataTables related to one
another such that there is a 1-many between master and detail and
1-many between detail and sub-detail.
The DataSet is bound to 3 DataGrids -- 1 DataTable per Grid. I bound
like this:
gridMaster.DataSource = dataset
gridMast... more >>
How do I cancel the context menu appearing ??
Posted by Alex Stevens at 9/23/2003 2:58:27 PM
Hi All,
Ho can I (in code) stop and contextmenu appearing.
I have a listview, and when there are no items, I want to stop the listview
from appearing in the mouse down event.
Thanks
Alex
... more >>
How to create Multiple fields in a ListBox
Posted by David Elliott at 9/23/2003 1:43:55 PM
I have a class derived from CollectionBase. I would like to display the
fields in the collection in the ListBox. The class has 4 fields of type
boolean, boolean, string, string and I would like to display the booleans
as check marks ( x = check mark). The output looking like:
x x title ... more >>
Simple event question....
Posted by strebormj2003 NO[at]SPAM yahoo.com at 9/23/2003 11:17:09 AM
Is it possible to determine whether a SelectIndexChanged event was
caused by a user making a selection or something changing in the
DataSet to which it is connected? I checked e:EventArgs and
sender:Object, but e is empty and I don't see anything helpful in
sender.
In my event handler for So... more >>
set focus
Posted by bill at 9/23/2003 10:51:52 AM
vb.net
windows form
I have a vb.net using a command button to open an external program using the
system.Diagnostics.Process.Start
What I want to do is when the external program starts have the focus set
back to the vb.net form without having to move the mouse over it. How can I
do this
... more >>
Server.MapPath in windows forms?
Posted by Alejandro Casal at 9/23/2003 10:05:20 AM
Hi,
I'm developing a windows application and I want to load an XML schema into a
DataSet. In ASP.net I would use:
DS.ReadXMLSchema(Server.MapPath("file.xsd"));
But this doesn't seem to work in a windows app. Which is the counterpart
then of Server.MapPath in Windows Forms? Do I need any t... more >>
Red Cross / Red X on DataGrids with Paint Override & BindingManagerBase
Posted by chungtsen NO[at]SPAM cfl.rr.com at 9/23/2003 9:56:54 AM
Hello everyone,
I am having a recurrent problem that I'm unable to find a solution to.
Everyday, someone in the office using the application developed would
get an error. After going through the error-trapping message, the
DataGrid on the form would turn into a big red X with white
backgro... more >>
|