all groups > dotnet windows forms > june 2005 > threads for june 15 - 21, 2005
Filter by week: 1 2 3 4 5
Multiple Data Views to sort and filter data in a dataset?
Posted by Troy at 6/21/2005 7:11:06 PM
I was under the impression that you could use data views to have multiple
sorts and filters on a dataset or data table. I want to bind two different
combo boxes to different data views for a single table. I set the row filter
for the first data view and bind the view to the combo box, I then... more >>
Form Refreshes
Posted by Steven Perry at 6/21/2005 6:56:06 PM
I have a WinForms application that displays a dialog. A button on this
dialog causes a routine to execute that can take upto 10 minutes to run.
This routine raises events to inform the dialog of it's progress. The Dialog
updates the statusbar and a progress bar with the status it receives.
... more >>
Tab order and form inheritance - problem
Posted by dbuchanan at 6/21/2005 11:08:14 AM
I have discovered that setting tab order of controls is not as simple
as it first appears.
I am inheriting a base class for several of my forms.
I have two different base class forms. They inherit tab order
differently. In one case the base class tab order is marked read only
when the form ... more >>
Opening Zip Files
Posted by mahajan.sanjeev NO[at]SPAM gmail.com at 6/21/2005 10:14:37 AM
Hi,
Is there any way that I can feed the path of a zip file to a vb.net
windows forms/console app and get at the files within it? The zip file
will contain csv files and I need to read them one by one for
processing.
Thanks,
Sanjeev
... more >>
Microsoft's Multipage control help....
Posted by Developer at 6/21/2005 8:04:04 AM
The Microsoft Forms 2.0 Multipage (FM20.DLL), can I use this and does
office2003 has to be installed for my users computer to use it and/or does
the lastest window update includes this for the windows os or for any office
updates?
Basically what I am saying is if office2003 is not installe... more >>
Displaying relative images in the AxWebBrowser control
Posted by Steve Bugden at 6/21/2005 5:21:03 AM
Hi,
I using the axshdocview.AxWebBrowser control to display web pages. THis
works fine via the navigate method for remote pages via a url.
When I use a local file however i.e.
AxWebBrowser.Naviagate("c:\somedir1\somedir2\somepage.htm")
Relative image references are not shown.
i.e. <img ... more >>
VB.NET: Editbox Capture mouse event allways forced to false after MouseUp?
Posted by Peter de Vroomen at 6/21/2005 12:00:00 AM
Hi,
I have a floating EditBox (a TextBox on a borderless Dialog) over a
ListView. I wish to capture the mouse events so I can detect if a user
clicked outside of the EditBox. I show the floating EditBox as modal, so the
underlying form with the ListView is deactivated. When I click outside the... more >>
DoEvents causes form to hang
Posted by kahwon t via DotNetMonster.com at 6/21/2005 12:00:00 AM
SORRY I ACCIDENTALLY POSTED THIS IN THE WinForm Controls SECTION:
I can not figure out for the life of me why my app / form hangs afte I do a
show:
Me.Show()
While Not Done
System.Windows.Forms.Application.DoEvents()
End While
To t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Scrolling bug in MDI client windows
Posted by James CC at 6/21/2005 12:00:00 AM
[Cross posted in dotnet.framework.windowsforms and dotnet.languages.csharp,
because it could apply to either]
I have a strange bug in C# using windows forms. To make sure it's not some
bug with my code, I've gone back to a simple test app, and still see the
same behavior.
I have created ... more >>
How to change Crystal Report in VS.NET to Landscape view??
Posted by Duong Nguyen at 6/21/2005 12:00:00 AM
Hello!
I am using the Crystal Report in VS.Net , because I have many fields, so I
must change the Report to Landscape view in order to all fields appear
normally. Please tell me how to do it. I found nothing involed with this
setting!
Thanks!
... more >>
PropertyGrid
Posted by Roman at 6/20/2005 3:55:02 PM
How can I ensure that the top most property (as displayed in the grid
property) of the 'SelectedObject' is visible. For some reason, the property
grid is scrolled all the way down so the very last property is visible. I
need the property girdd to be scrolled all the way up so the very first
... more >>
TextBox.DefaultBackColor (C#)
Posted by Mat Kramer at 6/20/2005 2:43:32 PM
Hi all,
I want to temporarily set the background color of a text box, so I use
my_text_box.BackColor = Color.BlanchedAlmond;
Then when I want to reset back to the default (white on my system), I
thought I could use
my_text_box.BackColor = TextBox.DefaultBackColor;
Unfortunat... more >>
Strategy for presenting property "consensus" in a property grid?
Posted by Michael Kairys at 6/20/2005 1:21:07 PM
I want to show the properties of multiple objects in a property grid in some
meaningful fashion.
One approach would be to have the properties which all objects have in
common displayed normally and the properties which not all objects have in
common displayed with the corresponding property... more >>
Form inside of another form
Posted by Wellington Eliel Lopes at 6/20/2005 11:45:14 AM
Hi people,
I´m newbie in .NET and I´m using Visual C++.
Can I to insert a windows form inside of another windows form like a panel?
Thanks for help!
Wellington Eliel Lopes
... more >>
strange complation issue
Posted by SP at 6/20/2005 7:21:04 AM
I want to be able to call my forms from all over in my application, usually
that is easy to do, but I am running into this. One form I can add in my
#include header, and in my button click event it will allow me to declare a
reference to it, and even intellisense picks it up, but upon compila... more >>
Form.Close
Posted by Adam Simmonds at 6/20/2005 5:09:12 AM
I am trying to close a form from a button on another form. and it is not
working i am using code like:
dim frm1 as form1
frm1.close.
But it doesnt seem to work, please help... more >>
Click Event problem
Posted by RichS at 6/20/2005 4:48:03 AM
Hi
[ Using C# in .Net 1.1 ]
I have a usercontrol with a number of nested controls (listviews, etc... ).
When the user clicks *anywhere* on the usercontrol I want the event to be
handled by the usercontrol. At the moment if I click on the listbox, then
the listbox grabs that click and i... more >>
Prevent user from changin page
Posted by Steve at 6/20/2005 2:02:01 AM
Visual Studio 2003 .Net, C# windows based:
I have a tab control on my main page, on the first page is a datagrid
displaying records, on the second page is a detail page showing the record
details for the record selected on the first page.
The second page is for adding and updating the re... more >>
Windows Form Application - Always on Top and other stuff
Posted by eXtreme at 6/20/2005 12:00:00 AM
Does anyone know how to make a Windows Form based application be optionally
always on top?
Also, I need to remove everything except a single text box which I want to
make available from any application by poping it on top via a hotkey.
Alternatively I would like to make the Windows Form ap... more >>
FolderBrowserDialog often crashes on Windows 2000
Posted by hhh12347 NO[at]SPAM yahoo.com at 6/19/2005 6:05:46 PM
FolderBrowserDialog often crashes on my Windows 2000 computer.
Here is C# source code for a test case:
using System;
using System.Windows.Forms;
public class InstanceForm : Form {
private FolderBrowserDialog folderBrowserDialog;
private String folderName;
private MainMenu mainMe... more >>
Implementing a 3-tier client-server system
Posted by mokles at 6/19/2005 11:49:40 AM
All,
We are trying to implement a 3-tier Client/Server Widows system in .Net.
We have found that the middle tier can be implemented using Webservice or
remoting. We are just wondering what other options we may have to implement
the middle tier. Any help will he highly appreciated.
Thanks,
... more >>
Layered Window - Black Area
Posted by scolemann at 6/19/2005 9:30:12 AM
Hi all,
I have a form that I have turned into a layered window (the layered
window is opaque). Everything works great except that if part of the
form is covered and then uncovered, the uncovered area is black. I
have tried doing an invalidate() but it does not update the layered
window. Do... more >>
Dynamic Object Reference
Posted by jmhmaine at 6/18/2005 2:35:02 PM
I have a menu form that has a number of buttons that each launch a different
form. The syntax is the same except for the form name is different. How do
create a common function that launches a new form that excepts the form name
as an argument?
My current syntax:
Private Sub btnNewSearch... more >>
How to keep a Child Form of a MDI Child contained
Posted by jmhmaine at 6/18/2005 1:31:03 PM
I have an issue with a Child Form of a MDI Child staying contained within the
Master Form.
My first Form is called mdiMaster, which opens the mainMenu form with the
following code:
Dim MainMenu As New MainMenu
MainMenu.MdiParent = Me
MainMenu.Show()
Then a button... more >>
How to show a form as system modal?
Posted by Mark at 6/18/2005 12:00:00 AM
The ShowDialogue method shows the form as an application dialog. How to =
display the form as a system dialog?
Mark... more >>
Sorting in Combo Box
Posted by Lalit Bhatia at 6/18/2005 12:00:00 AM
After setting Sorted porperty of combo box to true, data in the combo does
not appear.
I have combo bound to Datatable.
What is the reason for that?
--
Regards,
Lalit Bhatia
... more >>
Analyze https page activity
Posted by MajorTom at 6/17/2005 6:58:49 PM
Hello group
I have a winforms client application. The customer now wants to have access
to information that is on a web page via https.
We have all the necessary account and password, but the problem is when we
need to confirm some data, the user have to leave his application go to the
w... more >>
print button on printpreview dialog
Posted by Mick at 6/17/2005 3:23:47 PM
I just added a print and printpreview capability to my app. It's
printing a nasty datagrid with hidden columns that may be filtered and
sorted.
Everything seems to work, but I'm having trouble with printing from the
printpreview form. The preview looks right, I get the right number of
p... more >>
Dropdown
Posted by vinay at 6/17/2005 1:10:19 PM
Hi
I am not able to Insert a value at 0 index after i set a Datasource ??
Any alternatives..
cmbDomain.DisplayMember = "KEYNAME"
cmbDomain.ValueMember = "SETTING"
cmbDomain.DataSource = ds.Tables(0).DefaultView
Dim obj As Ob... more >>
How to make a floating toolbar
Posted by Bin Xing at 6/17/2005 7:58:04 AM
Hi,
I'm a completely new for VC++.NET programming. I made a MDI application with
a toolbar on parent form, but I can't move the toolbar at run time. It seems
moveable toolbar is called floating toolbar. I wonder how to make a floating
toolbar with VC++.NET managed C++ instead of MFC?
Tha... more >>
VB.NET problems displaying custom dialog box
Posted by Josh Schmidt at 6/16/2005 5:28:02 PM
I added a form to my project to use as a dialog box. The form is simple, 2
text boxes, 1 checkbox, 3 labels and 2 buttons. It will eventually allow a
user to reset a password, but I haven't added the functionality yet. I have
the dialog created when the user selects Tools - Reset Password f... more >>
different levels of opacity in a Form
Posted by Scott W at 6/16/2005 3:11:24 PM
I'm trying to create a form with different levels of opacity. Is this
possible?
... more >>
PropertyChangedEvent
Posted by Johan at 6/16/2005 2:48:22 PM
I read this article called "Windows Forms Data Binding and Objects" by
Rockford Lhotka wich in an MSDN article. It makes a custom class that can be
bound to. If a value in the class changes from code or an other control it
needs to be updated in all bound controls. That´s where the PropertyCh... more >>
Null reference exception on main form. Help please...
Posted by Jim at 6/16/2005 2:32:01 PM
..I created a VB.net Windows application using Form1.vb as my one and only
Windows form. When I go to run the application I receive the following
exception: "An unhandled exception of type 'System.NullReferenceException'
occurred in system.windows.forms.dll
Additional information: Object r... more >>
ListBox component and underlying Items objects
Posted by Jim Stanley at 6/16/2005 2:24:03 PM
Hello,
I've run into a brick wall in working with a standard ListBox. I'm loading
lightweight objects into a ListBox component - call them Elements. The
Element class has an ElementName property and an overridden ToString() method
that displays the ElementName. When I load Elements into ... more >>
Is "colspan" in ListView possible?
Posted by Jola at 6/16/2005 12:22:02 PM
I am working with MS Visual studio C#.net, .net framework 1.1.
Do you have an idea, how can I use the ListView (details display mode),
that it does similarly as an html table do?
Or there is a better container which would fit my needs?
What I need in the ListView is:
1. Above some subitem... more >>
RichTextBox with OLE functionality
Posted by Arild at 6/16/2005 12:21:07 PM
How do I implement the kind of OLE functionality found in MFC (CRichEditCtrl,
CRichEditView and CRichEditDoc) in a RichTextBox?
Are there any samples available (e.g. Wordpad for C#)?
--
Arild... more >>
Text formatting in Menu
Posted by RbanBph at 6/16/2005 11:24:01 AM
Hi,
I m using Menu in my vb.net application. I want to increase the text
size, and font,change text color, increase the gap between two consecutive
menu items.
Is it all possible with the menu provided in vb.net? If no then how can I
do this?
Thanks in advance,
RbanBph... more >>
Unable to set the ValueMember of a ComboBox to a non Browsable property
Posted by eratchev NO[at]SPAM yahoo.com at 6/16/2005 11:04:16 AM
Setting the ValueMember property of a ComboBox to a name of a property
that is not browsable throws the following exception.
System.ArgumentException: Could not bind to the new display member.
Parameter name: newDisplayMember
It works fine if I set Browsable to true.
Has anyone encountere... more >>
How? Using a custom TypeConverter in custom grid column style.
Posted by Lee Gillie at 6/16/2005 8:57:04 AM
I have bound a grid column to an enumeration data type.
I derive from DataGridTextBoxColumn and override GetColumnValueAtRow and
call a function I wrote to convert the enumeration value to a
descriptive text for display in the grid cell. This works well.
Even though the grid is not editabl... more >>
How to Assign Connection Param for CrystalReportViewer??
Posted by Chi Pheo at 6/16/2005 12:00:00 AM
Hello!
I designed a crystel Report and run normally in my Computer. But when I
bring it to the user computer (The SqlServer name is diffirent). So My
Report is not working. I want to know how to do to assign the Connection
param to CrystalReportViewer dynamically in order to run the report in an... more >>
check box in data grid
Posted by Rod at 6/16/2005 12:00:00 AM
How do you get a check boxs to appear as one of the columns in a datagrid?
many thanks in advance
Rod
... more >>
WinForms and AppDomains
Posted by Jeremy at 6/15/2005 9:50:03 PM
I have an application where I'd like to be able to run multiple instances of
a Windows forms application. Due to a heavy hit in our application startup
code it would be beneficial to be able to have a single process with multiple
instances of the form. Additionally, it would be useful to be ab... more >>
Change value in bound ctrl when value of another bound ctrl change
Posted by Jim Clark at 6/15/2005 12:50:04 PM
I have been developing WinForms apps in .NET for several years and have never
discovered a good solution to this newbish problem. I frequently encounter a
situation where I want to change the value of a control when the user changes
the value of some other control and both controls are bound ... more >>
PropertyGrid steals focus
Posted by jlavallet at 6/15/2005 11:43:03 AM
Hi,
I have a MDI child Form that contains a couple of custom controls (both
Panel based viewers), a DataGrid, and a PropertyGrid.
Try as I might to have the DataGrid receive focus when the MDI child Form is
displayed, the PropertyGrid always grabs it.
I have registered an event handler ... more >>
Inherited Forms
Posted by Olivier Sauterel at 6/15/2005 11:24:04 AM
Hi all,
Anyone can tell me if the derived forms need to call the constructor of the
ancestor Form ?
Also it's needed to call InitializeComponent() from Ancestor form or not ?
Sample:
public Class AncestorForm: System.Windows.Forms.Form
{
Public AncestorForm() //:base() neede... more >>
Sending e-mail through windows forms
Posted by Dave Harrington at 6/15/2005 10:59:45 AM
Hello all -
I am very familiar with sending mail through asp.net (using the
System.Web.Mail class), but I do not have experience sending e-mail through
windows forms. I would assume the syntax is probably the same, but perhaps
the class or method of calling it could be different? Can this be... more >>
GUI design guideline
Posted by Brain 0.0 at 6/15/2005 8:11:00 AM
Hi!
I'd like to know if Microsoft has published a guideline for GUI design
for .NET applications (something about choosing the right flatstyle,
fonts...).
Thank you!
Simone.
... more >>
How to initialize hidden columns for newly added rows ?
Posted by Lee Gillie at 6/15/2005 7:59:23 AM
I want to allow the user to add new rows. Not all columns from the bound
data tabled are mapped (i.e. there are hidden columns). But some of
those columns do not allow null. When I add a new row I get an exception:
A first chance exception of type 'System.Data.NoNullAllowedException'
occurr... more >>
writing functions in dll (newbie)
Posted by orit at 6/15/2005 7:16:10 AM
I have a task to write winform application while writing the functions that
return information, in a dll - for example opening a file. can someone please
give me an example for function that opens a file (openFileDialog) that will
be written in a dll file?
Thanks a lot... more >>
Load a form
Posted by RbanBph at 6/15/2005 12:09:40 AM
Hello,
I have created an application in vb.net. I want to show a chaild
form on main mdi form. Since form contains many controls it is taking too
long to get displayed completely and it also flickers. I have tried
SuspendLayout and Resume Layout methods, but was not helpful.
... more >>
datagrid event
Posted by 11Oppidan at 6/15/2005 12:00:00 AM
I have a parent and child datatable which i am viewing in a datagrid. does
anyone know the event that is fired when the user expands the node to look
at the child table?
thanks.
... more >>
Multiple Screen environment...
Posted by Ă–zden Irmak at 6/15/2005 12:00:00 AM
Hello,
My appliccation saves form size and positions whenever they are closed so
they can be shown at the same size and position when opened next time.
My problem in here is that when it is used in Multiple screen enviornment, I
can't understand whether the window is in which screen and I ... more >>
how to make a fullscreen window?
Posted by Lloyd Dupont at 6/15/2005 12:00:00 AM
I mean like VS.NET fullscreen windows?
I was thinking: simply remove the border, set maximized and topmost.
however I will have problem with dialog then (which would be behind my
window, don't they?) (uh?!)
any other idea?
... more >>
|