Installing ActiveX Controls For Communicating With Mitsubishi Microcontrollers
Another recent re-revisit was necessary, this time to enable USB-based as well as COM-based communication between PC and Mitsubishi PLC microcontrollers. Registering the ActiveX Control To register the ActiveX component so that is shows up on your toolbox, choose Tools and select Add/Remove Toolbox Items: Click the Com Components tab and choose the DLL which includes the ActiveX control you want to use: The Mitsubishi ActiveX control is now added to your toolbox: Set the include file Start Visual Studio, choose the Tools menu and select Options. In the Projects folder select VC++ Directories, choose Show directories for include files and select the location for the include file: Using the ActiveX control in your project Right-click on your form and choose "Insert ActiveX Control": Select the one you need, which will then paste itself onto your form. Generate the new ActiveX class Navigate to the Project menu and select Add Class. Select MFC c...