.net 4.0

  1. P

    Question Detecting mouse button down & up events on the system menu of form.

    How do I detect left mouse button down and up events on the 'Close' option of the system menu that appears when the mouse is clicked on the top left corner of a form?
  2. P

    Question Elements of a toolstrip witin an usercontrol get deleted when copying/pasting it.

    I have an usercontrol that contains a toolstrip. The toolstrip is exposed through the usercontrol by a readonly property 'HostStrip' with DesignerSerializationVisibility.Content attribute. In this way we can handle the toolstrip and its contents from the usercontrol. While using the usercontrol...
  3. D

    ImageMan.Net 2012 Introduces new Barcode Addon

    Data Techniques, Inc. Release ImageMan.Net 2012 Introduces new Barcode Addon (support for reading and writing barcodes) Burnsville, NC, October 9, 2012, Data Techniques, Inc., a leading developer of imaging and facsimile development tools, today released ImageMan.Net 2012. New features and...
  4. P

    Question How to use an Items Collection Editor on a custom UserControl (.Net 4, Winforms)?

    I created a UserControl that contains a custom ToolStrip Control. While using the UserControl throughout an application, the ToolStrip control cannot be accessed directly, as logically it's embedded in the UserControl. So, to access the items of the ToolStrip I defined a readonly property in the...
  5. P

    Question Problem in ToolStripComboBoxItem arrow paint (VS.Net 2010, WinForms).

    I am rendering a toolstrip with a CustomRenderer that inherits from ToolStripProfessionalRenderer. The concept is that I want the color of the arrow of the toolstrip items to be white in all cases except selection. When it is selected the color should be black. In my code below all arrows are...
  6. P

    Question Problem in creating numeric textbox (.Net 4.0).

    Hi, I'm trying to create my own numeric textbox that will handle decimal as well as whole number values. The concept is, unlike the regular textbox, this one will accept a value of 'Double' data type and show it with proper formatting e.g. Leading Digits, Digit Grouping etc. When the textbox...
  7. I

    Question Prevent Child Control Redraw when ALT or TAB Key is Pressed

    Hello, I am programming an application in VB.NET that makes use of a custom control (inherited from Windows.Forms.UserControl), which uses its Paint event (or rather MyBase.Paint) to graph mathematical equations that the user can enter. My problem is that, when the user presses the Tab or Alt...
  8. D

    Question Multi Threading with seperate classes

    Hello, I'm trying to dive into what I consider a deeper end of VB.net to see how far I can go with it. I have a project created, ironically called "My First Server". The aim of this is to create a server which can handle multi clients but additionally isn't the commonly shown tutorial setup of...
  9. A

    dataAdapter for all DB?

    Is there any way we could delecare a default dataAdapter to delete,update for all kinds Database(Oracle,Access,Sql) ...? We have declare a oledb.oledbAdapter incase we need oledb databse object .. is there any way we can get default... or can we detect the adapter any how what we need...