CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Threaded View

  1. #5
    Join Date
    Oct 2003
    Location
    Mumbai, Maharashtra INDIA
    Posts
    20

    Re: Inheriting Classes from another VB.NET project(s)

    Hi Craig,

    I tried referring it by NameSpace but no use.

    Can you please have a look at my code and help me .... Its a Zipped copy named ProjectReference.zip with 2 folders in it ... one is Vehicle project and other is Car project made in MS-DOTNET 2005. The two are already linked and hopefully be linked when opened on your machine!( )

    What I do is .....

    1. Build Vehicle project for its DLL with successful compilation.

    2. Open Car project and select the project name from Solution Explorer and from Menu ......... File->Add-> Existing project, I add Vehicle vbproject from Vehicle folder into Car project.

    This makes Car the parent assembly showing 2 projects Car and Vehicle resp.

    Now open Car.vb class and see that
    Code:
    Inherits Vehicle
    is in Error although Car project has proper reference to Vehicle.
    Attached Files Attached Files
    V.V.Sankhe

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

Featured