When I using activex control i.e microsoft forms 2.0 Listbox method "AddItem", LV automatically closed. But it is not happen when I used its property such as "backcolor". Please tell me how to solve this problem
I think u do not answer my question I ask why LV automatically closed when I used method of microsoft forms 2.0 activex listbox. But this not happen when i used the property of the listbox activex
Here's what I tried and it all worked well on my computer:
1) File >> New VI 2) Placed an Automation refnum control on the front panel. 3) Right-click on the refnum >> Select ActiveX class >> Browse >> Microsoft Forms 2.0 Object Library version 2.0 >> ListBox 4) Place an invoke node on the block diagram. Select "Add Item". 5) Wire numeric data to the input of the method.
Please follow these steps and let me know how it goes.
I have tried it as well. When I ran his VIs from the other posting LV AUTOMATICALLY CLOSED..., LabVIEW did crash. However, when I followed the steps above, it worked fine. I have attached the VI.
Hi Due, I have attached the VI for LabVIEW version 6.1. If this VI doesn't work on your computer, try using another program like visual basic and see if this method works for the activeX control. It could very well be that your activeX control is not functional.