Answer Questions
Anthony Constantinou Control.Invoke & Delegates in VB
does anyone know how to use the Control.Invoke method i want to fill a treeview from a different thread, so to add the nodes i have to use the Control.Invoke method (or the Control.BeginInvoke / EndInvoke, but that sounds even more complicated) i c ...Show All
deadlycow21 Unable to activate application.
Does anyone know what this error means. It occurs if I try to uninstall tha application or update it. PLATFORM VERSION INFO Windows : 5.2.3790.0 (Win32NT) Common Language Runtime : 2.0.50215.44 System.Deployment.dll : 2.0.50215.44 (beta2.050215-4400) mscorwks.dll : 2.0.50215.44 (beta2.050215-4400) dfdll.dll : 8.0.50215.44 (beta2.050215-4400) &n ...Show All
sdelmas 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 Hi ShadeZero, Here's a link on " How to share custom application configuration settings across projects in .NET " for your reference: http://support.microsoft.com/default.aspx/kb/555396 Besides, before you start with the instructions in the link ab ...Show All
Randy_ contextmenustrip - submenu image margin disbale
I can see how to disable the image margin in a contextmenustrip: ContextMenuStrip1.ShowImageMargin = False but I can't see how to disable the image margin in a submenu!! Any ideas Thanks Seems like this was covered in: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=144369&SiteID=1 ...Show All
Utsawin Sample Code: TreeGridView - collapsing/expanding DataGridView
I've just started a blog and the first main post is a sample that I wrote to customize the DataGridView to support collapsing and expanding. I call it a TreeGridView: http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx Let me know what you think! -mark DataGridView Program Manager Microsoft This post is provided "as-is" Hi Thanks for ...Show All
Payam Shodjai Textbox in ContextMenuStrip
Hello, I have a question regarding the Textbox in the ContextMenuStrip. I want to have it so that when I press the enter key in the textbox, that it will trigger an event, which I will use to load a control and pass it to that control. But how do I recognize the enter key It's actually a ToolStripTextBox, but I figure that is close anyway. Thanks. Can you post the code you've got so far ...Show All
Lgee212 Right Margins in a RichTextBox
Does anybody know how set a right margin in a RichTextBox I'd like to have some space between the right edge of the control and the the text that I'm reading in. I'd appreciate any ideas. Thanks The RichTextBox control has a&nbs ...Show All
lingga Problem with RowChanging event
Hi, if have a DataSet (SQLExpress) whith 2 Tables. On one table I add a RowChanging event handler. When I add a record in a boud datagridview then an exception occures in the handler. (After changing the postion in the DGV the event is fired). Here my handler: void PCs_RowChanging( object sender, DataRowChangeEventArgs e) { if (PCsBindingSource.IsBindingSuspended) { return ; } try { MessageBox .Show(e.Action.ToString()); } catc ...Show All
maheshchinni Looking for a LOGIN form example
In my project I want to add a LOGIN FORM to authenticate users of my application. I am in the search of a model of Login Form and his management. Thank you for your reponses. Load your login form in the Main meth ...Show All
Archan Nair DataViewGrid bug? (keeps auto-generating columns)
When we use the grid, it auto-generates columns for us. At first I thought that was handy. We removed some columns, but they are again re-generated automatically. ITEM TWO We also noticed that the order of the columns is not the same at run time as it is at design time. Note: I am using VSTS Beta 3. Beat regards, Jerry Nixon I find that if I turn "GenerateMember" to false for all the columns, the reordering and generatio ...Show All
kb9agt 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
wobblemonster windows forms controls, windows form inheritance, and custom base form properties. And VB.NET
RE: windows forms controls, windows form inheritance, and custom base form properties. And VB.NET First, I developed a very simple Windows Forms User Control. It inherits from UserControl and all it is, is a banner of several image files....contained in pictu ...Show All
jorge1234567 Could not find InstallState
I add a custom action to the Commit node of Setup project. The custom action is a .dll. But when I execute the install project, it result in an error message at the end of installation: Could not find files 'C:\WinProg\CutomAction.InstallState' Where c:\WinProg is the target folder. How can I do I think that in your install method, you need to use the "statesaver" object and save the o ...Show All
givemeabreak Making my form visible to other classes
Hi, Im writing a program in managed c++ in which there is a class called "World" and a form "Form1" amongst other things. I would like 'World' to have a pointer to my form so it could access properties in that form. So I have declared a static data member in World.h of type Form1 which required me to make a forward declaration of Form1 in World.h. However when my form is created and it tries to pass a reference to itself back to World to hol ...Show All
JDigital007 Using layered windows
Hello, I created a layered window with transparent pixels and I'm using the WM_PAINT message. The problem is I want to update the window's client area (the one layered) a few times a second; but it seems that using layered windows updates that area only once, when it's shown. I've tried sending and posting the WM_PAINT message, but with no result. Can anyone help me I need a code snippet to show me how to update a layered window whenever I ...Show All
