Answer Questions
John Fiala Problematic textbox - anchoring issues
This problem just came suddenly. Everything was working fine, but now the textbox gets 98 pixels added to its Y axis everytime the solution is rebuilt. The same thing happens with any other control. It is placed inside a panel which is docked&n ...Show All
Jani Pewter missing .DLL file, MSCOREE.DLL
i finally installed the .net terrarium 1.2 when i click on the .net terrarium 1.2 launch system it gave me a message of a missing a required .DLL file, MSCOREE.DLL, was not found how can i get this file to play .net terrarium 1.2 ...Show All
Gary J Setup for apps written with vb 2k5 express
Hello Can I download an msi package creator such as that included in vs 2005 prof Or are there any other softwares for creating setups Thx The Setup projects in Professional are not available for VBExpress. You can check out http://www.installsite.org for information on other Windows Installer tools. ...Show All
Devo-2K Cancelling the Validating event
Hi, I have an MDI app that opens an MdiChild form where I have some TextBoxes and I run some Validating logic. I use the ErrorProvider control and the Event Validating over the TextBoxes. It all works fine, except that 'while' I still don& ...Show All
Yuri55 MainMenu BackColor
I've noticed that the MainMenu control does not have a backcolor property, nor does it take the colour of the form. For instance, change your forms backcolor property to green. Then add MainMenu1 to your form, and run the app. The menu doesn't ...Show All
SQL Pro comparing control types
i need to interate through all the controls on a form and perform specific funtions to a specific control type like a TextBox. i know how ot iterate the controls on a form, but how do i do the actual comparison thanks! ...Show All
Storm Devil Error when trying to access Form components
Hi, I am developing an windows application in C#. I have encountered problems when trying to access the form and the controls from the code. I get the error message: 'FactoryMethod.Form1.rtbCodeBody' denotes a 'field' where a 'class' was expected I don't kno ...Show All
danparker276 starting and stopping sound
Hi, I am using framework1.1 I want to play a wav file repeatedly and then stop it after some period of time. Right now I have this [DllImport( "winmm.dll" )] public static extern bool PlaySound( string filename, long hmodule, int dword ); PlaySound( @"1.wav" ,0,0x0001|0x00020000); This only plays the sound once and then stops. Is there any way of continouosly playing the file and then stopping it without using a loop Thanks ...Show All
G.Peters Max Control Size Restriction?
I am creating a custom class inherited from the System:Windows:Forms:Control class. I am running it to this issue that I cannot set the this->size attribute to larger than 32767. Every time I do, it reverts back 32767. The documentation for the size class states that the size class contains Int32's (maxsize 2,147,483,647) but in this case it looks like an Int16. Does anyone know of a way to force this to an Int32 so that I may have a la ...Show All
cashfoley Multiple Selection in DataGrid?
hi, I am a new programmer in C#. I have 2 questions. Question 1: I been working with datagrids. I have encountered a problem. I need to select multiple cells by dragging the mouse to form a rectangle to select the cells much like the funct ...Show All
Paolo Arrigoni MDIContainer
I have MDI Form, I want to add Panel control to the MDIParent. The problem is when I open MDI child, it always come behind the Panel in the MDIParent. so if the panel is docked FILL then I never see the MDIChild Any Solution I am also having doubts about the Splitter control being replaced by the SplitContainer control. While it is so much easier to use the container in a regular form, when you're talking about a scenario lik ...Show All
Chris Haas Calculate Width of a String in Pixels
hallo, Given a Font and a string, is there any ready-to-use function in .NET which can compute the resulting width of the string in pixels So that I can adapt say a Label, MenuItem or Textbox to the new size of a string. thx, Steve ...Show All
Mike Torres Custom TreeView
Hi I'm trying to create a custom TreeView using C#. What I want to do is to paint the background of the TreeView with fill gradient colors. The problem is, even when I override the OnPaint event, the control still has the white, original, ...Show All
Wesley Wong Please Help !!!
How can I tell when a form is in design mode Please Help !! -Andy Moyer grab the process name using, I think its System.Environment, or actually System.Diagnostics.Process.CurrentProcess and see what name it has, or maybe if System.Windows.F ...Show All
jony DataGridView Scrollbar bug
If you have columns which extend beyond the DataGridView window, the horizontal scrollbar is never displayed. The vertical scrollbar displays, but the horizontal bar never displays. I've tried with the scrollbar settings set multiple ways. Is this something I'm doing or is this a known defect Jeff Same here. please let me know if you or anyone has a solution. thanks. ...Show All
