I have written an HTML page for our (IE4 based) intranet and have included an ActiveX listview control (by dragging in a ListViewCtrl from the Visual Interdev Toolbox onto my page). This gives me an <OBJECT> tag and a listview that displays fine on my PC and (as far as I can tell) other PCs with VB installed.
The problem comes when I try to view the page on any other PC - the listview control just displays in IE4 as a graphic placeholder and the object isn't loaded.
Can anyone help?
For your information, I have already tried:
1. Including a "codebase" parameter so that the mscomctl.cab file is downloaded from the Microsoft web site if the listview's classid is not found on the client PC. The cab file appeared to be downloaded, but still no listview object.
2. Manually copying the mscomctl.ocx file from my PC to a test client PC and registering it with regsvr32. That didn't work either. I checked the registry and the listview's classid *does* appear in the client PCs registry, implying that the correct version of the listview control should now be on the client PC.