Hello,
I tried to found something similar from web but did not found anything alike so decided to ask from here.
In our corporation we have one Excel workbook which contains forms and VBA code to connect with REST to server to exchange data between client and server.
At one point of program execution, there's a form with a couple listview components, which are applied on the form at the design time. That listview component is from MsComctllib in VBA editor (Microsoft Listview Control, version 6.0 in MSCOMCTL.OCX).
Those works perfectly fine but, during code execution a new ListView is created like:
Dim RefList as ListView
Set RefList = New ListView
Immediately when program passes that line, where new listview is initialised Microsoft Installer kicks in and begins to install Aveva 3D modelling software, which has nothing to do with this whole Excel application. Aveva is totally separate application and is installed to users computer. I do not understand why initialization of ListView at the run-time starts software (.msi) installation.
Is there any other way how I could initialize in-memory (non-visible) Listview control at the run-time than using New keyword, or any other ideas what may cause this kind of behavior?
Bookmarks