Answer Questions
Bob Briggs Password character?
Hello! Which character in which font is it Windows XP uses as the password character for the login password textbox (as I would like to use the same) Best regards, Henrik Dahl If you are using .NET 1.0/1.1 you cause Windows to use the same character by using the ES_PASSWORD style, I have written a blog entry about it here: http://davidkean.net/archive/2004/09/06/150.aspx If you are using .NET 2.0 you can si ...Show All
Chung Ho Lee Applications Settings shared between projects
I have a VB solution with two projects in it. How can I access the settings of the second project from the first Thanks... ShadeZero The article you referenced appeared to be about .NET 1.1 but I'm using 2.0 and the configuration files mentioned in the article do not appear the same as what was created for me using vb.net 2.0's project settings.The article mentions <appSettings> but in my ...Show All
Yakoob Run-time,design-time component
I am interested in dividing my components into run-time and design-time components. I want to do this so that code I only need for design time is not included in the run-time component, which is shipped to an end-user. The design time component ...Show All
EgorKDie Different minimize, maximixe/restore down, and close buttons
I've seen in some applications that they do not use the default windows buttons eg. Msn explorer. I would like to know how to do this, thank you. this.Text = ""; Here is some code I use to make a completely blank ...Show All
smnirven ListView-Which event is called next
i m stuck in a problem and want to know which event is called immediately next to AfterLabelEdit( object sender, LabelEditEventArgs e) I want to write listview.LabelEdit=false when the AfterLabelEdit has finished processing. This question is better suited for the Windows Forms forum. Please reserve the C# Language forum for questions specifically related to the C# language. I'm moving the ...Show All
Netasia Truely Automatic Updates?
Is there any way you can install updates with no user interaction using ClickOnce It would really help me out of a jam if there was. Just keep in mind that it is automatic on their end, but not your end. Click on the "Updates" button, and check the box next to "Specify a minimum required version for this application". Set this version to the number about to be published, and then publish ...Show All
jader3rd BindingSource.Find throws exception on empty DataSet
I have a problem with a bindindingSource very similar to the problem reported here but I've tried the solution outlined (explicitly setting the bindingSource's DataSource before the call to Find) but it doesn't help me (the DataSources for my BindingSources are correct) - so there's no chance for the DataSources to get set incorrectly. My situation is slightly different because I'm adding the BindingSources from the toolbox (not by ...Show All
Egil Hansen131755 App.Config returning null values in Windows Services but returns right values in Windows Application.
Hi All, I have created an Windows Service where I am using App.Config for global variables. But, it is always returning null values ( string xyz=ConfigurationSettings.AppSettings["abc"]) for all the variables I have declared in App.Config. (But the same thing if I am doing as a Windows Application then it's returning the right values.) Interestingly, this same Windows Service is working properly in another machine but not ...Show All
johanp Validate a cell in a datagrid before losing focus from that cell ?
I have a datagrid and would like to know what event fires when a cell is changed I want to validate the data entered before going to the next cell. How can I do this I am looking for something similar to the lost focus event if it exists. Thanks, Prasad try this, CurrentCellChanged event. ...Show All
APMaio a control that looks like VS.NET toolbox
How can i create this kind of control Or where kan i buy it I have tried to make something that looks like the Visual Studio toolbox. But i cant get it right! Please help! I don't know of any commercial controls, b ...Show All
Smoc ZOrder of dropped control incorrect?
I'm using VS 2005 Beta 2, and I've built a usercontrol that consists of 2 other user controls as the 'default base'. The problem is when a user drops a control in my container control, it goes BEHIND the background image control! I can manually correct this by doing a "Bring to Front" to the newly placed control, but I need it to automatically be on top, and not allow the user to move it behind the main graphic control. Any ideas or ...Show All
cjpa15 Drawstring Font size
Using the Drawstring function, you can limit the text that is drawn to a rectangle, including word wrap, elipsis, centering, etc. The question I have - is there a way that given a rectangle, determine the largest font size to be used that will fit in the rectangle. If it were only 1 line of text, I could simply check the width of the text compared to the width of the rectangle, and same with the height. But if the rectangle is b ...Show All
R. Kendall mouse click ?
how can i program the mouse to perform a click wherever the cursor is resting after a few seconds or so thanks. ...Show All
benwestgarth Controls within a User Control not "stateful"
Hello, First off, I hope that stateful is the correct word for what I'm trying to describe! I'm working on a user control (control A) that contains many controls within it (textboxes, a radio button, listboxes, comboboxes and a button - as well as a whack of labels). During a stage in the application, the form that contains the user control (form A, just say) is hidden when another form (form B) appears, and it can be re-dislayed by closing the ...Show All
FilippoPPoppiliF How to Change the backcolor of one Row in DataGrid
I use .net 1.1 and C# 2003. I need change the backcolor of one row in datagrid about specific value after databinding. And I can't find any articles from the internet. Could anyone help me I've read that post.But how can I override the method MyBase.Paint I'm in C#. Check out this post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=42551 -mark Program Manager Microsoft This post is provided "as-is" ...Show All
