Unregister any required filesYou can start to use VisualWRAP. If you encounter "Runtime Error 339" then you will have to unregister the ocx file in question.
The various files for which you may get this error message include:
- msflxgrd.ocx (when you double-click the More Colours... menu button)
- mscomct2.ocx (when you click on the Builder button)
- tabctl32.ocx (when you click the Preferences menu item)
- comdlg32.ocx
The remedy is to go to the Start menu, type CMD in the search area, right-click on the cmd item under the Programs heading, and choose to "run as administrator". CMD.exe should appear in a window.
At the prompt type the following:
Quote:regsvr32 /u filename
where
filename is replaced with the name of the file for which an error is reported.
For example, if you see the error
"Run-time error '339': Component 'MSCOMCT2.OCX' or one of its dependencies not correctly registered: a file is missing or invalid" then you would go to the prompt window and type:
Quote:regsvr32 /u mscomct2.ocx
then press Enter. If successful you should receive the message
"DllUnregisterServer in mscomct2.ocx succeeded"Repeat for each 339 error encountered.
Please note - sometimes the prompt in the Command window is in a location that cannot see the OCX files, and running the regsvr32 command fails. In this case you need to locate the OCX files (eg do a search in Windows Explorer to find the folder they live in), and then use the CD command to change folders until the prompt is located within that folder. eg if the location folder is Windows\Syswow64 then type
Code:CD c:\windows\syswow64
then try running the regsvr command again.
Fix any shortcutsCheck that the shortcut in the Windows Start menu works OK. If not, right-click on VisualWrap.exe and drag a shortcut onto the Start menu.
Regards
Dave Boyle