Answer Questions
Ralph11234 Copying props from a control to another
I`m looking for a clever way to copy a design from a control to other controls. I`ve written a button control with a LOT of options for the design: Color, gradient, hatch, border, buttonstates etc..etc.. What I want to be able to do is edit ONE ...Show All
.blogspot.com SmartClient / WebService access thru a Proxy Server
SmartClient / WebService access thru a Proxy Server I have some clients using a Proxy Server, and the smart-client is blocked from accessing the web-services. I understand there is .config file code to specify the specific proxy server address for a given client - for example: < system.net > < defaultProxy > < proxy usesystemdefault = "false" &nb ...Show All
Dave Kairys is there an api to get the mac address of a machine
hi, i m making a customized setup package, to improve the security, i am planning to adhere the key with the mac address. is there an api to extract the mac add. as much as i know it's the only variable which is different in al ...Show All
Arnar Vilhj&#225;lmsson Custom Button on PropertyGrid
I'd like to have an additional button on the PropertyGrid and remove the PropertyPages button. I know that you can add a PropertyTab to it, but that seems to anticipate that a completely different set of properties will be displayed when the user clicks on this. I just want to have a button appear there, and to be notified when this button is clicked. But how Actually it's not too hard. Just add a toolstrip wi ...Show All
Bob Swanz Build of project reloads User Controls in Toolbox every time.
Hi, I have noticed that the toolbox in VS 2005 contains a tab for every projects in my solution that contains a component derived class. During builds of the solutions each of these tabs are being refreshed / rebuild and it can take a little time. Is there anyway of stopping this refresh, or is it a matter of removing the tab from the toolbox Maybe this is a bug that has been fixed post Beta 2 Thanks for your help Graham ...Show All
BobIves percent
can't we use a percentage as width/height value for controls (and for fonts) and if not what is the solution to get the same screen for 800 x 640 , 1032 x 764, 1600 x ..... and so on not depending on the screen size ...Show All
dibzee How to remove the first column from datagridview?
Sorry if this is a dumb question, I'm just learning. The first column on my datagridview simply shows an arrow beside the currently selected row. I don't really want this column there, but I can't seem to find any way to disable it. How can I turn it off Thanks. The documentation has a lot of help for this. Check out the RowHeadersVisible property. -mark DataGridView Program Manager Micros ...Show All
Sachin Shinde Application.EnableVisualStyles()
Dear All, I have developed an application in windows2000 where i include Application.EnableVisualStyles(); in C#. But the icons on the buttons of the toolbar doesnt appear in WindowsXP when this line is included.But it works in other OS such as WindowsServer2003 When that line (Application.EnableVisualStyles()) is commented icons are appearing in WindowsXP Any help is appreciated Thanks ...Show All
ieatskunk Menu Items -Click event
Dear All, I have created a help file say myhelp.chm seperately I want to display this help file by clicking a menu item Basically what i want to know is how to open an external file by clicking a menu item Any help is appreciated Thanks To excute external commands (like the 'Run' on the start menu) use the following code: /// <summary> /// Excute shell command without arguments /// ...Show All
Tunes How do I emulate a PostOpen event in a Windows Forms
I would like do to some processing to automatically fill a treeview after the form displays in a MDI application. I tried to use a timer event but had difficulties when multiple instances of the form were opened. What is the ...Show All
nidionys Graphics question
Ok my problem is with Graphics class //------------------------------------------------------------------------------------------------ private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; g.DrawLine(new Pen(Color.Black), new Point(30, 30), new Point(30, 100)); g.Dispose(); } you see i declare Graphics g=e.Graphics where 'e' is the PaintEventArgs and then draw a line //--------------- ...Show All
Pooja Jain Question about TreeNode and font style changing
Hi all, I'm changing the font for a TreeNode to Bold on DoubleClick (to show the selected node). The problem is that the node label is only shown in the original bounds, so the text gets cut off at the end. Isn't there any other way than for me to re-compute the bounds for the new label size (as bold text is wider than normal one). Code: if (null != nodeSelectedProject) &nb ...Show All
kissinger Adding text to a Cell Programmatically
I have code that will add text to a datagrid column through code. However when I do that, the text will display in the column but it will not enter "Edit" mode and give me another new row. So if you don't type in  ...Show All
M Noreen regarding adding controls to panels
when i dragged the splitter control on to the windows form, it created two panels for me now what i want is The left panel which has less width has tree view control and the right panel contains some other controls when i click on one of the nodes of tree view, the contents on the (right panel)other side of the splitter should change. eg, when i click on show grid node, the other panel should display a grid and when i click on rep ...Show All
xp Button shortcuts disappear
Hi All, I have a Windows program written in C# using VS2003. The program has several dialog forms with 4, 5 buttons on each form. And I have an ampersant (&) infront of each character for the shortcut. (&Ok, &Cancel, i.e.). The weird thing is that the shortcuts (the underline character ' _') do not appear on the button until after I press the ALT key once. After the ALT is pressed once, the shortcuts will appear on each but ...Show All
