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

Thread: Update control

  1. #1
    Join Date
    Feb 2001
    Posts
    27

    Update control

    When ever i make a change to my ActiveX control (it is written in C++) the changes i make are not exposed to VB, it comes up with a compile error saying that the incorrect number of perameters have been passed to a method, but if i only pass the number is recognises it has a run-time error,
    does any one know how i can get it to update??

    thank you




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

    Re: Update control

    If you have made a change to the exposed interface of the control (i.e. added parameters to s public sub, function or event) then you need tu unregister and reregister the control before Visual Basic will be aware of these changes.

    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