Fremdes Windows Control in VB.Net verwenden

  • Hi,

    For standalone testing of a Windows control I've done a simple form with
    Visual Basic .NET calling that control.

    I've added a reference to the project at first. It's a reference to the typelib registered by the Windows control named 'BUCKETPROFMFCLib'. This type lib includes a class named 'TimeSerieMFC'.

    Next I've tried to define a variable oProfile like following:

    Code
    Imports BucketProfTest
       Dim oProfile As TimeSerieMFC


    But during build Visual Studio reports an error:
    Type 'TimeSerieMFC' is not defined.

    Once the blank following the 'As' has been typed a list of object types pops up. In this list there are a lot of object types to choose from. But the
    class desired and named 'TimeSerieMFC' doesn't get listed.

    The question now is how to define the object variable successfully.

    Cheers
    Klaus

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress, WoltLab & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!