Earlier in 2009, Microsoft declared the old FlexGrid control that came with VB6 a security threat. A security patch banned its use.
FlexGrid was an ActiveX control that was commonly distributed with many applications including Office. It has been widely used in Office macros. In fact, that is where this action by Microsoft caused problems at DMC. We have an automated proposal template system that uses FlexGrid.
The solution is to replace the FlexGrid with a new version that MS approves, or to install the Service Pack 6 for Visual Studio (if you have VS6 installed).
The fix also involves deleting a bunch of temp files that are lying around the PC.
- If you have VB6 on your PC, then install this VB 6 Service Pack 6 from Microsoft. Afterwards, restart your computer.
- If you don't have VB6 on your PC, then copy this msflxgrd.ocx file (unzip/extract the .ocx file first) into your c:\windows\system32 folder.
- Unregister the file with the command
regsvr32 /u msflxgrd.ocx
- Re-register the file with the command
regsvr32 msflxgrd.ocx
- Now clear away a number of Microsoft Temp files that are sill causing problems. Close most of the applications you are running and issue this command:
- BE SUPER CAREFUL HERE. (If you add an extra space to this command at the wrong place you will delete EVERYTHING on your C: drive!)
-
del c:\*.exd /s
That's it: you can use the the FlexGrid again!
Here are a couple helpful articles I found on the subject:
Article 1
Article 2
Download the msflxgrd.ocx file