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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:09:28+00:00 2026-05-28T20:09:28+00:00

I have a project in Visual Studio 2010 (converted from 2008), and I have

  • 0

I have a project in Visual Studio 2010 (converted from 2008), and I have created a User control, like this:

namespace Common.Controls 
{
    public partial class Panel_BaseMap : UserControl 
    {
        public Panel_BaseMap()
        {
            //Some properties initialization here, just like = new X();
            InitializeComponent();
        }

        private void BaseMapPanel_Load(object sender, EventArgs e) {
            //Here, a new Thread is initialized and started.
        }
    }
}

I don’t have any problem with this, it is opened in Design Mode without any problem. But I have created a new UserControl that extends to the first one, like this:

using Common.Controls;
namespace BC.controls 
{
    public partial class MapPanel : Panel_BaseMap 
    {
        public MapPanel()
        {
            InitializeComponent();
        }
    }
}

Well, in the very moment I try to open this new control on design mode, Visual Studio gets totally blocked, and I have to force it to close because it doesn’t respond. I have tried many things, like for example:

public MapPanel()
{
    if (!this.DesignMode)
        InitializeComponent();
}

Still blocked. I have opened a second instance of Visual Studio, then on the first one “Debug –> Attach to process –> devenv” and I have put a breakpoint on the Load method and on both constructors on the second instance. The result: both instances totally blocked.

Can anyone help me, please?

Thank you very much in advance!

  • 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-28T20:09:29+00:00Added an answer on May 28, 2026 at 8:09 pm

    Ok I’ve found the problem.

    Some code was executed by the designer, and that code crashed the application. It was inside a try-catch, and inside the catch I logged the error with a method that tried to load an encripted file with this: Directory.GetFiles(Application.StartupPath, “*.xml”). The problem is that Application.StartupPath is not my application path, but “C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Microsoft.Data.ConnectionUI.xml”. So, when I tried to decrypt it, it throwed another exception, that was logged with the same method… so infinite loop!

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

Sidebar

Related Questions

I converted my visual studio solution from 2008 to 2010. A project has a
I just converted a project from Visual Studio 2008 to 2010 and all of
I have created a setup project using Visual Studio 2008. After the application is
I have just converted a project from Visual Studio 2003 to 2005 and although
I recently converted my solution from Visual Studio 2008 to 2010, hoping I would
I have created a simple Visual Studio Express 2010 C++ project using GLUT and
In my Visual Studio 2010 project I have files with .mm file extension, that
Has anyone migrated a VB6 project to .Net with Visual Studio 2010? I have
In our team we have a database project in visual Studio 2008 which is
I have a setup project created by Visual Studio 2005, and consists of both

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.