-
- How to hide "greyed" properties in Properties explorer
by Aleksey Nagoga.
- 4 Replies
- Last post
by Aleksey Nagoga.
- Hi, All
I have a custom class that inherits from the RichTextBox control. When I drag and drop it on a form, in the Property explorer I see all the normal RichTextBox properties, my custom properties and many greyed (Read Only) properties that are not displayed if I drag&drop the actual RichTextBox control on the same form. I know that these are the properties that are either marked as
-
- Cursor disappears upon tabbing into WebBrowser control
by Steve_3894823
- 4 Replies
- Last post
by Steve_3894823
- This is a very simplified example to demostrate a problem in a more complex application:
A Windows form contains only a WebBrowser control, showing an HTML page that contains only a text input control. When the form runs, the cursor does not appear until you push the tab key (or click the input control with the mouse). As you continue pushing the tab key, the cursor disappears, then reappea
-
- private static methods vs private non-static methods?
by tdcntt
- 3 Replies
- Last post
by nobugz
- Could someone please tell the difference between private static methods and private non-static methods. I know that a static method is created only once per class rather than in every object based on that class, and we can access a public static class member without creating an instance of the class. However, I am not quite sure when we should use private static methods.
Thanks.
-
- Toggle ToolStripSplitButton
by ron2464
- 3 Replies
- Last post
by Dav? S. A???????
- Hi,
How can I create a ToolStripSplitButton that I can toggle (similar
behaviour to the ToolStripButton)
Sample or hint would be much appreciated.
Regards,
Ron2464.
-
- DataSet Generation problems
by Manny33
- 1 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I have 5 data sets in a class library I'm craeting. One of those five datasets doesn't compile the table adapters, funny thing is that the same one doesn't have the little database icon next to the dataset icon in the solution explorer. Can somebody tell me what thet connection between the both of them are Image example: http://img442.imageshack.us/img442/1975/datasetszi0.jpg
-
- UserControl accept only certain controls
by jan_bp
- 3 Replies
- Last post
by efbiaiinzinz
- Hi,
I've created an usercontrol and want to prevent certain controls to be dragged onto it at design time. How would I achieve this
Thank you in advance
-
- Running Windows forms application from Batch File and displaying output to the DOS window
by DeborahK
- 5 Replies
- Last post
by DeborahK
- In one scenario - I run my application from a batch file that the user can run "as needed" or it can be set up to run as a scheduled job.
I would like my application to output any messages to the DOS window so that the user can see them when they run "as needed". But I cannot figure out how to do this.
All googling seems to show how to call a batch file fr
-
- Internal Error in ToolStrip
by Chavdar Angelov
- 4 Replies
- Last post
by Chavdar Angelov
- System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.Windows.Forms.ToolStripItemCollection.get_Item(Int32 index)
at System.Windows.Forms.ToolStrip.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(P
-
- daylight savings time patch 2007
by saintsfan1
- 1 Replies
- Last post
by Gavin Jin - MSFT
- ive looked all over the MS site and cannot find the patch for win2k daylight savings time - i have found the one for winxp
and im not looking for some TZedit app, i need the patch that resolves the issue like the WindowsXP-KB931836-x86-ENU.exe that is used for winxp
-
- Custom DataGridViewColumnHeaderCell and Row Sharing issues.
by tracstarr
- 3 Replies
- Last post
by tracstarr
- So I'm trying to create a custom header cell that has a dropdown listbox of choices for the "title" of that column. However, I'm having some issues with what i'm guesses is row sharing. When i set the source for the dropdown I want to be able to make it a unique list for each column of that type i add to a datagridview. However, as it stands it seems to share the information between colu
-
- Bind datagridview to object datasource as ASP.nET?
by Luis Esteban Valencia Mu&a
- 2 Replies
- Last post
by Shah Sahil
- Hello, I am an expert on asp.net but new to winforms. I want to create a class library with functions for deleting, inserting, updating and viewing data on a table.
and I want to bind the datagridview to that class library, it appers on the datagridview datasource property, but the datagridview doesnt fill! I need help please.
Any one knows a tutotial of winforms and object datasources
t
-
- VS2005 CryptographicException when adding SqlDataAdapter
by ZaijiaN
- 0 Replies
- Last post
by ZaijiaN
-
- MustInherit
by hrubesh
- 7 Replies
- Last post
by MatthieuMEZIL
- 'Hi i have class a,b as follows:
Public MustInherit Class a
Inherits UserControl
Public MustOverride Sub y()
Sub x()
End Sub
End Class
Public Class b
Inherits a
Public Overrides Sub y()
End Sub
End Class
'I get the foll. error when trying to open b in design view:
'Warning 1 The designer must create an instance of typ
-
- Expanding TreeView Control Options
by Fex
- 4 Replies
- Last post
by Fex
- Ideally, I would like to make use of a TreeView control to display information to a user (and allow it to be edited) in the format below.
(root0) -- Name -- Feature -- Value1 -- Value2
| |------------- Feature -- Value1 -- Value2
| |------------- Feature -- Value1 -- Value2
|
(root1) -- Name -- Feature -- Value1 -- Value2
| |------------- Feature -- Value1 -- Value2
-
- ClickOnce: Do something before the start of the application
by blood_on_ice
- 0 Replies
- Last post
by blood_on_ice
- Hy, Is it possible to do something like copy a file from the DATA-Dir to the Application-Dir, before the application starts So, when I click on the shortcut, the application should check for updates, install the updates if required, then copy my config-file from the DATA-dir to the Application-Dir and then starts the app...is this possible I can't copy the file after starting my exe, i have to co
-
- datagridview and selective formating
by doener
- 7 Replies
- Last post
by IronBrad
- Hi Guys,
First Question:
I am trying to somehow to access any one cell in a datagridview What i want is when i right click on the cell i wanta pop a pop-up where i can enter some values which on pressing the butten in the pop up will appear in the cell i selected using the rightclick.
Any idea how i can do it
Second question:
I display some items declared in a structure in a data gr
-
- Flickering Panel
by Mr.RockHardly
- 5 Replies
- Last post
by PTR
- I inherited from a panel and set the Control Styles but I am still getting flicker when the directx device renders to it. This is how your supposed to do it right
public BufferedPanel()
{
InitializeComponent();
this .SetStyle(ControlStyles.UserPaint | ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint, true );
}
-
- Keys Enumeration for ">" or "." at letter's part
by AlexDav
- 2 Replies
- Last post
by AlexDav
- Keys .Decimal is for numeric part.
Help me, please.
-
- Implement a Progress Bar with a DataSet using VB.NET
by nbk5533
- 9 Replies
- Last post
by nbk5533
- I'm looking to see if anyone has code that would display the Progress Bar when loading data to a DataSet from a Database. The progress bar doesn't run until after the DataSet is loaded. I've made an attempt to create write the code that would allow to look each Record that is being added but the code still fails to update the Progress Bar accurately.
Much appreciated,
Wallace
-
- Designer wont save property on overridden datagridviewcolumn
by LS6FD
- 0 Replies
- Last post
by LS6FD
- I've overridden a datagridviewtextboxcolumn and the cell it is using. I have created a property for my custom column that will show up in the designer but when I change its value through the designer it will revert back to the default property value. I can set the property manually through code and it will work.
I have tried this by both by 1) storing the private variable itself in the overrid
-
- Graphics.RotateTransform() question
by ealan
- 4 Replies
- Last post
by nobugz
- I am still working on the Monopoly game. Thanks to the suggestions here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1780995&SiteID=1 I changed my Paint Event handler to the OnPaint method. The OnPaint method looks like this: protected override void OnPaint(PaintEventArgs e) { //base.OnPaint(e); SolidBrush bannerBrush = new SolidBrush(bannerColor); So
-
- options to messagebox
by refaeldakar
- 3 Replies
- Last post
by refaeldakar
- hello, is there a way to make only a part of the string in the messagebox body bold or different font thanks
-
- Install Managed Application on Clientside
by Sumit_Parkhani
- 3 Replies
- Last post
by Kunal Mahajan MS
- Hi,
I have a Managed Application, working fine on mine system. I want to install it on the clients machine .Can I include any libraries or Dlls related to .Net Framework so that my application runs on client side
If it can be done, how Any suggestions would be helpful.
Thanks
-
- DGV and MouseWheel event
by mEErEck
- 5 Replies
- Last post
by Ting Wang - MSFT
- Hello,
I am trying to implement a MouseWheel event of a DGV and I found following issue:
If a cell is focused and is not in edit mode, the event is called once.
If a cell is in edit mode and I scroll a mouse wheel, the event is called twice (which causes a problem for me).
Has anyone met the same symptoms and does any1 have a solution
thank you
-
- Updating public value via pop-up dialog
by .net sukbir
- 14 Replies
- Last post
by BonnieB
- Dear All,
I have declared a public variable in my main form. Then upon pop-up dialog I want to be able to see the public value and update in the pop-up and later the update should be able to be seen in my main form. How to do it ya