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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:55:07+00:00 2026-05-26T01:55:07+00:00

IDE/Language: Visual Studio 2010 Professional C# I am banging my head against the wall

  • 0

IDE/Language: Visual Studio 2010 Professional C#

I am banging my head against the wall on this one. I have my application nearly finished but I am running into a silly problem. I cannot launch my about box when my About Box menu item is clicked. It either shows nothing or creates a new form.

I have tried several suggestions found on Stack Overflow below however none of them launch my aboutBox class. (Note: I tried these separately and not all at once):

Snippet from mainWindow.cs:

 private void aboutMyProjectToolStripMenuItem_Click(object sender, EventArgs e)
    {
        Application.Run(new aboutBox()); //throws and exception

        (new aboutBox()).ShowDialog(); //creates a new form does not run the one I created

        aboutBox about = new aboutBox(); 
        about.ShowDialog(); //creates a new form does not run the one I created
    }

This is what is in aboutBox.cs:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;

namespace myNamespace
{
    public partial class aboutBox : Form
    {
        public void aboutBoxMain()
        {
            InitializeComponent();
            this.Text = String.Format("About {0}", AssemblyTitle);
            this.labelProductName.Text = AssemblyProduct;
            this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion);
            this.labelCopyright.Text = AssemblyCopyright;
            this.textBoxDescription.Text = AssemblyDescription;
        }
    #region "Assembly Accessors"
    ...
    #endregion
    #region "On-click Events"
    ...
    #endregion
    }
}

Thank you in advanced!

  • 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-26T01:55:07+00:00Added an answer on May 26, 2026 at 1:55 am
        public void aboutBoxMain()
        {
            InitializeComponent();
            // etc..
        }
    

    You destroyed the constructor somehow, possibly after renaming the form and trying to get rid of the compiler error. Fix:

        public aboutBox() 
        {
            InitializeComponent();
            // etc..
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

IDE: Microsoft Visual Studio Professional 2008 Language: C# Background: I have one form and
I want enchanted syntax coloring in comments for C++ language in Visual Studio 2010.
We are developing a windows application in .NET(C#) IDE used is Visual Studio 2008.
Here's the scenario: Platform: Windows IDE: Microsoft Visual Studio 2008 Language: C# .NET framework:
Last year I wrote a Language Service for Visual Studio which added syntax highlighting
I'd like to create an IDE for a language and I'm wondering how to
IDE = VS7 or 2002 Hi all, I have a really weird problem here.
My IDE is expecting a semicolon but I'm not sure where! It is this
Can I download this IDE for free? When will the beta expire?
I'm building (read: trying to build) a Visual Studio integration package, which contains some

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.