Home > Software engineering >  How to let the ActiveX DLL call data in VB software
How to let the ActiveX DLL call data in VB software

Time:10-09

Cellar master, so we made a small software, there is a form form1, request the content of the corresponding input in text1, then call a VB ActiveX DLL, the DLL name is XL. DLL, let it for calculation, the data in this DLL has a global variable was, then the code in the DLL to was calculated, and then write the computing results into form1, text2, a how to make the DLL file, please read form1, text1. Text, and the results written into form1. Text2. In the text, the software is how to transfer data between itself and the DLL?

CodePudding user response:

Can use events to pass to the main program will need character passed in the form of parameters,

CodePudding user response:

Thank you moderator adult's advice, but how do you write the code? I have just the VB, still confused!

CodePudding user response:

There is a complete active DLL in MSDN, com programming examples, and is a side to write the code, part introduces properties, process, event, take your time,

You of this requirement is too simple, but you don't have those things, is somebody else in the following answer now you need to program, you still don't know what to do next time,
  • Related