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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:27:01+00:00 2026-05-27T00:27:01+00:00

There are two vb6 applications that I work with. One of them starts up

  • 0

There are two vb6 applications that I work with. One of them starts up very quickly whereas the other one takes quite a long time. I thought I would do a little analysis to find out why the one takes so long.

So I hit F8 to start at the beginning and I realize that a significant portion of that startup time is actually between the time I hit F8 and the time it highlights the very first line of code.

Which of the following is most likely causing this?

  • Number of dependencies
  • Having too many projects in the group project instead of referencing them as dlls
  • Number of forms
  • Number of objects in the startup form
  • Number of objects on all forms
  • What else?

And as a bonus, I would love any ideas on how to more specifically pinpoint the problem if it could be in multiple areas.

Thanks!

Edit: It seems I may have not been clear enough on exactly ‘where’ the slowdown is occurring. So to make it clear I created the following procedure:

Sub Main()
End Sub

That’s it, and it’s in a module that contains absolutely nothing besides these two lines. No forms are getting loaded, and while there are other modules with “Dim o as New SomeObject”, I know those objects aren’t getting instantiated because I know that visual basic doesn’t create objects declared this way until you actually use them for the first time.

I believe I have now optimized the startup code as much as is technically possible. Yet it still takes the same amount of time to startup.

Edit 2: I just realized that the compiled application actually starts up reasonably fast. It’s just starting it in the ide that takes so long. However, I care a lot more about the speed for me than I do the customer cause they just start it once and leave it running all day whereas I start it a couple dozen times a day.

  • 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-27T00:27:02+00:00Added an answer on May 27, 2026 at 12:27 am

    How big is the project? It’s probably doing an intermediate compile to p-code so it can run it.
    You may be able to tweak this using the Compile settings in the Options dialog.

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

Sidebar

Related Questions

We have a bunch of VB6 applications that access two different database servers (both
I have read a document that they say: In java there two types of
There are two things that seem to be popular nowadays and I was wondering
There are two types of query parameters binding in the Hibernate Query. One is
There are two tables. One is users info users, one is comments info comments.
There are two options when setting up your JBPM session. You can put your
There are two classes: A and B . There are algorithms for converting from
There are two questions to this: How can I best spread the word about
There are two ways to overload operators for a C++ class: Inside class class
There are two objects. The Windows Form with a button and a progress bar,

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.