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

Thread: VB

  1. #1
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    195

    VB

    Hi there. I'm busy learning about Dll, exe and OO in general. Two questions:

    1) what does the "Implements" Keyword mean?
    2) How do I test a DLL/EXE - do I start another session of VB, run the DLL/EXE in the second session

    Thanks




  2. #2
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: VB

    Implements means that the class is an implementation of an interface class. An interface class is one which is basically a template with no code of its own but which can be used to build common functionality into other classes.

    For example, we have an ISerialise class which defines methods such as SerialiseToXML and SerialiseToDatabase. Then each "real" class, such as CCustomer implements this class to provide its own mechanism to serialise the object.

    To test an activeX object you can add its project to your test project in one session of VB and in the references section make sure the mydll.vbp is checked.

    HTH,
    Duncan

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

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