Answer Questions
Sunny in Toronto Can't adding Common Application Data Folder to Setup project
In File System Editor of an Setup project it is not possible to add the special folder CommonAppDataFolder. I have a access database file in my project that should be installed once for all users. So I want to put it in the application data folder off all users. Any idea how I could do this Thanks. Jo The directory exists on machines already. You can change permissions through code using custom actions, ...Show All
jeevan rekha ToolStripContainer Color
Greetings, I am attempting to use a ToolStripContainer to host a ToolStrip, and want to change the colors of both the ToolStrip and the ToolStripContainer. I have been able to change the color of the ToolStrip (as directed in this article), but I'm failing to change the ToolStripContainer. I've tried such things as setting: toolStripContainer.TopToolStripPanel.Render = new ToolStripProfessionalRenderer(new TanColorTable()); Is it possi ...Show All
crazydiamond DateTimePicker column
Does anyone know if Microsoft will be including a DateTimePicker column in the DataGridView (for underlying date values) The current article says "TextBox, Image, CheckBox, ComboBox, Link, and Button column and cell types" will be included. I'm hoping ...Show All
vtr_ajr usercontrol with a combo databinding problem
Hi all I'm a new winforms developer, but I've been using .net for a few years doing web development. I recently made a usercontrol, a combo box pre-filled with state codes and state names, which uses a collection class. My test app has a datagrid that when clicked, pops up a detail form for edit of the clicked record. The main form exposes it's dataset, and the child form gets passed the currency manager and dataset for e ...Show All
Daveyc fix column width in datagrid
Hi All, I want to know how to fix column width in a datagrid. I have already looked at www.syncfusion.com (Windows FAQ by George Shepherd) but it does not seem to address this issue. Any help would be greatly appreciated. cheers, Raiden ...Show All
zbo Environment.SpecialFolder Enumeration
Dear All Is there a way to obtain the ist all the files in the Fonts folder There is no enumerated constants in Environment.SpecialFolder Enumeration to the Fonts folder Any help is appreciated Thanks Thanks for your attention But this doesnt work as Fonts folder is not with in system32 but it is inside WINNT The above code returns ----> C:\WINNT\system32\Fonts What I want is --->C:\WINNT\Fon ...Show All
BertBeck EM_GETLINE
Hmm.. does anyone have a working example of using the message EM_GETLINE from C# using SendMessage I found its code is 0x00C4. I just cant get it working right.. I know the first char of the wParam should hold the capacity of the buffer and lParam should be the row number.. but I just cant get it right .. Thanks! :) Thanks, I see now where was my problem .. I added ref keyword to an already referenced type ...Show All
MCastellanos Application Error Help Needed
Please help me how to fix this error. When i'm open about 10 MDI window then open a new MDI window and cause this error and then application crash. Invalid parameter used. Stack Trace: at System.Drawing.Graphics.GetHdc() at System.Windows.Forms.I ...Show All
mcmcom Problems Installing Terrarium Server
Hey Guys, I have been in the process of setting up a Terrarium Server for my school. I was able to get the whole thing installed on a fresh copy of Windows 2k3 Standard and with SQL Server Enterprise Running. Now  ...Show All
Jherek hide column in datagrid
how do i hide a column in datagrid.I have used the datagridtablestyle collection however the code does not seem to workcould you help me out with the same please. thanks, Supriya The best you can do is set the width of a column to 0. -mark Program Manager Microsoft This post is provided "as-is" Hi, I am not using a datagridView control.I am using Datagrid control.So theres no columns collection in Datagrid ...Show All
Byapti1 Handling differents screen resolution
I would like to develop an application in Visual Basic .NET whose windows forms can fit perfectly in differents screen resolution without user's intervention. How can I handle that Thanks in advance, Joanna. This is impossible. Or if it isn't, I am 98% certain it will not make you happy. It is hard to say how large windows your users will want to have (full-screen is not very popular, and if I install an application, that goes up in full ...Show All
Flashx A Server program have to work as a Client and Server program based on a condition
Hi Friends, I have a requirement which demands, a Server program to work as a Client and Server program based on a condition. Scenario: Client make a request to Server1, based on a condition this Server1 should not process this request, it has to si ...Show All
Toper How can Implement a string Collection Editor in a property Grid
Hi I have done some reserch how to implement the above,however I get lost in more complex examples I have found in codeproject and so on. What I want to do is when showing my propertyGrid I want to have the ability to have a collection editor of strings. For example sake lets say I want to have a collection of car Models. THe problem i have is that i see the collection editor but when I press Add I get "Constructor on type system.string not f ...Show All
dev_kh Inherite System.Windows.Forms.TreeView
I wrote this class public class RTLTreeView : System.Windows.Forms.TreeView { const int WS_EX_LAYOUTRTL = 0x400000; private bool _mirrored= false ; [Description("Change to the right-to-left layout."),DefaultValue( false ), Localizable( true ),Category("Appearance"),Browsable( true )] public bool Mirrored { get { return _mirrored; } ...Show All
Count Zero Is memory released with out un-registering event handlers?
Hi, I have a C# windows form with several controls. I have several handlers registered for several events. The code looks similar to: myBT.Click += new System.EventHandler(...) 1. When the form is disposed or closed, is the form memory released for the handle ...Show All
