microsoft.public.dotnet.framework.windowsforms Archive - May 2004
Post a message to this list
Messages
Page: 12345678910111213
Sorted datagrid on a form and display selected row on a dialog-HELP (2 replies)
microsoft.public.dotnet.framework.windowsforms
I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following code works if I do not sort the datagrid before I press the button to bring up the dialog. It is when I so...
MonthCalendar event for NextMonthButton/PrevMonthButton (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I am trying to find a way to find out when the user clicks on the NextMonthButton/PrevMonthButton and have looked through the available members and events for it but have yet to find anything concrete or workable with. Is there anyway i will be able to do this? TIA, Ahmed
Build number - VS EA 2003 (3 replies)
microsoft.public.dotnet.framework.windowsforms
How can i introduce an automatically generated build number in the About form of my application? Ioannis Vranos
Logging Error Best Practices (6 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I've got a logging routine on my client that logs errors. I'm hoping to use this error information for debugging purposes during testing and then during production. I want to log these exceptions at the best place possible to help me in this goal. Where should I put these try / catch blocks? Currently I'm placing them around all form events where I'm doing anything non trival. Is this too much? Wo...
How do you add a hyperlink to a datagrid? (6 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hello, I have a windows forms datagrid, Dim da As New OleDbDataAdapter(sql, conn) da.Fill(ds, "providers") ' set the column widths Dim c0 As New DataGridTextBoxColumn 'c0.TextBox.Enabled False c0.MappingName "PROV ID" c0.HeaderText "ID" c0.Width 45 ' clear out the table style dtgResults.TableStyles.Clear() ' create new table style Dim style As New DataGridTableStyle ' set mapping name to table nam...
Top Most Problem (2 replies)
microsoft.public.dotnet.framework.windowsforms
hi, I have a problem with using 2 forms.In FormA , there is a button which calls FormB & in FormB there is a button which calls FormA . Imagine , FormA has been loaded , user click a button to load FormB .So , FormB is showing on the FormA ,& FormA is under this form. Now User click a button on the formB to show FormA . Now i want at this time , FormA (which is under FormB) bring to front & FormB ...
Unchecking all items on a checkedListBox (5 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
is there a way to set all items unchecked on a Checklistbox?
Will an IE Band written in c# work on all OS's ? (4 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi. I am interested in developing an IE band (small toolbar with buttons, etc;) and I was thinking maybe write it in c#. will this band after building it work on all os ? like: 98, win2k, xp ? Thanks a lot in advance for any help. if you think I have to use c , let me know. Also, if someone have a nice starting point for writing IE toolbars with c#, I will be very thankful. Dave Reinhold.
How to set HorizontalAlignment in a combobox? (2 replies)
microsoft.public.dotnet.framework.windowsforms
Hi guys! Does anyone know how to set the HorizontalAlignment in an editable combobox (DropDownStyle ComboBoxStyle.DropDown)? I have a combobox which pulls its data from a datasource. The text in the datasource is wider than the combobox. When the combo is entered, the text is selected (gets blue), but it is right aligned, so the end of the text is visible. I would prefer to see a beginning instead...
acquire scanner input (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Has anyone done anything with regards to having an app that acquires scanner input with a clip of a button and then does auto cropping? Thanks, Kevin
How can i send the DataGrid ScrollBar to first point of DataGrid ? (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
hi, I have a problem with using ScrollBar.In my form there is a DataGrid which has a ScrollBar. When I add a new row to my DataSet , this ScrollBar goes to end .Now with a button clicking, I add another row to my DataSet , at this time I want this ScrollBar goes to first .How can i send the DataGrid ScrollBar to first point of DataGrid (when it is at the end)? Regards
SDI "Outlook" application controls (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi, If one was to make a application with a Outlook style interface; what is the way to go with the standard framework components? (I'm thinking of a SDI application with a treeview on the left for navigation, and list/detail view on the rigth side of ths screen) I can not represent all detail data in ONE control only, but will need to swithc between listview/grid, a graph control and possiby a in...
ScrollBar (2 replies)
microsoft.public.dotnet.framework.windowsforms
hi, I have a problem with using ScrollBar.In my form there is a DataGrid which has a ScrollBar. When I add a new row to my DataSet , this ScrollBar goes to end .Now with a button clicking, I add another row to my DataSet , at this time I want this ScrollBar goes to first .How can i send the DataGrid ScrollBar to first point of DataGrid (when it is at the end)? Regards
Change the Column display prior to show the DataGrid (3 replies)
microsoft.public.dotnet.framework.windowsforms
Is there an easy way to change a DataGrid specific column display to something else then the actual bind data value from the dataset using something like the format or parse ? What I would like to append before the grid is show, is to make some transformation from one integer field from the dataset.table to its text equivalent "0 Sales, 1 Orders " using a function that could be called prior to sho...
No Body Has solution for this critical query? (4 replies)
microsoft.public.dotnet.framework.windowsforms
Hi , I am having a custom Tab control. In the Control's designer class am adding the follwoing code but it is not working i am still able to drag and drop a button or other controls on tabControl. But it works if I drag and drop a control, say button on from, and hten cut and try to paste it on my Tab Control. I am wondering why it doesn't work if i directly try to add a control from tool box??Ide...
Is there any way to suspend the trigger of a particular event? (8 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I have 2 ComboBoxes, the selectedIndexChanged event handler in ComboBox A change the SelectedIndex of ComboBox B the selectedIndexChanged event handler in ComboBox B change the SelectedIndex of ComboBox A so whenever I change anyone of them, they would trigger the SelectedIndexChanged event of other ComboBox continuously... is there a way to suspend it? so that I could If I change combobox A, B wi...
Testing for Modal form (5 replies)
microsoft.public.dotnet.framework.windowsforms
I am instantiating a form and calling it via the ShowDialog method. I am testing for the forms modal property within it's Load event but the modal property is always false. Supposedly you can test for the modal property within Load event and above (but it doesn't work in constructor by design). I get the same modal result when showing a form via its Show method too. Expected behaviour is ShowDialo...
Memory ups and downs (4 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I noticed a post asking why a simple form when loaded takes 20,000K. I decided to try it myself and came up with the following results (number are from Task Manager Win XP Pro) Form Load 16,720K 12:44 PM 5/1/2004 16,996K 1:26 PM 5/1/2004 17,016K 1:29 PM 5/1/2004 Minimize 3,976K 1:30 PM 5/1/2004 Restore 4,740K 1:38 PM 5/1/2004 System completely idle 6,444K 2:04 PM 5/1/2004 Move Form 6,560K 2:07 PM ...
The .NET Framwork (2 replies)
microsoft.public.dotnet.framework.windowsforms
I am writing am application that is going to be run from a USB memory stick. It is not going to be installed on the local machine, only run from the memory stick. Is there a way to check for the framework and if it is not installed install it? I have looked at the bootstrapper but that is for msi files, i need one for exe files.
Closing owned form pushes main app to background (3 replies)
microsoft.public.dotnet.framework.windowsforms
I'm trying to add a child form to my main application form. It looks like the Owner property of the child form does what I need (or the AddOwnedForm method of the parent form same thing). It works nice but when I close the child form my main application loses focus to one of the other open applications. I thought it was random which app got the focus but it appears if I keep reopening and closing ...
status bar color (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi, How do I set background color for status bar? Direct property not available. Thankx Priya
textbox button and enter handling (4 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
a have a form w/ a textbox and a button i want when the user presses enter in the textbox the button to pressed automatically how can i do this? TIA
Update App.Config during runtime? (3 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
I can read from, but not write to, App.Config during runtime. Is there a way to do this or am I out of luck? TIA, Bill
How to use folderbrowserdialog from webform (4 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi I want to use the folderbrowserdialog from the web form. Please reply if anyone knows. Thanks shaila *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
Setting the color for a Datagrid row (2 replies, VIP)
microsoft.public.dotnet.framework.windowsforms
Hi! Does anyone know how to set the color for a given row? I want to set the text color based on a value from the data row. Is there an event like the ASP Datagrid ItemDataBound event for the Windows Forms Datagrid? Thanks to all in advance! Jeff Tolman jeff.tolman@serra.com
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com