Results 1 to 4 of 4

Thread: VB .NET BC30002 VB.NET Type is not defined

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2006
    Location
    Florida, USA
    Posts
    563

    VB .NET BC30002 VB.NET Type is not defined

    I had this working in the past but something must have changed. This could be related to a circular dependency, but I resolved that by pointing to the built DLL. Visual Studio 2017


    Error I am getting:
    BC30002 VB.NET Type is not defined


    Things I tried:
    1. Cleaning solution and re-building
    2. Making sure .NET framework are identical
    3. Rebooting computer
    4. Posting here, but no answer yet: https://stackoverflow.com/posts/66402158/edit

    Code:
    Dim overlay As StudyCSharp.OverlayQuestion = New StudyCSharp.OverlayQuestion  'Object   'set it to object to avoid circular dependency
    'Dim overlay As Object = CreateObject("StudyCSharp.OverlayQuestion") 'Keep to avoid early binding with circular dependency
    [1]: https://i.stack.imgur.com/NGsyz.png
    [2]: https://i.stack.imgur.com/4yaRb.png
    [3]: https://i.stack.imgur.com/DNvay.png
    [4]: https://i.stack.imgur.com/PugqW.png
    Name:  NGsyz.jpg
Views: 3247
Size:  30.5 KB
    Name:  4yaRb.jpg
Views: 3225
Size:  33.5 KB
    Name:  DNvay.jpg
Views: 3198
Size:  30.7 KB
    Name:  PugqW.jpg
Views: 3222
Size:  29.9 KB
    Last edited by rex64; Mar 1st, 2021 at 12:14 PM.
    I use VB .NET 2022. Currently developing StudyX educational software, PlazSales POS system and Yargis a space ship shooter game.

  2. #2
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,474

    Re: VB .NET BC30002 VB.NET Type is not defined

    It might be a lot easier if you could get rid of the circular dependency, otherwise this is going to be a recurring issue.

    Without knowing any more about the specifics though it is pretty hard to offer any actual suggestions beyond that.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Dec 2006
    Location
    Florida, USA
    Posts
    563

    Re: VB .NET BC30002 VB.NET Type is not defined

    We re-wrote the code to solve. We did have some minor success by adding the DLLs to the build folder manually but it only worked on 1 computer.
    I use VB .NET 2022. Currently developing StudyX educational software, PlazSales POS system and Yargis a space ship shooter game.

  4. #4
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    25,479

    Re: VB .NET BC30002 VB.NET Type is not defined

    Quote Originally Posted by rex64 View Post
    We re-wrote the code to solve. We did have some minor success by adding the DLLs to the build folder manually but it only worked on 1 computer.
    It only worked on one computer? Did you distribute the DLLs with the .EXE?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width