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

Software Development Network >> Windows Forms

Windows Forms

New Question

SendKeys.Send("+?") doesnt work ?
ListView Column Widths Question
C# and Arrays
Custom Control not Appearing
Datagridview + tabcontrol designer issue.
Visual Studio 2005 help required
how to put my application on start up in deployment project
Drawing picture of 256 colors in picturebox
Group Box
Form dispaly area to bitmap?

Top Answerers

DOSrelic
Pradeep Gupta
regthesk8r
Shrek.NET
barisrael
ChrisMcCabe
Mark Benningfield
MarcGBeauchamp
lukef01
Toni Greco
sitemap
Only Title

Answer Questions

  • fleo Flickering when drawing with graphics object

    I usually write game code using directx. i wanted to see how well the graphics object holds up. (not that it's anywhere as powerfull as directx) I'm getting 'flickering' when running the app though. I've read some other threads saying to double buffer. A bit of extra info, i'm rendering out to a picturebox. Here's the code to double buffer the PB. Public Class GW Inherits PictureBox Public Sub New() Me.DoubleBuffered = True End Sub End Class Problem is, whether not i'm doublebuffered, it still flickers. basically, the draw code runs in a loop timed by a performance timer. Draws backgrounds first, then objects from a back to front method. (so things occlude properly) Before the beggining of each loop, it clears the pic ...Show All

  • Will George DataGridView IsCurrentRowDirty

    When a cell value is changed in DataGridView, the value for IsCurrentRowDirty shows true in DataGridView_CellValidating event but false in DataGridView_CellEndEdit event. Is this the expected beaviour of DataGridView If someone can shed some light on this topic, it will be very much appreciated. Thanks! This property returns true when the pencil glyph is displayed in the row. Before the DataGridView_CellEndEdit is fired, the current row moves to the next row, so the IsCurrentRowDirty is False. ...Show All

  • Nickeay How can I handle in the child class an event raised in the parent class?

    Hi all I am creating a class that inherits from System.Windos.Forms.Form for implementing some custom things that I want to happen for each form used later in my app. I am overriding the OnClose event of the form for the following reason: I want so recursively search each control on the form and if the control is a Component One TrueDBGrid then I call the UpdateData() function on it. When calling UpdateData() on a TrueDBGrid an event called AfterUpdate() of the TrueDBGrid is raised. The problem that I encounter is that the event is not raised if I handle the event in the child class, the class that inherits from my customized form. So, the UpdateData() is called in my custom class ...Show All

  • Ghassan Rashed ListView not displaying images from ImageList in VS2005

    I am experiencing a very strange problem with a ListView. Here is the situation: on a Windows Form in VB.NET windows application I have a ListView control and an ImageList component. The ImageList component has been populated with eight (8) images and it is assigned to the SmallImageList property of the ListView control. The ListView is manually, i.e. during design-time, populated with ten (10) items and each one of them is assigned a value for its ImageIndex property corresponding to one of the images in the ImageList component. So far so good. When my application was in VS.NET 2003 it worked just fine, i.e. the images displayed correctly. However, after I converted to VS2005 the images are not displayed in run-time. In design time th ...Show All

  • Shrek.NET How do I create a copy of a datatable - and the copy not have any reference to original?

    I would think the clone method could get me a copy of the datatable, but does it copy data too I want to mess with the copied datatable, without ever affecting the original. Any ideas Thanks. Hi, Denvas In fact, there's a datatable. Copy () method which can copy both structure and data from one datatable to another,and any change on destinational table won't affecting the original. Best Regards. Ye The clone method of datatable just clones the struture of the original table to destinational table, it doesn't copy the data, and any change on the destinational table won't affect the original. Regards. Ye you can also use datagridview to relize copying --------------------- ...Show All

  • C. Hunter Changing the design-time dataset to match the real world.

    First, I am definitely a newbie on VB Express/SQL Express, but also definitely an oldbie on VB-6 data manipulation and SQL 2000. I am trying to do in "Express" components what seemed very easy in "6/2000". Probably a huge mistake, but I'm open to any forms of help, new ideas or even " Well, that's stupid - let me tell you how it really should be done "'s. My previous methods of handling new projects with SQL databases was to first build a little database management program. All this program did was connect to my SQL Server (I would parameterize the connection so I could have multiple copies of the database across a few test and prod servers), DROP my currrent database and bascially build a new one from s ...Show All

  • zoujing Why does the ClickOnce 'Install' button generate an xml page instead of starting download?

    Hello, I just published my application for ClickOnce deployment to my web site. When I click on the Install button on the publish\publish.htm page on my website, the browser returns the contents of an xml file and does not start the download. Does anyone know what might be causing this Any help or suggestions would be greatly appreciated. Thanks! Jason On msdn2, it says that you should associate it with "application/deployment". When I do this, I still get xml, but when I do Properties, it says that it is a "Deployment Manifest". Somehow IE6 knows what it is, but just doesn't want to do anything with it. Thank you very much for the s ...Show All

  • Kennet VWD and MySQL

    I am trying to create a simple CRUD form using VWD express edition on a table under MySQL. The table has a primary. When I get to the "Advanced SQL generation Options" dialog box to generate the insert, delete, and update statements, both options are disabled. Note: The table has a composite primary key. Any feedback will be greatly appreciated. Thanks Please ask asp.net questions in the asp.net forums . I believe for you to get insert, delete, and update commands you have to list the column names in the query. By that I mean Select * from MyTable will not allow you to generate the commands but Select Column1, Column2 from MyTable will. ...Show All

  • Poolius 2 DataTables related through third

    Can somebody direct me in the right direction on this, please. I have 3 tables First ------- ID, Name Second ------- ID, Name Lookup ------- FirstID, SecondID All three tables are loaded to same typed DataSet. Is there a possibility to bind one ComboBox to First, and another ComboBox to Second data table, but under condition that second will contain only values from Second data table for selected First. I actually need same thing that could be done using SQL: SELECT L.SecondID, S.Name FROM Lookup L LEFT OUTER JOIN Second S ON S.ID = L.SecondID WHERE L.FirstID = 1 I know how that could be done if it was possible to bind Lookup table (BindingSource) to some control on the form, and then create FKBindingSource. But i ...Show All

  • Artichoker How to Bind DataGridView to Dataset in Another Project

    Good Day: I created a strongly typed dataset hitting a SQL Server Database in a class library project. I then created a 2nd Windows Form project. I added the reference of the first project in order to use the strongly typed dataset I just created. I added a DataGridView Component to the 2nd project. I then create a New Object Based Data Source. In the Project.Data reference, I select the following data source: Project.DataSet1.DataBasicDataTable. At this point the wizard says it will create an object DataBasicDataTable. When I click finish, it adds the columns to the grid and an DataBasicTableBindingSource. Once I run the form, it shows an empty DataGridView. Can someone please help me in figuring out what I am doing wrong. If I ...Show All

  • averge joe packaging sql server express with .net application

    how can i include sql server express and required database in my setup project Thanks After deploying mdf file you will discover what will be AttachDbFileName property of connection string. Also important property is UserInstance=true. You can set the prerequisity on SQL Express in the setup project properties. So when installing application a message will popup with information and a link from where it can be downloaded. For database, you need to pack .mdf file and also .ldf file. Probably your ldf file is big so it's better to create a new one before packing it. You can pack only .mdf file, but you will have problems with next installations. how wud i attach .mdf file to the instanace of the SQL Express from install ...Show All

  • Martijn Mulder ErrorProvider & its tooltip

    I'm using .Net framework 2.0.50727. As I know, after the ErrorProvider detects an error, it will display a tooltip once the mouse moves to the 'X' position. Most of the time it is correct, but sometimes it seems that the tooltip message got lost, and no tooltip showed up. And this happens like random. It really confuses me. Could anyone tell me why Tooltips don't show forever, they disappear after a certain amount of time and don't reappear unless another tooltip is shown. The ErrorProvider does not provide access to the ToolTip associated with it (it's separate from the parent form) so you can't change any of the timings of it's tooltip. Then how much time was the "certain amount of time" I don't think i ...Show All

  • IXOYE333 Navigating Through Tabs in TabControl via Hotkey

    I'm trying to assign a hotkey or locate any other way to navigate through the tabs on a TabControl without utilizing the mouse. I've tried code along the lines of: tabControl.GetNextControl(tabControl, false); but this doesn't work. I've tried using the tab index also without success. Does anyone know of a way to do this Thanks, cj TabControl can be controlled by the left-right arrow keys once it has the focus. To add an accelator key you will need to set the form property KeyPreview to TRUE, then you will have to handle the KeyPress event of the form. Use this .tabControl1.SelectedIndex to switch your tabs. ...Show All

  • Olavo method with list of parameters

    hi every body i am working in class that bind database with my application and i need to know how to make method that accept list of parameters (to execute Stored procedure with any number of parameters ) pleeeeeeeeeeeease i need help i need it to be liek that x.ExecuteStoredProcedure(storedprocedurename ,LIstofParameters ) yes , so you have a list of para suppose you take a table of paras, as follow: column1, 2 row1 para1: "aa" row2 para2: "bb" .... para3: string.empty (if you need) para4: "cc" then you can use: private void runstroedprocedure(Datatable table_paras) { for(i=0;i<table_paras.rows.count;i++) { if(par ...Show All

  • hakkatil DataGridComboboxcolumn with different value each row

    Hello! I have the following problem... I made a Datatable with the following columns company1 company2 adressbook1 adressbook2 There is a combobox for each one. If I select a company in the company1combobox, then the adresses of companyemployess should appear in adressbook1combobox... same with company2 and adressbook2. There are many rows like this i read an article (in the faq) how to do the change when you enter a new column. But what do i have to to when i load this DataGrid thanks for help ...Show All

97989901234567891011121314

©2008 Software Development Network

powered by phorum