Skip to content

Windows Forms

Desktop and Windows Forms development

This category can be followed from the open social web via the handle windows-forms@forum.codeproject.com

2.1k Topics 7.1k Posts
  • how to create MDI form in c#.net with menus

    csharp tutorial
    2
    0 Votes
    2 Posts
    0 Views
    A
    See here[^]. Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
  • Drag and move a button anywhere on the form

    learning
    8
    0 Votes
    8 Posts
    0 Views
    M
    I wonder why someone univoted you for the example code. Never underestimate the power of human stupidity RAH
  • External Program Stack Trace/Command Line

    data-structures debugging tools tutorial
    2
    0 Votes
    2 Posts
    0 Views
    D
    Not easy at all and you can't write it in managed code. This requires you to write, what is essentially, a debugger. It also requires you have a thorough knowledge of Windows internals and how processes really work. No, I don't have any references for this stuff. A guide to posting questions on CodeProject[^] Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic      2006, 2007, 2008 But no longer in 2009...
  • image

    database tutorial
    6
    0 Votes
    6 Posts
    0 Views
    J
    That's going to be removed in future versions of SQL server.
  • title bar+C#

    csharp question
    3
    0 Votes
    3 Posts
    0 Views
    _
    using WndProc: protected override void WndProc(ref Message m) { const int WM_CONTEXTMENU = 0x007B; if (m.Msg == WM\_CONTEXTMENU) { this.Dlg\_Menu.Show(Cursor.Position.X, Cursor.Position.Y); return; } base.WndProc(ref m); } See my stuff on: <img src="http://www.gstatic.com/codesite/ph/images/code\_small.png" />
  • My endless loop blocks my GUI !!

    c++ help csharp winforms sysadmin
    11
    0 Votes
    11 Posts
    0 Views
    V
    Yes Sir !!! :-D
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Crystal Reports

    learning
    4
    0 Votes
    4 Posts
    0 Views
    M
    Might I humbly suggest that you have made a grave mistake in selecting CR as your reporting platform. If you have any choice in the matter I would suggest you do some research on the product and more importantly their support. It is abysmal. Dev Express and Reporting Services have a better reputation and there are a few others that will be a better option than CR. Never underestimate the power of human stupidity RAH
  • 0 Votes
    3 Posts
    0 Views
    C
    BCG or DevExpress. I think BCG is better.
  • saving image to a folder

    4
    0 Votes
    4 Posts
    0 Views
    D
    you can use the fileupload control which is available in the standard control tool If You Get your answer then please Rating me... Thanks.. "Are You Ready" DX-ARMY
  • Showing child menu instead of MDI Parent menu in vb.net

    csharp tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    W
    The only way I can think of doing this, is by creating a local variable on your child forms, which exposes your parent form in the child. i.e. Private ParentForm as frmParent. You can pass this info through the constructor of your child form, and in the constructor set this variable like this Public Sub New(ByVal Parent As frmParent) ' This call is required by the Windows Form Designer. InitializeComponent() myParent = Parent ' Add any initialization after the InitializeComponent() call. End Sub Then in your FormLoad event you can set the menustripitems.visible on the parent to false. like this myParent.MenuStrip1.Items(0).Visible = False myParent.MenuStrip1.Items(1).Visible = False Not forgetting to set visible to true in your FromClosing Event. Hope this helps
  • Editable Print Preview

    csharp visual-studio question
    3
    0 Votes
    3 Posts
    0 Views
    M
    You would need to build your own, editable print preview does not make sense, what are you going to edit, it is REPORT data not interactive. Never underestimate the power of human stupidity RAH
  • 0 Votes
    6 Posts
    0 Views
    M
    hi, unfortunately I should say no! I just have the export choice.
  • Help

    csharp help tutorial question
    4
    0 Votes
    4 Posts
    0 Views
    R
    Here is one,but not on CodeProject[^] Yonathan1111 wrote: thank you You are welcome. Opacity, the new Transparency.
  • win form

    tutorial
    4
    0 Votes
    4 Posts
    0 Views
    R
    Before "frm.Show();", add "this.Hide();" Unless you are looking for a modal window that blocks the old window,then I think you change "frm.Show();" to "frm.ShowModal();" Opacity, the new Transparency.
  • Create and send a email in .net 3.5

    help csharp tutorial learning
    3
    0 Votes
    3 Posts
    0 Views
    S
    Please don't cross-post to multiple forums. It usually won't help you get an answer any faster and only makes it harder for other people who have a similar question to find an answer. This message is cross-posted to the following forums: C# (Forum)[^] ASP.NET (Forum)[^] Windows Forms (Forum)[^] .NET Framework (Forum)[^] Scott Dorman Microsoft® MVP - Visual C# | MCPD President - Tampa Bay IASA [Blog][Articles][Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
  • 0 Votes
    6 Posts
    0 Views
    L
    Looks good, doesn't seem to be a problem with the code. It was on a specific machine? Could there be another application running that's using the same port as SQL Express? You might want to try to connect over IP, using the default port-settings. If it helps, we'll have a clue where to look next :) I are Troll :suss:
  • Authenticating Active Directory

    help windows-admin
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • desktop application

    csharp tutorial asp-net help
    5
    0 Votes
    5 Posts
    0 Views
    M
    can u suggest some books based on win applications
  • Creating an interface UI in windows forms

    winforms com design tutorial question
    3
    0 Votes
    3 Posts
    0 Views
    B
    Try Windows Presentation Foundation.