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

  • Home
  • SEARCH
  • 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 7401897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:35:57+00:00 2026-05-29T04:35:57+00:00

This is an IDE question for Visual Basic 2008 Express Edition. It might be

  • 0

This is an IDE question for Visual Basic 2008 Express Edition. It might be a bug in the IDE, or maybe it’s my fault somehow?

My main form is named frmMain and in my application’s properties I have set frmMain as my startup object. All of that seems like what a lot of software engineers do.

But while debugging I hit Ctrl + Break, as I have done for years, and I get an behavior in the IDE that I wasn’t expecting. Upon doing so, I get the green background text and the green arrow indicating in a tooltip:

This is the next statement to execute when this thread returns from the current function.

Even if I didn’t have the designer document open, it automatically opens frmMain.Designer.vb in the editor and hihglights line in green. The line is of course: Partial Class frmMain which is line 2 of the file. (Yes, it’s highlighting the second line of the designer-generated code.)

frmMain seems to have fully loaded and it’s my startup object. As far as I know, there shouldn’t be a “next statement to execute” at all because code should be idle. I don’t want to see the Designer.vb document… I want to edit my own code.

What’s causing this? Even though my form is behaving just fine, could there somehow be an unfinished aspect of loading the form such that it is “not returning” from a function?

Enter image description here
Enter image description here
Enter image description here

  • 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-29T04:36:02+00:00Added an answer on May 29, 2026 at 4:36 am

    I found the answer on my own:

    I checked the “Enable application framework” checkbox in the solution’s properties, and all is well!

    I believe this issue arose when I was working on experimental code in which I had desired to make Sub Main my startup object. I had cleared the checkbox because doing so is necessary to use Sub Main.

    When the experiment didn’t pan out I reset the startup object back to frmMain, and my app worked fine. However I had not re-checked the box. I hadn’t noticed the change in the IDE behavior for several days (when I needed the more standard behavior) so I had not observed any correlation.

    Although checking that box is definitely the solution, it’s still not exactly clear to me is what the heck this box actually does, other than cause me to spend a lot of time on StackOverflow.com! 😉

    To others who encounter a similar situation, I’m now quite confident that my settings were not corrupt, and if you’re using the Express edition, please don’t be mislead by MS documentation which may lead you to believe it’s the “Just My Code” option. This option cannot be changed in the Express versions. (But it’s not because you can’t turn it on — It’s because you can’t turn it OFF in Express!)

    Thanks to everyone for your efforts.

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

Sidebar

Related Questions

When using Resharper or CodeRush Express in the Visual Studio 2008 IDE, these tools
For starters, this question is not so much about programming in the NetBeans IDE
Well here's a rather stupid question. Is Visual C++ JUST an IDE?? Or is
In the Visual Studio 2008 IDE, the properties page allows you to access the
This question probably looks a lot like IDE for ironpython on windows question here
This might be a stupid question but I just wanted to make sure... If
This could be a very silly question to any long time C++, visual studio
I have a multi-threaded application that I'm debugging inside the IDE (Visual Studio 2008,
I just installed Visual Studio C++ 2010 Express (BTW. great ide). I have to
Can I download this IDE for free? When will the beta expire?

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.