Answer Questions
Jay Gattani Have a question about TrackBar?
hi, everyone :) in vs.net2005 C#, How to sets the TrackBar Control style and looks like Windows MediaPlayer9 thanks. hellow, Jim, could you give me some samples or source codes thank you first! You can't that I know of. You'd have to implement OwnerDrawing or create your own control. ...Show All
Dave the Developer How to make a property not show up in propertyGrid
I have a control that derives from the TextBox control. It has some additional properties in addition to the ones inherited from the TextBox control. I know that for all public properties, the default value for the browseable attribute is true which means that when you drag a control on to a form, the property will show up in the propertyGrid. My question is how do I turn the browseable attribute to false since I don't want all the propert ...Show All
Nirmalya Windows forms and avalon
How we can place avalon controls in windows form application If you want to host an Avalon control inside of a WinForms application, then you will need to use the ElementHost control. There is currently do designer support for this scenario so you will have to add the ElementHost control and any Avalon controls programmatically to the form at runtime. A code snippet to do this would look something like: using System.Windows.Fo ...Show All
dzhstudios AutoToolboxPopulate not working
Hi One of the great things I liked when beta testing VS 2005 was the AutoToolboxPopulate feature that would populate a special tab in your solution toolbox whenever you create a new Control or Component. The feature seems to still be there (seen it in the Windows Forms Designer UI options tab) but it is not working properly. Whenever I build my app, the controls built in are not showing up in the toolbox. Is it related to the fact that I create ...Show All
pink_flower4love EnableVisualStyles and NotifyIcon bug
When Windows XP visual styles are enabled, if you use ShowDialog() on a form in response to an event raised by clicking on a NotifyIcon or a popup menu from a NotifyIcon, you get a SEHException when the form is closed. Has anyone else noti ...Show All
Allan E update error
Hi I created a simple input form by droping a table from a data source ,and that worked fine untill I decided to change a text box to a combo box. I deleted the text box and droped a combo box from the data source. I now get an"update requires a valid delete command" exeption. I am sure its something simple but as a novice I need help! Thanks ...Show All
Nvc shouldn't this work?
Hi, I'm generating some controls in a for loop... something like this: for(int i=0; i<10; i++) { Panel panel1 = new Panel(); ... } And if I wanted to delete them, shouldn't this work foreach(Control ctl in this.recGroupPanel.Controls) { if(ctl&n ...Show All
albatroz Checking to see if a textbox contains letters
I am trying to validate a textbox. The user can enter in anywhere from zero to three characters in a text box. When the user hits submit on the form, I want to check and make sure they only put numbers into the textbox. &n ...Show All
Bhagvat message box dose not display.
I have a really bad issue. All of a sudden the pcs in my company are no longer displaying c# .net controls. For example the message box or the list box. The box appears however with no text. I have some that do and some that  ...Show All
ivycress Style question
I'm new to .NET Windows Forms development. I'm developing an MDI app (let's call the main MDI parent MyForm) with the standard kind of controls: MainMenu, ToolBar, StatusBar, TreeView, etc. I add all of these controls through Visual Studio t ...Show All
Sunil Hareendran MDI/SDI Design Pattern
Hi, I am new to both this site and the Windows Form programming. I have had extensive experience in MFC programming for MDI and SDI applications. However, the books I read about the .NET programming show simple Windows Forms programs. I would like&n ...Show All
Ronald Cagape datagrid stubbornly displays wrong popup menu
Hallo, I have a datagrid with a customized context menu. It works fine until I left-click into a cell and thereby select the cell. Then everything goes wrong: The cursor changes to a caret, even if the datagrid's locked and/or readonly properties are set, and a standard undo/cut/copy/etc menu pops up. Is there a way to prevent this and show my customized context menu instead I cannot prevent it in the mouse_down event because the mouse_do ...Show All
Smitha Saligrama How to define a folder's read/write access in setup project?
I created a setup.msi in VS2005 which will create several folders during installation. One of the folder c:\program files\MySoftware\Data need to set access right to "Full Access" to all users. How can I do this Any suggestion of using VS setup project or Orca(direct .msi editing) is appreciated. Thanks Kennon, This will need to be done using a custom action in the setup project. Here are articles to ...Show All
ErniePalarca Creation of shortcut in Setup - Help needed
Hi, I am willing to put shortcuts for the primary output of my windows forms project to Users Desktop and Programs menu. The shortcuts works well at the beginning but after third or forth click it calls windows installer and requests the path& ...Show All
rsarosi Font rendering problem (cut-off, spacing)
Hi, I have a very strange behavior on some fonts like Verdana, size 6.75f. Often the labels simply get cut-off and don't draw fully or there is too little spacing between the letters. See this screenshot: http://www.kingvest.de/prob.png Words like "of this" and "of it" appear as "ofthis" and "ofit" although definitely have a space in between ;) Also, in the lower half of the screenshot, the quotes like 422,86 get cut off although the labels are ...Show All
