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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:54:21+00:00 2026-05-23T14:54:21+00:00

I committed some working, compiling additions to Subversion using TortiseSVN one day ago, closed

  • 0

I committed some working, compiling additions to Subversion using TortiseSVN one day ago, closed down Visual Basic 6.0 (SP6), and today when I opened the project, the IDE will not compile the project.

The error that I receive is: Compile Error: User-defined type is not defined.

Also, when I try to go to the definition of ANY type, say MSComm or Byte, I get the message: Identifier under cursor is not recognized.

The only changes to the VBP files that I see using the TortiseSVN diff viewer are the additions of the Class files that I added.

  • 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-23T14:54:21+00:00Added an answer on May 23, 2026 at 2:54 pm

    Are these types within the same project? If not, check the project references. They are referred through registry keys, which may have been changed outside the scope of the project.

    Are you building a dll component or ActiveX exe (in contrast to a Forms exe)? If so, try unregistering the previous build.

    If you have binary compatibility enabled in the project settings, VB6 will look for the previous build to resolve symbols. Maybe you removed the previous build, or it is somehow broken. Disable binary compatiblity and delete the previous build, then try to recompile. (Don’t forget to unregister if it’s a component, otherwise you’ll leave your registry littered with broken class keys.)

    [edit] Clarifications:

    With checking the project references I mean the menu in the IDE. The list will say if it can’t find a reference (if it was already marked as added) in the registry. Yes, those are the ones in the vbp, but with a text editor you don’t really see if the GUID/version still exists. They might change if the referenced component is updated/patched.

    With the registry becoming littered I mean that if you compile without project/binary compatibility then VB6 will generate new GUIDs for your classes. Public classes are noted in the registry with the path to the dll. Normaly VB6 unregisters a dll before overwriting it, but if you manually delete the previous build nobody is going to unregister it, so the class info stays in the registry, referencing a dll which no longer exists.

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

Sidebar

Related Questions

Let's say I have committed some bad changes to Subversion repository. Then I commit
I am working on a feature branch and have some changes committed to my
Take a simple example: I'm working on the default branch, have some changesets committed
I'd been working on something, and decided it was completely screwed...after having committed some
I accidentally committed some large test wav files into my repository and they are
I accidentally committed too many files to an SVN repository and changed some things
After git init , I added and committed a few files, made some changes,
In this thread some one commented that the following code should only be used
I'm currently using subversion and tourtiseSVN. I am looking to revamp the way my
I have been working on a project for some time, and it has branched

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.