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

Thread: Newby

  1. #1
    Join Date
    Feb 2001
    Location
    Israel
    Posts
    94

    Newby

    I am new to COM and VB and just trying to understand how to use a COM component after you created it in VB.
    I added it in the references but what next?

    FatMan


  2. #2
    Join Date
    Aug 2000
    Location
    KY
    Posts
    766

    Re: Newby

    After you add a reference you need to create a instance of the object

    dim myCom as clsYourClass
    Set myCom = new clsYourClass

    with myCom
    'when you press a dot the properties and methods should show up in intellisense
    end with


    Yahoo Messenger ID dfWade10900

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