Answer Questions
Fahad1 Autoresize windowsforms
I wonder if there is a parameter that tells the form to resize when resolution changes. My form is bigger 1024*768 and when i want to see it on that screenresolution the bottom of the form disappears... is there something like autoresize thanks! Hi, you can hook into SystemEvents.DisplaySettingsChanged event and resize the form yourself. But personally, I'd go with WindowState property set to ...Show All
DJK60160 Copy and Past Excel spreadsheet
I want to create a Windows Forms application that can be used to copy a spreadsheet from MS Excel and paste the contents into the winform. I also then need to be able to add and remove rows and columsn. I am relatively new to .Net and Windows Forms programming so please forgive if the question is pretty basic! Regards, Wallace Thanks for the reply... Wallace You need ...Show All
nCognito Multiple icons on listview
Has anyone figured out how to add multiple icons to a list view yet in VS 2005 with .NET 2.0 Like microsoft outlook 2003 does for attachments, priority, and the message icon... I was hoping MS would of added an image property to the subitems, but they don't seem to of done that... so anyone have a work around or a method to do this thanks! Your better bet is to use the new DataGridView control. We didn't add su ...Show All
Sarat Gollapudi TextChanged event for DataGridViewTextBoxColumn?
I have a DataGridView with four textbox columns. When the user is entering data in one of the columns, I want to handle the TextChanged event. The CellValueChanged event of the grid only occurs when the user has finished typing and leaves the cell, but I need to capture every keystroke. How would I do that Never mind, I found the answer. private DataGridViewTextBoxEditingControl editingControl; void dataGridView1_EditingControlShow ...Show All
Gray Ghost if you had a 6 month project...
hiya, If you were planning a project that would take approx 6 months, would you ditch v1.1 and use whidbey and sqlServer 2005 I'm hoping for a unanimous yes ;-) cheers, yogi cheers James, I appreciate the honest comments.I am quite ...Show All
the_evil_one Change control cursor to cursor from .cur in designer
By the wayu I though i'd just ask... how do you use the mouse pointers you create with vs2005. when you select the cursor property of the form it only comes up with the ones already avaliable The designer doesn't support non-standard cursors. You can use code to change the cursor to a explict file or load it from resources. ...Show All
pooya Treeview - using images only on children
I have a treeview control and would like to use images only for specific children. That way the user can choose which "type" of child to open. Example: root \_child \__ & child2 \__ @ child2 Where & and @ m ...Show All
NetSoft ToolTip and c#
I have been using toolTip control in my application. The code is: this . toolTip1 . SetToolTip ( button1 , button1 . Text ); When i go to next form and come back to the same form an exception is shown as Common Language Runtime Debugging Services Application has generated an exception that could not be handled. Process id=0xd68 (3432), Thread id=0xd70 (3440) The error is being caused because of this tooltip and if i rem ...Show All
mamad5 pre populated listview
I have a control that inherits from listview, and i wish the control to populate itself with items when dropped onto a form. Im not sure at what stage to populate the listview. at first i fired the populate method from the constructor. This&nbs ...Show All
Hemal Resgistering event handler with dynamically generated linklabels
Hello, I am dynamically generating a number of linklabels based on some client data. This is in a plain VB class, not a Form I am declaring my linklabel as: Friend WithEvents linkLabel As System.Windows.Forms.LinkLabel Then I loop through some data grabbin ...Show All
Flores flickering form on resize with a background image.
Hi, I have a background image to the form. The form is divided into two horizontal split containers the top container is fixed and both the containers are made transperent. i have a listview docked to fill in the container. when i resize the form i have a flickering issue and i see that the background image of form is being displayed during the time duration when the listview gets to the resized position of form resulting in a flickering. I h ...Show All
MattMasotti Backgroundworker Problem
Hi, I have a problem. Im using a backgroundworker object to do some processing, but the dowork method is not executing properly. When debugging, the debugger goes to the first line of code in the method, and does not move on. Can anyone give me some insight Here's the code: { int current = 0; localhost. Photo [] photos = galleryService1.GetPhotos( CurrentGalleryID); current = 0; foreach (localhost. Photo photo in photos) { System.N ...Show All
KristerS How to choose filters for WMPlayer control?!
Well, I have a problem which I am trying to solve so much time, but I cant... The problem is: I have two Windows Media Player controls within my application, and when I want to play mpeg2 streams I want to choose diferent codecs/filters for each control. In fact I want to send one stream (which plays in one WMP control) over my PCI hardvare mpeg2 decoder (NetStream2000), and the other stream (which plays in other WMP control) to decode w ...Show All
rodrigobenin Check box data binding, AddNew doesn't work
I am having problems with binding to a check box. It works fine until I attempt to add a new record to the dataset through the binding context object. The code that adds the new record to the dataset is listed below Me.BindingContext(dsDataSet, TableName).End ...Show All
bubu How to update dataset
Hi, I am having some problem to update my dataset. I am basically using two forms to show the information from the database. This first form is having a datagridview to show the basic information and the second form is used insert and update the database. Now I am using the following code to fill my datagridview on the form load event. Dim ds As New DataSet Dim sSQ ...Show All
