Software Development Network Logo
  • Visual C#
  • VS Team System
  • Audio and Video
  • IE Development
  • .NET Development
  • Visual C++
  • Microsoft ISV
  • Windows Vista
  • Visual Studio
  • SharePoint Products
  • Visual Basic
  • Game Technologies
  • Windows Forms
  • Smart Devicet
  • Visual FoxPro

Software Development Network >> Windows Forms

Windows Forms

New Question

ListView is not showing groups
WaitCursor and the TextBox
AutoResizeColumns gives operation exception
datagridview question
ToolStrip: problem with DPI scaling
TreeView: SelectedNode always null?!
Problem with GraphicsPath.IsVisible()
Settings for explore
Serious problem with Tooltip in ListView in VS2005
How to pass data to DataGrid

Top Answerers

simonvinyl
Kitty
saddy
Steve Bickell
airwalker2000
SP534
Luis Esteban Valencia Muñoz
leibnizster
Lo&#239&#59;c Baumann
MEder
sitemap
Only Title

Answer Questions

  • CallahD i386 Folder on boot disk

    Is the i386 folder still a working part of Windows Vista, or is it remnant of XP Can I delete it and does it hold anything of value for Vista Thanks joebroke im afraid this is the wrong forum for your question. These forums are for software development. I'm afraid I have to ask you to repost your question at the appropriate communities: www.microsoft.com/communities Thanks ...Show All

  • olive2 Can I display different foreground or background color of text in the same textbox?

    Hi, Is it possible to set different text color for those text in the same textbox Thanks. Charles, thanks so much! my task is done now! : ) Hi, No, you should use the RichTextBox control to acheive this. Charles ...Show All

  • Avhacker validating a tab page

    I have a tab page validating event to prevent the user from switching to other tab page if the current tab page has some required information not filled. When the validating fails, e.cancel is set to true. Now the problem starts. Any button or check box doesn't work anymore on that tab page. I mean button click event won't fire. The check box can't be checked and unchecked. The only thing that can be done is to enter information in the text field. Is this behavior by design If not, what can I do to make the button and check box work when the tab page validating fails Thanks for any suggestions. Have you tried explicitly selecting the tab-page you which to stay on this .tabPage1.Select() ...Show All

  • Parsnips Treeview Question!

    I’m using a tree, I’ve populated it fine. But if I have a form with a tree on it, the tree is expanded . Then when there is no activity on the pc for a while I hide the forms, show a log on screen. But when the user logs on again I show the forms again. But the tree is then collapsed on these forms, why did it collapse and not stay expanded Is there a reason it does this Is there a way to stop it from collapsing by itself What would the appropriate solution be Also when filling the tree, I do not want it to scroll down. I use treeGLAccounts.BeginUpdate(); //all my code here to fill the tree treeGLAccounts.EndUpdate(); I thought using the above would not make it scroll down when filling ...Show All

  • narasiman_jayachandran_2b5374 DataGridView - Automatic DataTable merging/updating

    Hi I have a DataSet with two different DataTable s. The tables are: "Groups", groupID (PK), name. "Users", userID (PK), groupID (FK), fullname, age. To display the information for the user (in the DataGridView ), I create another DataTable , T , having the merged information of the two tables above. For instance: "George", 22, "Administrator" (<fullname>, <age>, <Groups.name>) instead of "George", 22, 1 (<fullname>, <age>, <groupID>) Now I set T as the DataSource of the DataGridView . Is there a way to have this done automatically anyhow Let's say, if I update/add a row, I need to save ...Show All

  • jorijo BindingNavigator DeleteItem

    Hi, I would like to change the default code of the generated DeleteItem that is created if you create a BindingNavigator. I changed the click eventhandler of the deleteItem Button on the BindingNavigator, as i said, so that the user first agrees in a yes/no MessageBox if he is sure to delete the shown record. Here is the code: private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e) { if(warrantyIDTextBox.Text.ToString() != "") { DialogResult result = MessageBox.Show("Are you sure to delete the shown file ", "Confirm File Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (result == DialogResult.Yes) { this.warranty_ExWarrant ...Show All

  • Nuno_Salvado Version of Exe in a Package

    I have an application in my system. The updates are available in a WebServer. I want to check if the version of exe in WebServer is updated one. How to check the version of that packaged exe available in a WebServer How to download the same from web server, if the version is updated Assuming you are doing this update checking manually (as ClickOnce does it for you automatically)... Without downloading the entire file you aren’t going to be able to easily tell the version of the file on the server... one easier way to accomplish this is to have an xml or text file that contains the version sitting on the server next to the application in question that can more easily be d ...Show All

  • senfo In VS2005, the Visual Designer keeps rearranging the order and position of Toolstrips.

    Using VS2005 Standard Ed. Ver 2.0. Why does the Visual Designer rearrange the position and order of my toolstrips every time I open a form in the Designer Is there a way to prevent this behavior The form has a ToolStripContainer which has only the TopToolStripPannel visable. There are 6 ToolStrips within the pannel. Each ToolStrip has Anchor=None, Dock=None, Locked=False. Problem also occurs with other combinations of Anchor, Dock, Locked. Two of the Toolstrips have custom ToolStripItems. Both custom ToolStripItems are items converting separate custom controls derived from ComboBoxes. Thanks, Bill API Might not work, because im using vs 2005 team dev. edition, but have you tried setting up the in ...Show All

  • SarahB123 Bindingnavigator control can't add or delete the items.

    Hi, I have a binding navigator control with a form. The only problem is that i can't add or delete any data. What i don't understand is that it showed when i click the + button that it is adding the row as I can see the auto increment for the id field but once i input everything it can't be saved. I re run the application or look into the database and its not there. I have tried to use sever methods like Me .BindingContext(PamsDataSet.tbl_rsl).EndCurrentEdit() but no luck. I have also tried to put the addnew property of Navigator to none and then addnew from the code like this : Me .TblrslBindingSource.AddNew() but still no luck. Infact the new MSDN library for 2005 is no help at all. When i search something it brings ...Show All

  • nc-ghost Gird View Sorting

    Hi I'm populating info from a database to a gridview format. It has about 8 fields. Now when I click on the header from each coloum, I assume it will sort acording to that colum. But that does not happen. For ex. when I click on date, it changes the order it is displayed but its not sorted properly. Not in assending or decending. Why is this How can I get this to work Are you having trouble sorting just the dates or other fields as well If you are only having problems sorting dates, it might be because you store or retreive the data as strings. For instance, if you had these 3 dates: 1/2/06, 2/3/06, and 11/12/06, and you sort by date, you would expect them to be sorted in that order. However, if you sort ...Show All

  • Jeff Williams How to make virtual text in the Textbox.

    Hello All, If i'm setting Text properties for Textbox, and i click dropdown button, appear a virtual text like "Press enter to begin new line" in the middle of the box. and then when i type a char on the keyboard the virtual text disappear. How it work if i apply for textbox in my application. Thank very much. not sure I follow exactly. I guess by default you will have this text written into the textbox. On a keypress event for example, check to see if this is the default "virtual" text and if so, then remove that text. There will be a problem however, things like perhaps culture issues etc... Really if I understand correct, in the textbox properties just set the default Text ...Show All

  • Tylerk Attempted to read or write protected memory. This is often an indication that other memory is corrupt

    I get this error when I try read the FbDataReader Friend FbConnection As FirebirdSql.Data.FirebirdClient.FbConnection Friend SQL As String Friend dbDataAdapter As FirebirdSql.Data.FirebirdClient.FbDataAdapter Friend dbDataSet As New Data.DataSet Friend dr As FbDataReader .................. FbConnection = New FirebirdSql.Data.FirebirdClient.FbConnection(CadenaConexion) dbDataSet.Clear() If (FbConnection.State = ConnectionState.Closed) Then FbConnection.Open() End If ........ SQL = "select CATE_ID from T_CATEGORIAS WHERE CATE_NOMBRE='@v_categoria'" Dim prm As New FbParameter Dim cmd As FbCommand Dim Transaccion As FbTransaction Transaccion = FbConnection.BeginTransaction cmd = New FbCommand(SQL, FbConnection, Transaccio ...Show All

  • RobC2k6 Multiple executables delivered through 1 ClickOnce?

    I have a solution which contains multiple executables, a widget player, a widget designer and others. My prior MSI allowed the user to run one msi and all executables would be installed with appropriate links in Start->All Programs->MyApp folder. I would like to do the same with ClickOnce. Is this possible If so, how I have a similar problem, but my launch app can't have the references of the other applications because this has to be configured in runtime. It has to be able to launch any app installed, even apps not mine. Hi We had the same problem: What we did is: 1) Created a Main "Launcher" Application with a nice gui that enables the user to ...Show All

  • Guenter Text to Screen

    Hello, I need help figuring out how to write text directly to the screen. I've looked at the forums and the online help but still no luck. Any help would be appriciated. hi, it's a little bit hard to explain but I'll try, so here it goes: I'm making a queue system like when you go to a bank you pick up a ticket and there is a tv that lets you know when is your turn by displaying the number of your ticket on a TV, I thought I could use this to display the ticket number on the TV but it looks like its not the best solution, any suggestion would be appreciated and thank you for your response. Thank you, I was figuring that it was something like that, but I was wondering if there was a more direct ap ...Show All

  • Peter Haik datagrideview and concurrency

    Hello, I need to write a grid (willing to use a 3rd party grid) that will allow for concurrency control in a multi user applications. Here is a bit of code the does the update: Using testconnection As SqlConnection = New SqlConnection( My .Settings.MyConnection) 'Dim cmd As New SqlCommandBuilder(DataAdpter) DataAdpter = New SqlDataAdapter( "select menurole from menuroles order by menurole" , testconnection) Dim cmd As New SqlCommandBuilder(DataAdpter) DataAdpter.Update(MyData) End Using How do I tell the dataadpter to ensure that when it's updating a row, that it shoudl check the TIMESTAMP field of the record already in the database. Thank you, Dave ...Show All

161718192021222324252627282930313233

©2008 Software Development Network

powered by phorum