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

Software Development Network >> Windows Forms

Windows Forms

New Question

SpinEdit. before decimal value i need to display zeros, how?
Notification area
Updating a specific row in Access database
DataGrid Master/Detail... close but not right
I have a Question on the Limits on numericUpDown (Help Please)
Want to change the font and color of context menu and confirmation dialog box
Adding and using C++ class to Visual C++ project
Image inside DataGridViewComboBoxCell
Register or demo mode
getting media files from a winform

Top Answerers

vish2007
Ori'
r0x0r
Declan_
Leebert
niko888
Darkside
Bruce Baker
Pascal Mignot
TanyaMMP
sitemap
Only Title

Answer Questions

  • fatquack TableAdapter - reconfigure main query changes all scalar queries

    I got a strange problem when I manually added a column to the table adapter main query (click on header - configure), it also reconfigured all my additional scalar value queries by changing the SELECT [my scalar value] into SELECT [all columns from main query] instead. This caused several "specified cast is not valid" run-time errors as the new first column had another data type. What is worse, is that for those queries that happend to get another column of the same data type, this bug could have gone undeteced if not for my unit tests. Is this a feature or a known bug KjellSJ A (kind of) solution to this problem is to use a SQL function in the scalar query as this will protect the SQ ...Show All

  • R Raghu Is this really possible????

    According to Murach's C# 2005 (P772) you can publish a windows application on the web, is this really possible Would this be the same as using ASP.NET but since its a windows application, it would have all of the designer features of a windows app Thanks!! My understanding of this is, when you publish a windows app to the web you are loading the install on the internet. Then the user can install from the site and the app can also check for updates. Hi, Yes you can publish windows applications on the web; but this is only the installer that is being published; this technology is known as ClickOnce. It is possible to create windows applications that are execut ...Show All

  • robinjam increase performance

    Anyone know any way to increase my performance and make my computer faster without downloads off the internet Sorry, but this forum is for programming development only. Please try Microsofts support forum for Windows XP. ...Show All

  • fcjh flipping tabpages programmatically

    This is what I want to do: when I click a button on tabPage1 I want the tabControl flip and show tabPage6. I've treid numerous tricks--none worked. In the button Click event I have: this.tabPage6.Focus (); SendKeys.Send ("{ENTER}"); this.tabPage6.Show (); No effect. I've tried MouseEventArgs, MouseDown, MouseClick for tabPage6 but none of them even fired. Thanks for help. Hi Alex Correct command is: tabControl1.SelectedTab = tabPage6; Yours Markku "Correct command is: tabControl1.SelectedTab = tabPage6;" Yep. It worked. Thank you, Markku. Thank you. Amazingly simple. Actually I have done a similar thing a t ...Show All

  • MrZkitten How to trap keyboard event. like Esc and Delete etc.

    in my case , i want the same ability like in VS IDE which is when on design surface, select a control and then press ESC ,the Selection Control will turn to it's parent control. i trying to add the messageFilter to handle the key event . but it will trap all key events in the application. Apperently this not meet my requirement, i just want the design surface handle the message. i have tried to handle Message Loop as well it doesn't work ; for example: System.Windows.Forms.Application.AddMessageFilter(_msgFilter); ...... public class MessageFilter:IMessageFilter { private BaseForm _owner; private const int WM_KEYDOWN = 0x0100; private const int WM_RBUTTONDOWN = 0x0204; public MessageFilter(BaseForm owner) { this._o ...Show All

  • shanthi DataGrid_ItemCommand doesn't fires the first time

    Please refer the code below, I have DataGrid_itemCommand defined. This does not gets fired the first time, works perfectly fine otherwise. protected DataGrid dgTransactions; #endregion #region Event Handlers //protected void dgSearchResults_ItemCommand(object sender, DataGridCommandEventArgs e ) private void dgTransactions_ItemCommand( object source, System.Web.UI.WebControls.DataGridCommandEventArgs e) { if ( e.CommandName == "DrillDown" ) { // User Code } else if ( e.CommandName == "ShowConfirmDialog") { showConfirmDialog(source, e); } } protected override void Render(System.Web.UI.HtmlTextWriter writer) { base .Render (writer); // If ...Show All

  • annum0 using button control to navigate between textboxes

    Hello, I am designing a touchscreen app and am really struggling with the control navigation. I have 5 textboxes from top to bottom and I have a Button labelled "UP" and a button labelled "DOWN". What I am trying to do is when the user pushes the "DOWN" button the focus of the control will go the texbox below it, and the same when the "UP" button is pushed. So if the user keepes pushing "DOWN" the focus will move through the textboxes and stop at the bottom. any help appreciated. Regards Peter You more than likely have a problem keep track which control has the focus. As soon as the user clicks the button, you've lost track. ...Show All

  • el_Fede DataGridView Row Selection With Mouse Right Click

    How can I select a row of datagridview control when i click with mouse right button. This solves my old problem! but, do you know why the black arrow on the rowheader don't move with the selection it moves only with the leftclick... Here's what I use - a little bit of work, but seems to work regardless of other property settings on the grid. This code makes sure the mouse down is on a cell and not a column orrow header cell.  This code clears all other selections and selects the row that the user clicked on because that is what I wanted, but you don't have to do that, of course. Private Sub dgvResults_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Form ...Show All

  • amiune Tab Based MDI

    Hi All The application I'm working on currently has multiple forms/instances of the same form open at once. Rather then have the user minimise and maximise each window each time they want to look at it, I want to create some kind of Tab-Based MDI, similar to the one used in Visual Studio 05 and applications like Dreamweaver etc. How do I go about creating something like this Thanks! Here's a piece of code which demonstrates a concept for doing this, though it obviously needs some tweaking. imports system.windows.forms imports microsoft.visualbasic.controlchars public class mysubform inherits form public sub New(aa as integer) dim lb as label = new label() lb.text="Subform " & aa.tostring() lb.loca ...Show All

  • Darren Baldwin DataGridView Slow Changing Backgroud Color

    Hallo, in my application, I use a DataGridView view around 30 rows and 20 columns. To make editing for the user more comfortable, I want to the background of the entire row and column corresponding to the CURRENT SELECTED CELL to be painted lightgray. All other cell have a white background. I use the following code in C#. It works, however, AWFULLY SLOW. I know that changing the background color of a DataGridViewCell is especially time consuming. Anyway, does anyone have an idea how to enhance perfomance Here the code: private void dataGridViewTabPage_SelectionChanged(object sender, EventArgs e) { DataGridViewCellStyle aux = null; if (_currentselectedcell != null) { for (int i = 0; i < this.dataGridViewTabPage.Co ...Show All

  • arcliner RichTextBox Disable Autoscroll

    Is there a way to disable autoscroll on an RTB control I have been highlighting text by using the find command and changing the backfround colour. The annoying thing is, this can make the screen scroll: //Remember the cursor position and selection length int temp_pos = richTextBox1->SelectionStart; int temp_select = richTextBox1->SelectionLength; richTextBox1->BeginUpdate(); //Do highlighting using RTB's Find method while(MemberWord^ mw = dynamic_cast<MemberWord^>(retrievedPackage->Members->Dequeue())) { richTextBox1->SelectionStart = retrievedPackage->SelectionStart; for(int i = 0; i < mw->Frequency; i++) { RichTextBoxFinds searchOptions = RichTextBoxFinds::WholeWord; if( ...Show All

  • Tdar databinding a CheckedListBox

    I am grabbing data from a ms sql database and trying to bind it to a CheckedListBox control and I'm a little confused. Here is the code I have right now: protected void LoadStatesFromDataSource() { this ._states = new GenericDataDataSet . StatesDataTable (); this ._statesAdapter = new StatesTableAdapter (); this ._statesAdapter.Fill(_states); this .PopulateStatesComboBox(); this .PopulateStatesCheckedListBox(); } protected void PopulateStatesCheckedListBox() { //statesServicedCheckedListBox.DataSource = this._states; //statesServicedCheckedListBox.DisplayMember = "StateName"; //statesServicedCheckedListBox.ValueMember = "StateAbbreviation"; statesServicedCheckedLi ...Show All

  • DallasSteve Missing Icon in Add/Remove Programs for ClickOnce Application

    I am currently working on a ClickOnce application, and I noticed that a default icon is used instead of the actual application icon in the Add/Remove programs list. The icon displays correctly in the start menu. Is this a known limitation of ClickOnce applications, or can it be fixed It is by design that default icon is shown in Add/Remove Programs eventhough you have custom icon in Start Menu. Are there any reasons that you must have custom icons in Add/Remove Programs Was there an answer on this I too would like to have a custom icon appear in the add remove programs while using click once. I don see where there was an answer regarding how to do this. These ...Show All

  • cgatti Saving TreeView information;Loading TreeView information from files

    Greetings MSDN members! I am working on a branched dialog editor for my text game engine and have run into a problem, but before I get into the problem I would like to explain what it is I am trying to do. The developer will use a GUI editor to create some branched dialog. Each dialog entered into the branch will be given a command. The engine takes that command and will either show the dialog as being from the player, NPC, monster ect. and if it has a command for giving the player a skill or item ect. it will due so. I am currently using a treeview to store all of the dialog, allowing the user to create a complete coversation with more than one ending. A user can choose different answers and get different results from the dialog ...Show All

  • jam66 Problems deploying .NET WinApp including COM Components and those localized ressources

    Hi, I'm in the middle of a huge project which includes converted vb6 projects (are vb.net by now) and newly developed container applications which includes these converted projects. In fact: i got a vb.net solution by now but some of the projects in this solution are converted from vb6. I'm using .Net 2.0 and Visual Studio 2005. Now, some of these converted projects still use "old" COM WinForm components, namely the DataGrid Control, DataCombo Control and 2 other 3rd party controls which depend only on mfc41.dll and mfc41ud.dll. They all use ado instead of ado.net, so they depend on the adodb PIA. Now, the problem is that some of these dependecies of the com components seem to be kind of localized resources. I've to s ...Show All

181920212223242526272829303132333435

©2008 Software Development Network

powered by phorum