Answer Questions
maddinthegreat Form Designer Gone Wild
Every now and again, when working with the Form designer, when I build my project, it goes crazy and totally screws up my layout! Sometimes it removes controls and very often, it totally wipes out my InitControl() method. I'm using VS 2003. Has anyone else run into this problem Is this a known bug I've been working on a form-based project for only a few weeks and thi shas happened on 3 forms (2 new, 1 existing). TIA for an ...Show All
wirol DataGrid Big Red X error
hi , I have three different usercontols in a form , When i change a list box selection in one usercontrol , it runs a cdhart and displays it in another usercontrol , then it changes the datasource of the datagird and refreshes the datagrid ...Show All
Blue Shirt DataGridView Text cell
Hi there I've made a form with a datagridview control hooked to a SQL Express DB. One of the cells I've made multiline, but I cant for the life of me work out how to actually place a CR/LF where ever I want in the text. As soon as I hit Enter, the editing finishes and the selected cell moves. Is there some other option somewhere that allows CRLF to be entered using the keyboard, like AcceptsReturn in a multiline textbox Thanks Dave OK ...Show All
Urgent Checking if a directory exists.
Hi, I was just wondering if there is a quick way to check whether or not a specified directory exists. I'm having the user add a directory of his/her choice where reports will be stored, but want to default to a directory of MY choice  ...Show All
DINO DENTONE Binding Source always suggests dataset changes
Hi, I have a usercontrol that is bound through the new Binding Source to a datatable. When i call bs.endEdit and the dt.getChanges, there are always changes returned (even when none are made) I have an <propName}ValueChanged eventHandler in my code, and raise the value changed event in the property. This did the trick fine in 2003, but 2005 seems to have gone wrong. Is there something else i need to do to sort this Many thanks, Chris ...Show All
alanr Override??
Hi, You know there is a mouseclick event for the objects on a form. I create a class which extends panel and i want to use mouseclick event for every object that i create from this class. I think i should override mouseclick evetn.. How&nb ...Show All
StephenW how can i trap the forms on closing event from a menu item
I am out of hair! New to .net so be kind... I have been trying to get my "exit" menu item to trap the on closing event that the close X button does. When i click the X i get the on closing event and i& ...Show All
Paul Bates Difference between .exe and .dll security resctrictions?
I've wrote a visual component (dll) and embedded it in the html page. I just can't run it without Security Exception (it tries to connect to MSSQL using SqlClient ADO.NET objects). I have 1) strongnamed a dll 2) added AllowPartiallyTrustedCallers attribute ...Show All
Krithi How do I change the download location in the boostrapper?
I am trying to figure out how to update the download URL location the Visual Studio Setup & Deployment boostrapper uses when you select the SQL Server 2005 Express edition as a prerequisite and choose Download prerequisites from the component vendor's website - it is still downloading the RTM version of SQL Server 2005 Express and I would like it to use SP1 instead. Does anyone know how to do this Thanks in advance! ...Show All
wiu joe task notification service?
Hi all, I am thinking of creating an extra feature into a derivative taskvision app to send reminder emails out to task assignees when the 'complete by' date is almost up. Basically I am looking for some pointers on how to approach designing/coding ...Show All
Haydn how to initialize a databound combobox
I have a combobox that I bind to a dataset during the load event of my Windows form like this: <code> DataSet dsTerritories = da.GetTerritories(); cboTerritory.DataSource = dsTerritories.Tables[0]; cboTerritory.DisplayMember = "Description"; cboTerritory.ValueMember = "Value"; </code> However, even though it is data-bound, I would like to set the initial item to some value. for example, if I bind a combobox to a table containi ...Show All
Bob Everland Loading application efficiently
Is there a better way to improve startup performance of my application I had a form wherein it had 2 comboboxes and 2 datagridviews, each and everyone bounded to their respective tables in my databse.The tables happens to be of large data so evidently it takes so much time before my applications starts up.I am using the tableadapter.fill method of loading data on form load event and its such a big drawback on my part.Thanks in advance. ...Show All
Dr.B. Problems with Controls and Events
Hi, I am developing a user control which inherits from TabControl. This control has on each TabPage a ListView inside. The problem is that I want to control some events of the ListView from the form where the control is placed. I am sorry if the question is too easy, but I'm new developing controls. Cheers, Iker Hi Phil, Thanks for the feedback. I have done the second choice you say, I have fired my own events from the listvi ...Show All
MrBobo Cookies problem...
I need to download HTML pages from a website. These pages require username/password access which I DO have. The problem is, the website sets a persistent cookie in my Cookies folder and it's encrypted, so I can't read it's content. How can I au ...Show All
Gerscht how to know app size before minimize app to taskbar
Hi, I need to know the size of the app before the user clicks on the minimize button to minimize the app so it shows on the taskbar. I am saving the size of an app in a config file. I need to know the size of the app be ...Show All
