This section contains some initial settings you may have to change for the examples in this manual to work.
It is possible that the Maxsurf Automation Library has not been registered in Windows. If this is the case then we will need to update the regserver to include Maxsurf, using the following steps. You will only need to do this process once.
§ Double Check that Maxsurf Automation Library is not in the List
§ From the start menu, select the Run. . item. This will bring up a dialog box.
§ Click
on the Browse button, find and locate the MaxsurfPro.exe file. This is normally
located in;
C:\Program Files\Maxsurf\MaxsurfPro.exe
Select Open
§ In
the Run Dialog box, append the file path with /unregserver, so that it now reads;
"C:\Program Files\Maxsurf\MaxsurfPro.exe" /unregserver
Select OK
Note that there is a space before ” /unregserver”
§ Repeat
steps 2 and 3, this time append the file path with /regserver, so that it now reads;
"C:\Program Files\Maxsurf\MaxsurfPro.exe" /regserver
Select OK
§ Close and restart the package containing the VB editor (Microsoft Excel etc.). The Maxsurf Automation Library should now appear in the references dialog.
This method can also be used to update to a new version of the Maxsurf Application that has not been installed by the installer.
Macro’s can contain viruses. Hence Microsoft applications have a default security setting to prevent Macro’s from running. If you know a macro is from a trusted source, you can allow macros by setting the security setting to medium.
In most Microsoft applications, such as Excel, PowerPoint and Word, the security setting can be changed in the tools | macros menu. We recommend setting the security to medium, so that you can choose whether or not to enable the running of macros.
You will have to restart the host application for these changes to become effective.