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

Software Development Network >> Windows Forms

Windows Forms

New Question

Hosting the designer
How to set up POST parameters in AxWebBrowser.Navigate2
DataGrid Locks Up When Scroll Bar Should be Shown
Populate listbox in window1 from window2
VS 2005 applet deployment
How to .Save(...) a Bitmap Object in 16-bit?
Default Selected Item In A Combo Problems
How to get list of Processes and their file name/path? - Experts respond plz
accessing the registry and the %windir%system32
Strange Graphics Error

Top Answerers

Sorin Sandu
shax
Daniz
Simple Samples
Hans_Schmucker
RhysDavies
Musafir
jdavidroberts
jakorakosaya
ATRIP
sitemap
Only Title

Answer Questions

  • DiamonDogX PerformClick stopped working

    I have the code below that worked for a long time and I made some simple code changes, like adding a msgbox stmt, and now none of my PerformClicks work. Anyone know why Here is the code: Private Sub frm_ARExport_Shown( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Shown MsgBox( "AutoStart=" & AutoStart.ToString) If AutoStart Then MsgBox( "Before btnLogin.PerformClick()" ) 'fires btnLogin.PerformClick() 'does not fire MsgBox( "After btnLogin.PerformClick()" ) 'fires btnDoFile.PerformClick() 'does not fire 'Me.Close() End If End Sub Private Sub btnLogin_Click( ByVal sender As System.Object, ByVal e As Syste ...Show All

  • daniele bonini Security Update for Windows XP (KB927779) fails to install - ?

    What does this mean What do I do to fix this problem Try reinstalling MDAC 2.8 SP1 then apply the KB927779 patch again. Works on Win2K also. ...Show All

  • mendiola_loyola Access MDI Child Controls

    I have an MDI Parent form that spawns several child forms. In the child form it is possible select a button and open a new non-child form. On the new form opened I would like to be able to populate data in several controls from controls on the active child form. For example, I would like to get: NewForm.LastName.text = MDIChild.TextBoxLastName.text I would appreciate any assistance. Any Suggestions You may use the this .ActiveMdiChild to retrieve the active child form. Here's an article on this topic: http://msdn2.microsoft.com/en-us/library/4s6dtf7z.aspx Hope this helps. ...Show All

  • Klaus Even Enevoldsen DK Making a listview thread-safe

    All I have a listview that is populated by a number of threads running in the background. I currently have to use a mutex to make the listview threadsafe. Ie, before each thread tries to update the listview it waits on the listviewupdate mutex, updates it then releases the mutex. Although this works, I'd prefer to make it a little less "bodged" and would like to make the listview properly thread-safe without having to use a mutex. When I comment out the mutex commands the listview goes crazy with spaces end weird entries everywhere, making me pretty sure that it is definitely not thread safe. In the documentation it says... Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance member ...Show All

  • Wicket Modal Dialog Box focus problems and Painting Problems

    I have written a Windows Forms application using C++ (.NET 2.0). I have encountered two problems I believe are related. The first occurs sometimes when I open a modal "dialog box", in the form of a MessageBox.Show, FileDialog or custom form using ShowDialog. The dialog box does not appear on top of my application, it is hidden and thus gives the illusion that my application has frozen (The Z-Order is not first). The second is that after displaying these dialog boxes (When they do show up on top), the controls under them do not repaint themselves, leaving "ghost" images of the dialog box that was just closed. I have found several threads on this forums posted by others who have encountered the same, or similar, problems, ...Show All

  • Bruce Bukovics PictureBox

    i'm coding a Solitaire game.in this game we can change the card image.i mean game>bunch.i hope u get what i said. i think we'll choose the image from the picturebox and then with a parameter we'll send this image to another form and show the image there.i couldn't write the code.please help me . i have a question again.i create 7 pictureboxes on form load.i wanna drag&drop one of the picturebox.but how can i do that how can i code it for unknown picturebox here's my answer this .Controls.Add(picbox); really sorry for my inconvenience. sorry it was my inattention :( and now the code is working but i cant see the pic ...Show All

  • Personal Information Withheld User control with Events

    I have to develop an user control that should generate specific events (with data). Does somebody know where to find an example or guideline for this Thanks in advance. There are a two good articles about it: How to route events in a Windows Forms application Creating Controls - Adding Properties, Events and Metadata Regards, The following assumes you're using C# and .NET 2.0 (Visual Studio 2005) If you want to include data and the EventArgs class doesn't suit you needs, you'll have to create a new EventArgs-derived class. E.G: public class MyEventArgs : EventArgs { private object data; public MyEventArgs(object data) { this.data = data; } public Object Data { get ...Show All

  • ChiuHwa Problems with "Show Dialog" and Large amounts of data

    I have an inventory lookup form, called from many different user controls, that could easily be loaded with large amounts of data (150000+rows). My problem is that with only 22000 test records it takes about 35 seconds to load. This would be acceptable if I could load it up the first time and then simply hide it. The problem is that the ".showdialog " method of the form, while it works and allows me to pass the selected ID to the calling form, brings up a new instance every time causing the delay reloading every time. In VB6 you could hide the form then show it again and pass a global variable containing the selected ID from one form to another. In VB.net 2005 the Only way to pass the variable from the one form to the other, ...Show All

  • Mark Beiley datatable

    i have written the following code: dataGridView.DataSource = dataTable; but when I update the dataGridView manually, dataTable events do not raise why (I have defined the events correctly.) Which events are you having a problem with and could you post the relevant code what datatable events There are no events to be kicked off since you are not really dealing with the datatable in the sense that you are doing something with it, you are just telling the dataGridView to set its datasource to the datatable, which the events in this case would be fired in the datagridview, such as ColumnAdded etc... ...Show All

  • vgvKarthik Automatic update

    Hi, Currently we are successfully publishing our applications with clickonce. However, when a new version has been released and the customers starts the new client they will be prompted by a dialog asking them if they want to update or not. Now, is there a way to disable this dialog question and always update if there is a new version available Kind Regards, Robert ...Show All

  • Ntc newbie: binded data for date and change the datetime format

    Elo... i have a column in dataset with format mm/dd/yyyy 12:00AM (hmm from wat i've read so far mayb this is US format). When i do this... DateTime date = Convert.ToDateTime(dataset.Tables["master_table"].Rows[CurrentRowIndex].ItemArray[15].ToString); xrBill_Date.Text = date.Day + "/" + date.Month + "/" + date.Year; The output is what i wanted ---> eg. 18/1/2007 but the prob is the date is repeated (eg. there are 5 bills...the date from the 1st bill is repeated from 1st bill to last bill) So..i do this... xrBill_Date.DataBindings.Add(new XRBinding("Text", dataset.Tables["master_table"], ColumnName_Master[15])); DateTime date = Convert.ToDateTime(xrBill_Date.ToString( ...Show All

  • HotKeeper drag and drop in FlowLayoutPanel

    can i perform a drag and drop operation in a FlowLayoutPanel Yes, it implements the normal D+D events. Actually, this isn't correct. Inside FlowLayoutPanel.Controls is a little used function called SetChildIndex(Control c, int index) which allows you to set an object to a specific index. Since FlowLayoutPanel uses control's indices to determine which order to draw them in, you can set this to whichever control's index you are wanting to swap with, and it will bump that controls index up by one, and every one after that. Changing the Location property won't work, it is being controlled by the FlowLayoutPanel. That is its job. You'll need to rearrange the order of the controls in the ...Show All

  • sajid786 Problem with MSword docs that automatically opens in ie7

    When I click to open a .doc format from e.g. email or my documents or files, ie7 automatically opens instead of msword. How do I fix this Go to folder options and and then to file types tab. Scroll down to DOC file and click on the advanced button. Now check the confirm open after download check box. Now everytime you come across a doc file, Internet Explorer will ask you whether to save the file or open it. You can save your choice from that dialog box. I hope this helps. ...Show All

  • RDuke how to change the layout of the form

    Hi, it seems we can change the background color and image of a form. However, I could not find how to change the whole layout of the form...that is, how to change the color of the top strip with "minimize/maximize/close" on the right.. It will look strange or not consistence if I change the background image and color with the original top strip... Besides, there are 3 forms in my application, how can I use the methods and values from one form to another The 3 forms are different... Also, how to make one form minimize when I load another main window Since there are 3 forms, I want to put them in suitable position on the screen, how to change the form's loaction Thanks a lot! I simply solved my pro ...Show All

  • Dmitriy Ovdienko cashe machine

    hi is there a command or a way to comunicate with the cashe machine(that has a drawert which opens when i do sale) i want to press enter for example and the drawer wil open can i do that Some cash drawers are pos printers. Printing a certain string to them will open the drawer. You will have to check with the manufacture of the cash machine to see if there is an sdk for the unit. thankx man ...Show All

414243444546474849505152535455565758

©2008 Software Development Network

powered by phorum