The program developed by AE/AO is upgraded to arcgis10

Source: Internet
Author: User
Developed by AE/AO Program Upgrade to ArcGIS102011-03-14

Upgrading the program developed by ArcGIS 9.3 to the environment of arcgis10 is not complicated. The specific steps are as follows:

1. Replace all references of 9.3 in the original project. Otherwise, unexpected errors may occur.

2. Add the following during program initialization:Code(All AE classes must be called before ):

// Initialize AE 10.0
If (! ESRI. ArcGIS. runtimemanager. BIND (ESRI. ArcGIS. productcode. ENGINE ))
{
If (! ESRI. ArcGIS. runtimemanager. BIND (ESRI. ArcGIS. productcode. desktop ))
{
Throw new exception ("unable to bind to ArcGIS runtime ...");
}
}

In this way, you can bind the program to the running environment of arcgisruntime or desktop. If it is a secondary development of desktop, this item is not required. I have not changed other codes. The license is based on the previous practice (I have not tried to cancel authorization) and the program runs normally.

3. If it is not a secondary development of version 10, the program may run normally, but the command or toolbar generated by the program cannot be seen In ArcMap. In this case, you need to find the categories.exe file under the ArcGIS installation directory. \ ArcGIS \ topics top10.0 \ bin, and click run:


Click "category importer..." at the bottom...

Select the project for your program development, click Apply changes, and restart debugging or run ArcMap. The selected button should appear in the user button option (not successful currently)

From: http://hi.baidu.com/awming520/blog/item/571a97543c1e080b3b2935ff.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.