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 6827709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:17:50+00:00 2026-05-26T22:17:50+00:00

I created a forms application and placed a tab control on it. In the

  • 0

I created a forms application and placed a tab control on it. In the same project I added a UserControl with all the controls one tab would need. I then placed this UserControl on the second tab of the tab control.

Now, when I open the designer to modify the forms application it loads OK (although it takes longer than usual) but when I select the second tab MSVS just freezes, says it’s encountered an error, and restarts (most times). Once I was given the option to “debug”.

I clicked the “debug” button which opened a new MVS 2005 window and displayed: “Unhandled exception at 0x10d84c12 in devenv.exe: 0xC0000005: Access violation reading location 0x00000000.”

No idea what is going on… 🙁 Tried restart but didn’t work.

Any help would be greatly appreciated!

  • 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-05-26T22:17:50+00:00Added an answer on May 26, 2026 at 10:17 pm

    This would probably happen if your control ends up executing unmanaged code.

    Make sure that the control’s source code doesn’t do anything if DesignMode is true.

    It might also happen if you use ActiveX controls; try removing them in code if the control is in design mode.
    You can do that in the Load handler:

    if (DesignMode)
        somePanel.Remove(someControl);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created two forms in my Windows Application. One Form acts as a
I have created a forms application which uses a TabControl. For each tab I
I created an application with two forms. First one is the main form and
Suppose an application with some forms and only one data module are created at
I have created a Windows Forms application in .NET 2 using C# that runs
I created a VB.NET Windows Forms Application in Visual Studio 2008. When I run
I have a C# Windows Forms application, whose prototype was created on SQL Server
I have created a User Control in my application that has a textbox and
I have created a UserControl using a DevExpress XtraTreeList. Basically in this user control
I created a form application with 1 button and 1 text box to see

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.