If you are going across machines or processes, pass your parameters ByVal into your Visual Basic component. This minimizes marshalling overhead. Include robust error handling in every method. Use Visual Basic's App. The name of the method where the error occurred.
All argument values in to the method.
Visual Basic 5 Make sure Unattended Execution is set for both ActiveX EXEs and DLLs. ActiveX DLLs should also have their Threading Model set to Apartment Threaded. During development, use Project Compatibility and select Binary compatibility for release. All rights reserved. Terms of Use.