Answer Questions
jdarias Preventing an item from highlighting in a checkedlistbox.
I am looking for a way to prevent the item listed in a checkedlistbox from highlighting when I click in the checkbox. It's a rather annoying visual when this happens. I have it set to clearselection when the checkbox is clicked but i really would like it not to occur at all. TIA, Rick ...Show All
Coëndou SEHException
I have a SandBar hosted on an MDI Parent form, which contains a ComboBoxItem. On an MDI child form, I have a text box which, on the Validating event, checks the content, and if it doesn't recognise it as valid, the code opens a dialog  ...Show All
Julie MacAller Iterating DesignerSerializationVisibility.Content collections?
Running the following code to get the property descriptor of ToolStripContainer.ContentPanel results in a descriptor marked with DesignerSerializationVisibility.Content. ToolStripContainer tsc = new ToolStripContainer (); PropertyDescriptorCollection props = TypeDescriptor .GetProperties(tsc); PropertyDescriptor prop = props[ "ContentPanel" ]; Up until now, I've been using IEnumerable to iterate over objects which are marked Designe ...Show All
anasilk Reintroduce Animal: Server always returns a empty list
Hi, we have a TerrariumServer (under W2k3). When a client wants to reintroduce a animal, the server always returns a empty list of animals. I have on the server no errors in the eventlog, and monitoring whith Filemon and Regmon (from sysinternals.com)&nb ...Show All
CalifGirl How to get the object by a string object name?
hi, guys, I think I did this before, but forgot how. For example, we know there is a checkbox named "checkbox29" How to get the contorl object by a string "checkbox29" In asp.net, there is a FindContorl(string), how to do that in a c# win32 app Thanks. This question is specific to Windows Forms. Therefore I'm moving it to the Windows Forms forum where it will help others as wel ...Show All
Justdeserves Selecting A Word Bookmark Text
Here is the issue: I have a word document with a bookmark named "DeliveryNumber" now what I need is to pull the text value of that bookmark, I know it may be easy for some of you but I'm having a hard time here, I have& ...Show All
Yeowser Catching mouse click anywhere on the screen
How is it done I don't think this will be very easy, if possible at all. Capturing the mouse won't work, since clicks will not be captured and will activate other windows. What you might try is using SetWindowsHookEx to capture the mouse messages globally. But I have no experience in doing so as of yet. May I ask you what you are trying to accomplish by capturing those clicks I can only imagi ...Show All
吴培 Big Red X on DataGridView
Hi, I am working on an application that polls servers with BackgroundWorkers for information about the state of application objects. When a background thread has data that needs to be written to the DataTable that is bound to the DataGridView, it calls a delegate and passes the data, and the UI thread updates the data. It's all working rather well except for one problem. If I switch desktops (I'm using the Microsoft Virtual Desktop Manager ...Show All
Shmuelpro How can I change the skin color of my forms and controls w/o thrid party tools?
I know there are third party tools to change the windows forms & controls skin colors. How can I do similar to my forms and controls using visual studio (c++ or c# or vb) I am unable to change the color of menu, toolbar etc. Thanks, Mike, Thanks for the reference. It is a nice starting point. The menubar you can change with Interop: http://www.dotnetrix.co.uk/menus.html The toolbar takes on the backcolor of its parent so long as ...Show All
David Paynter OracleParameterCollection Problem
Hi there, I receive the following message when I run my function that executes an Oracle Stored Procedure: The OracleParameter is already contained by another OracleParameterCollection Does anyone know why this is happenning Below the code I used: Private Overloads Function Oracle_ExecuteProcedure(ByVal ProcedureName As String, ByVal Parms As OracleClient.OracleParameter()) As Integer ...Show All
Ripster Hierarchical DataGridView?
Hello. I have two sample tables: company company_id(pk) name location employee employee_id(pk) &nbs ...Show All
Kuttappan Positioning context menu over datagridview
Hi -- I'm trying to configure my datagridview so that if the user right-clicks on the row header area, a context menu pops up. I do this with the following code: Private Sub dgvResults_CellMouseClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles dgvResults.CellMouseClick If e.ColumnIndex = -1 And e.Button = Windows.Forms.MouseButtons.Right Then cxmnuGrid.Show(dgvResults, N ...Show All
_w_ Object reference not set to an instance of an object Error
I receive the above error when I run my asp.net Application. I can't see where the mistake is and it's driving me nuts. I'm new to this and any pointing in the right direction is greatly appreciated. line 58 throws the error Line 56: &nbs ...Show All
HScottBuck How to generate Thumbnail from non-image files?
I want to generate Thumbnail from non-image files like vedio files, ms office document files, ppt, text file etc. in my application using .net frame work (most probably in C# .net ) Is there there any soln provided by .net for those If not&nbs ...Show All
RobARob Layout and Design Question
I know this might seem very stupid, but I'm on the Adkins diet and can't seem to remember how to tie my own shoes, so bear with me. I was just wondering if there is a control that I can make look like the below: A. Description&n ...Show All
