Answer Questions
Duncan Goodall Error: DataGridViewComboBoxCell Value is not Valid
Greetings, I am using VS2005 and Sql Server 2005. My database table contains a column (mycolumn) defined as char(10), no nulls, default value blank. This table is added to my dataset with default value blank, default control type is datagrid, mycolumn default control type is ComboBox. I created a sample form and dragged the the dataset table on to the form, a datagridview was automatically created. I changed my columntype to datagridviewco ...Show All
Narek How to host progressbar into DataGridView?
MSDN give an example of how to host DataTimePicker into DataGridViw. I read it and I'm not clear enough to do it with progressbar. I want some further comments to put progressbar into DataGridView, because progressbar is not editable. Thanks in advance for your help! Ryan - I've moved this post to the Windows Forms forums where they should be able to help you. Thanks, Karen ...Show All
Dan Rowley CanConvertTo Not Called
I have a collection with a custom type and the custom type is decorated with a TypeConverter attribute. At design time, ConvertTo is begin called, but CanConvertTo is never called. I'm trying to return catch a ConvertTo on an InstanceDescriptor&nb ...Show All
Yuri de Jager Pop-up window titled "Generating Previews" when printing and previewing
Refer to previous post "Full Screen App: Tough Print Preview Control Question" I did not see an answer to the previous question. The answer may have been posted elsewhere. Please let me know if this is the case. I am also having the same issue with a non full screen Windows application. When I print preview my document using either a standard print preview dialog box or a print preview control, this pop-up happens and is not needed ...Show All
theumpteenthbrian Odd GDI+ Problem
Hi, can someone please explain me why the following is happening. If i write some simple code to draw a gradient fill like this: void ContentControl_Paint( object sender, PaintEventArgs e) { Graphics g = e.Graphics; Rectangle ...Show All
Rahesh Customized Designer Code
I'm working on an application where I need some special initialization on each form and therefore would like to extend the Designer code. Currently, I manually add my special initialization method to the form and call it after InitializeComponent(). After making changes on the form I always have to check my init method and eventually change it according to the new form layout. My question is: is it possible to extend Visual Studio 2005 Professi ...Show All
Hindin Ambient Properties Question
I'm trying to make a property of my control act just like BackColor does. Here's the code that I have that's not quite working. Private _AlternateBackColor As Color = Color.FromKnownColor(KnownColor.Control) <Category("Appearance"), AmbientValue(GetType(KnownColor), "Control")>&nbs ...Show All
d6rth7ader Newbie : How to add the Xpander controls ?
Hi, I'm new (1 week...) at VS.net, vb. I would like to know what I should do to use the Xpander controls that come with Task Vision, in one of my test projects, as I have no idea where to start. I suppose I must add the dll  ...Show All
Stathis Papaefstathiou Binding to tables with a many-many relation
A simplified example of what I want to achieve: I have two tables with a many/many relation: e.g. "Car" and "Part" where a car can be built from many parts and a part can be used in many cars. I model this with  ...Show All
nelson888 Stupid question about updating my control.
I'm creating my control, that be inherited from UserControl (I'm drawing use GDI+: System.Drawing.). And I want change picture in my control by timer tick. What I must do Graphics g; GraphicsPath gp2; GraphicsPath gp; List < Point > p1; List < Point > p2; Point [] p; ---------------------- p = new Point [ Math .Min(p1.Count, p2.Count)]; for ( int i = 0; i <= 255; i++) { for ( int ...Show All
Ocrkass removing inherited properties
I have a control that inherits from control, so it has a dock property. I want to remove this property or make it readonly so that it always docks to the top left of a form like a main menu. I've played around with the&nbs ...Show All
Mark Farrington Getting a Strange Click-Once error at Install time - please help
I am able to successfully publish my files to install.inventorymanager2005.com but when I click on the Install button it gives me a bland error message that the program was not formatted correctly. Click on Details and you get this: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50215.44 System.Deployment.dll : 2.0.50215.44 (beta2.050215-4400) ms ...Show All
Reza Combobox
How to make a combobox uneditable. Thanks Hi, You can change the DropDownStyle to DropDownList to do so. Regards, ...Show All
Luis Ayala Problem with Adapter.Update
I have a datagrid, dataadapter anda dataset. I need to update the database when the user moves to the next row in the datagrid. I have awritten the following code in DataRowChangeEventHandler. But it is not updating my datatbase. Can someone please& ...Show All
amontania Please post here if you are running a Terrarium server.
I want to get a feel for how many are out there, if any. Thanks! Good news! Please keep us informed. Bummer, this means that there is no Terrarium Server running at this moment.... Well, I guess I'll be seeing you&n ...Show All
