Autodesk 15606-011408-9300 Developer Guide - Page 27
Installing Viewers on Client Machines
UPC - 606121429548
View all Autodesk 15606-011408-9300 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 27 highlights
Installing Viewers on Client Machines If users accessing your Web site don't have an Autodesk MapGuide Viewer installed on their system, they need to download one in order to view the map you have displayed in the Web page. You can include code in your HTML file that automatically detects whether or not the user has Autodesk MapGuide Viewer, and then either downloads it automatically or prompts the user to download it themselves. To install the Autodesk MapGuide Viewer ActiveX Control 1 To install the latest version of Autodesk MapGuide Viewer ActiveX Con- trol for Internet Explorer users, include the CODEBASE parameter to access the ActiveX Control cabinet file, mgaxctrl.cab, in the HTML page that specifies your map. This parameter detects whether the latest version of the Autodesk MapGuide Viewer ActiveX Control is installed. If the user does not have the ActiveX Control or has an older version, the latest version will be installed automatically. In the following example, the CODEBASE parameter references the mgaxctrl.cab file located on the Autodesk MapGuide FTP site. Alternatively, you can copy this file to your Web server and reference the file there. You can find a copy of this file in the \ActiveXCab folder on the Autodesk MapGuide CD: Note that in your applications, you should change the release (#Version) number from 6,0,x,x to the actual release number of Autodesk MapGuide you are using. You can find the release number using the Help ➤ Help About menu command in the user interface or the MGMap.aboutDlg method. Installing Viewers on Client Machines | 27