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

Software Development Network >> Windows Forms

Windows Forms

New Question

how to check empty row in datagridview
Problems with Flash9.ocx (maybe)
multiline problem
help
OnClick preceding OnEnter
update code works for modify but not add new
Data bound Form Dirty Flag
Auto-register new type librarys
Timer in Visual Studio 2005
splashscreen problem

Top Answerers

SneakerXZ
ywchen
Kyle_W
eric_from_nj
Elfreda
Chris Holland
davidg12
Zhiwei
Joe Burns
CNP
LearningTechSoftware
Only Title

Answer Questions

  • JDHDevelopement How to put gridview and detailview connected togather on sprate pages?

    hi everbody, I am a abeginner a programmer on asp.net... I read about this language ,, and I discovered an important control gridview and detailview. I notes that gridview can display data from database,and can do alot of opreation on data.but exapt(insert command). then I read about this subject,and give solution to that problem ,the solution was to use gridview with other control like detailview or formview. so ,I build this page: but my problem is how to put these two controls into sperate page. so, the user can click on select command in any record and show the whole record in other page, and when he finshing from update,insert,delete comback to page1(that contain gridview). my question , what is th ...Show All

  • drcairo Multiline TextBox is running out of space

    I am working on a WinForm application. It has a multiline TextBox and I am displaying the processing results of an xml file. The TextBox is not being updated after a certain point when there are too many messages to display. I am using the following code to display the results: txtLog.AppendText(Message + "\r\n"); I am changing the MaxLength for the TextBox but it is still stopping at the same point. Is this anything to do with the capacity of the string Any help is appreciated in this case! Any other ways of dealing with this Thanks Basani TextBox has a 32K char limit. You can switch to RichTextBox which depends on available resources. If you wa ...Show All

  • kalai webbrowser control

    I put a webbrowser control on my window form application to show a word document. And it works fine except one problem. I want use this control as a viewer only, however, the user can modify the document within it and there are toolbar buttons: accept change, reject changes ect. show up. How can I prevent the modification or diabled or invisible those toolbar buttons. Thanks ...Show All

  • Pedro Felix Guide on how to migrate from UAB to Clickonce?

    I have UAB 2 and would like to move to ClickOnce for a smart client app. Is there a guide on how to migrate or are we left to fumble in the dark I would appreciate pointers on what to do. Is there a really good guide on ClickOnce The MSDN pages are quite poor. regards, Mark We need to be able to install and update software that is for multiple users on a computer network. I do not know if ClickOnce can do this, I read that it cannot - am I wrong Users do not have Administrator access. I'm trying to get UAB 2 for dotnet 2 working, but this is painful as Microsoft has not updated their UAB 2 to include the dotnet 2 patch. This action would be appreciated - hint hint Microsoft. regards, Ma ...Show All

  • Burgz cannot lauch application on other systems

    Hello, I am quite new to Windows Forms programming. My problem is that I can't launch the Windows Forms applications I create with Visual Studio Express 2005 on other systems, where Visual Studio and the .NET framework are not installed. The error message I get (translated from german) is something like this: "cannot lauch the application, because the application configuration is not correct. Try reinstalling the application..." What am I doing wrong Do I have to link some libraries someway I am confused... would appreciate some help... ciao, Pascal Thank you Richard, I will have a look at it, but the application I am writing is for people with analog modems or ISDN, they would need almost 1 h ...Show All

  • Mark Benningfield Application.EnableVisualStyles and .DoEvents()

    Hi All; I've got a groovy little windows app (VB.Net 2003) going with some tab controls and tab pages. I'm also attempting to EnableVisualStyles but am not able to display the tab's text when using EnableVisualStyles. I have Application.DoEvents following as suggested in several different threads I've found on the web that are mentioned to combat the bug in 1.1 framework. Can anyone offer further suggestions Code as follows. Thanks, GRaab Public Sub Main() Dim mainForm As mdiServiceCare = Nothing Try Application.EnableVisualStyles() Application.DoEvents() mainForm = New mdiServiceCare Application.Run(mainForm) Catch ex As Exception MsgBox(ex.Message) End Try End ...Show All

  • marcioesteves Bring MDIChild to the top

    Hello, I have an MDIParent form with several children. When I click a menu item in the MDIParent form, I would like to bring a specific MDIChild form to the top. I have the name of the MDIChild form, but I do not have the index. Does anybody know how to do this using the name Here is the code in the MDIParent form... private void optionsToolStripMenuItem_Click(object sender, EventArgs e) { if (optionsOpen) // bring the open open window to the top { this.MdiChildren["Options"].Focus(); // this doesn't work... } else // open a new options windows { Form opts = new Options(); opts.MdiParent = this; opts.Text = "Options"; opts.Name = "Options ...Show All

  • Sergey424701 plz HELP!! it's making me crazy!!

    I am using this code.. calling ping_to_host() from a timer every 5 seconds and eveything is fine until it reachs the last row in the listview (let's say index=16).. it should then go back to index = 0 but it's failing with an invalid row index= 17.. but i don't have this crazy index 17 and i really don't know why it's adding one more index though i have mentioned: for (listview_item = 0; listview_item <= lstHosts.Items.Count - 1; listview_item++) this is the code: public void ping_to_host() { CheckForIllegalCrossThreadCalls = false ; listview_item = 0; for (listview_item = 0; listview_item <= lstHosts.Items.Count - 1; listview_item++) { string data = "aaaaaaaaaaaaaaaaaaaaaaa ...Show All

  • ar_pad Form validation -validate everything at once

    Hi I have form with tabs and texboxs. I'm trying to validate everything at once when the save method is called in the form and got focus to relevant field if validation faild. Does any one know how I can best implement this. Thanks in advance Windows forms validation really does not support that. Billy Hollis wrote his own custom validator for windows forms that are similar to the web validation controls. You can download them from here . Hi Thank you very much it is very helpful. ...Show All

  • Leebert Inheriting the windows form from another windows form

    I'm trying to inherit one windows form (inheritForm) from another windows from (baseForm). I want to override the the baseForm's some events with the inheritForm events (let's day I want to override the form_click event). Can we really do this. I mean does the design of .net framework 2.0 support this If yes, it'd be gr8 if you can post few lines of code. Thanks, Vivek Try compiling before opening Form2 in the designer. Or just don't open Form2 in the designer, but just use its code. Here's the VB version: Base form: Public Class BaseForm     Private Sub BaseForm_Click( ByVal sender As System.Object, ByVal e As System.EventArg ...Show All

  • Lukejs3 "Windows Handle already exists." problem

    Hi, I have an application in which I open a form from another form as a dialog. There are some buttons on the opened form one of which closes the dialog form. If i open the dialog form and then close it by pressing the close button, an exception is raised with the message " Windows Handle already exists." Can any body tell my why this exception is raised and what is the work around Thanks in advance, Wasif Ehsan. No all the work is being done in the same single thread. Are you using threads Also, you need to show us the code that causes this exception. ...Show All

  • Mark Hogan Finding the Values

    Hello Everyone, I have a checkboxList, which I populate using datareader afting getting the data from the database. I was wondering say if I get back.... SELECT id, description from something; how can I have id hidden under the checkbox and description needs to be shown to the user.... It will help when user picks the checkbox to find out which one the user picked and act accordingly.... This is what i do now.... IDataReader dr; dr = connector.Lots(); while (dr.Read()) { Lots.Items.Add(dr[1].ToString()); } // Close the Datareader dr.Close(); If someone can let me know, how to put the id in the checkbox (hidden) ...Show All

  • Kaos Example for deriving from datagridviewcell

    I designed a user control that can be described as an enhanced combobox. It has more than just a dropdown button right besides the text field and offers much more functionalty. Because deriving from a combobox isn't very flexible it's derived from a user control and contains a textbox and some buttons on the right. It looks like this: [             Textbox              ][But1][But2][But3] Now I want to integrate this control in a datagrid. I already found out how to use it as the editing control for a datagridviewcell. But because the functionalty that is offered by the different buttons of the control has to b ...Show All

  • mrbelk Copy all data from Datagridview into a new datatable

    Hi, I was wondering if any have done this before. What I need to do is, copy all the data from a Datagridview into a datatable. Please reply back if you can help. Thank you. Rick.. hi rick, do you mind to share the coding on how you loop thru the rows and save into dataset thank you for your help. Thanks for the quick reply there. I forgot to mention that the Datagridview have some unbounded columns in addition to the data bounded columns. I want the data from the unbounded columns copied too. Will the example (copy DataGridView to datatable) sill work Thanks again. Rick.. Use the for clause to loop all the rows.. Hi, TommyGL ...Show All

  • Antarctica ListBox vs. ListView

    hi all, is there anyway I can achieve the below functionality for a ListView, the below code is for a ListBox: case Keys .Up: if (lstSender.SelectedItems.Count > 0) { if (_lastSelectedItem != null ) _lastSelectedItem != null ToolsListBox.SelectedIndex--; // change selection } } break ; No, a ListView does not have the .Index method If selected select is set to true i.e. user can only select one item at a time. how do i get the selected item's index I have used SelectedItems(0). Since only 1 item can be selected, it will be the first element of the collection. But it does have a SelectedIndices property AND SelectedIndexCollection Same way. ...Show All

161718192021222324252627282930313233

©2008 Software Development Network

powered by phorum