Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8530831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:20:41+00:00 2026-06-11T09:20:41+00:00

I have written a small System.Windows.Forms.UserControl , call it userControl1 , that seems to

  • 0

I have written a small System.Windows.Forms.UserControl, call it userControl1, that seems to be working the way I want it to.

From within Visual Studio 2010’s Designer, I can drag userControl1 from the toolbar and drop it on a Windows Form that I will call testForm1. I can wire-up userControl1, and it works as it should.

However, the purpose of userControl1 is to be able to use it in another UserControl, let’s call it userControl2.

From within Visual Studio 2010’s Designer, if I drag userControl1 from the toolbar and drop it onto userControl2, Visual Studio 2010 will crash with no message other than it is restarting.

screenshot

At this same time, an Application Error is logged in Event Viewer with Event ID 1000:

Faulting application name: devenv.exe, version: 10.0.40219.1, time stamp: 0x4d5f2a73
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc00000fd
Fault offset: 0x0965f816
Faulting process id: 0x1580
Faulting application start time: 0x01cd90f84338e443
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
Faulting module path: unknown
Report Id: 49ddcedf-fcf8-11e1-8016-00248103a942

How can I go about trying to debug this error? Should I look at something in userControl1 or userControl2?

A few Notes:

  • 1) I can also drag a userControl2 from the toolbar onto testForm1, and it works (i.e. displays) fine both in the VS2010 Designer and when I run the test app.

  • 2) I have successfully gone into the Designer of userControl2 where I declared and set all of the values for userControl1, but userControl1 will not display on testForm1 when it is run. If I select userControl1 from within the userControl2 Properties window in the VS2010 Designer, Visual Studio will crash.

  • 3) I am happy to post code, if it helps. Would you prefer the code for userControl1 or userControl2? Though both controls are small, there is still a lot of code (particularly since this error is likely occurring in the Designer, so I’d have to post that, too.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:20:42+00:00Added an answer on June 11, 2026 at 9:20 am

    It seems this helped to resolve the issue, so I’m posting it as an answer.

    In order to debug your control when used in Visual Studio designer, run two instances of Visual studio and open your project in both instances. Then, in one of the instances use Attach to process… option and attach to the second instance to debug it (devenv.exe process). This way, you should be able to see what the exception is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a small text game I've written in Java that utilizes System.out.print();
I have written a small .net Windows Forms application. And now I decided to
I have written a small utility to collect system data and output it to
I have written a small chat app that uses mysql + php to facilitate
I have written a small app that puts my bluetooth in discoverable mode for
I have written a small makefile for a few simple C programs that compiles
Background I've written a small C#/.NET 4.0 application that syncs various settings from a
I have a small client/server application, written in C, that needs to authenticate with
I am trying to debug a small operating system I have written in an
I have a small report/logging application written in C#.NET 4.0 and WPF that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.