Answer Questions
chucho Change MessageBox Buttons Text
Hi for ALL I am use the MessageBox.Show() to Provide a Standard MessageBox in My App I am using VB.NET 2.0 My REQUEST IS :- How to change the Text "Yes", "No" , "OK, "Cancel" to provide my own from My Language Thanks for all sorry for any bad english If you want to change text of message box buttons , you will have to use windows API's and hook them. The similar example can be fo ...Show All
Karthik Krishnaswami application... "surroundings?"
Hi, Look at Outlook 2003 (if you can't: http://pwp.netcabo.pt/otlk.jpg)... See that blue border surrounding the application hows that done Thanks... My apologies -- I misread the image. If you're talking about the dark blue border around the cont ...Show All
Chad_06 How to edit a date to null from a textbox
Hello, I have a textbox bound to a smalldatetime field. The SQL table definition of the field allows nulls. The dataset was created with an SQL data adapter "fill" command. Whenever I change a date in the textbox to an empty value it replaces it with the original datetime. How does one get the textbox to accept an empty string or, more basically, how can a date be edited to null from a textbox Any help or reference to documentation is much appr ...Show All
GregD Swap values of two textboxes using drag and drop
I'm very new to .net .... any help is much appreciated! I'm using vb.net and visual studio.net to build a form. This form has two textboxes (textbox1 and textbox2). I'm trying to drag and drop the value of textbox2 into textbox1. Further, after the drop, I went textbox2 to retain the value of textbox1. A swap. See illustration below: Figure 1 - The initial state of both textboxes Textbox1 Textbox2 15 37 Figure 2 - The state of the textboxes af ...Show All
Tom Waters Cloning a form
I'm writing an application in which I have to use delegates to implment the Observer-Observable design pattern in C#. The model is a simple counter than can be incremented, decremented and set. The view has four buttons: an increment, a decrement, a ...Show All
SouthernPost Factory Design Pattern.
Hi, i want to stop multiple instances of child forms in a MDI application, can anyone suggest what can i do my code is like this. Private Sub MenuItem5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem5.Click & ...Show All
Aligator1437 DataGrid Vertical Scrollbar Problem inside a Tab Control (sting in the tail)
Hi, I have a .NET 1.1 WinForms app with a datagrid bound to a datatable. There are 53 records in the table, and the grid displays 7 or 8 at a time. When the form initializes, the data is sorted on the LineNumber column (as it should be). The vertical scrollbar is visible but disabled. If I click on one of the column heads to sort the grid, the vertical scroll bar becomes enabled. If I then sort on LineNumber, as it was originally, th ...Show All
Elmo Why doesn't this event fire?
Add a form. Add a tabcontrol to the form. Add some tabs to the tabcontrol. Add the following code to the form. Why doesn't the TabControl1.SelectedIndexChanged event fire when I *set* the selectedIndex How do I make it so that the event *does*  ...Show All
profx.netter Datagrid
I have numerous datagrids which display a fixed number of items. In spite of setting the sizes of the columns and gradually reducing this size I still get horizontal scroll bars appearing randomly. Does anyone know how to disable scrollbars in a dat ...Show All
derhackler How do I catch SelectionChangeCommitted event of a combobox in a datagrid?
I have a standard combo box in a datagrid (DataGridEnableComboBoxColumn) and I want to catch the SelectionChangeCommitted event. Does anyone know how to do this Blue & white hooped blood runs through my veins No worries, those datagrids& ...Show All
Holger Dors Update requires a valid update command
whe passed datarow collection with modified rows" This is the text of the error. It hapen when a cell in the detail grid change and intent update. I am using 2 access tables w table adapter: me.validate() me.receiptBindingSource.endedit() me.receiptTableAdapter.Update(me.AcctDS.Receipt) 'this is ok, its update the master me.validate() me.Receipt_TRBindingsource.Endedit() me.Receip_TRTableadapter.Update(me.AcctDS.R ...Show All
John Bledsoe Problem adding items to combo box
Hello. In asp.net I can add items to a dropdownlist like ddlStuff.Items.Add(new ListItem(<name>,<value>)) But I can't seem to find a way to do this in WinForms. I am using a data reader and iterating through the query and adding one item at ...Show All
zoltix DataBinded TextBox
Hi, On a window form, I've binded a textbox on a dataset. When I change the text of this textbox the dataset doesn't change.(I've tested with the HasChanged() method). Why On the same form, if I bind a datagrid and I make changes in this datagrid, the HasChanged() method return true. Can someone explain (sorry for my english). When editing using a Grid or a TextBox, you are not making changes to a DataV ...Show All
pidge Windows Forms in VB 6.0
Hi, Is there any success stories in implementing Windows Forms inside VB6.0 MDI Form Is there anyway to fake the appearence atleast. Thanks, Raghu Raghavendra RAV wrote: Hi Siva, I am able to get my .NET Winform in VB6. But the thing is I am not able to make it as a MDI child of a VB6 MDI form. This is where I am stuck up. Thanks, Raghu Haven't used Vb since Vb4, so what I am saying may not be totally ...Show All
arungal Is it a bug or not a bug?
Hi, I'm working on a project which includes WebServices and Windows Form application. The Windows Form application will call the WebServices to retrieve data from database. The data will be returned as DataSet. Now, here's the problem. On .NET Framework 1.1, ...Show All
