[052] riots caused by Test Data

Source: Internet
Author: User

PS: (like PersonalGeodatabase)

I am very angry today when I seldom write pure text blogs. The reason is nothing more than my negligence, which causes huge losses!

I have been working on another program related to "Space Analysis" for the past few days. As a group meeting is required, I have to take the time to write the program over the past two days. It was almost accomplished later yesterday, at this time, I found that my Visual Studio 2008 expired and found a lot of solutions on the Internet, but none of them met me because my version did not enter the registration code, after half a day, I got it done. That's the last day of Tuesday, but no way!

That's enough. Suddenly the program I wrote has a problem. After I click Editing, I can't draw a graph. I can only see that the mouse is moving, but there is no graph display, it was very late at this time, but I still wanted to do a good job of the program, but I had to leave without finding the cause!

This morning, I thought that since Visual Studio 2008 in my notebook has expired, I 'd like to transplant the program to Visual Studio 2010 + ArcGIS Engine 10.0 on my desktop computer! For direct transplantation, you need to add some code and add N multiple references at the same time. The result is still not good because the data is not copied, so the data is copied! Directly test *. *. shp file, and then save it as mxd, but when I open shp, I find that only a part of the data is displayed, and it is not completely displayed, I think the reason should be the definition of the data display range. After all, these data are all imaginary and basically have no definition space reference. So, ah, re-create data, this explains why I didn't display the image when I was drawing the image last night, because the image cannot be drawn in that area! ".

If you recreate the data, use the map of China. The map is a map of China. The data is good. After some tossing, it finally succeeded in Visual Studio 2010, I thought that after the desktop was done, I would unmount Visual Studio 2008 of my notebook and try again, so I uninstalled it. At this time, I was a little worried, I searched the internet for "uninstalling, reinstalling, or using". At this time, I found a post called "Visual Studio 2008 cracking Files". Er, But I Have uninstalled it, how can I do this? It doesn't matter if I force cut it, so I have to wait for it to unmount it ,........, fortunately, it can be used directly after reinstallation!

Now, it's all done. I opened Visual Studio 2008 in my notebook and ran the program yesterday. I still couldn't draw it. Oh, no data, so I copied the new data from my desktop, re-Save the mxd. Why don't you do it? There are new problems. After each pop-up operation box, I click a button, the operation box disappears. What's the problem? It seems like a code problem! So I re-built the form, re-copied the code, and did something very seriously. It was time to witness the miracle... Fuck, it's still the same. Your mom, I'm about to crash, calm down, I'm really impatient. At this moment ~ Get it done!

After thinking of debugging, we kept setting breakpoints for a long time and finally realized where the problem was. The problem mainly occurred in the "area overlap judgment, but the specific cause of the problem is too long to understand, that is, the error "HRESULT: 0x80040215". I checked it online and found a classic answer: Success!

So I started to engage in data. Because the data is not the key point, I did it at will, but it didn't work out well. Finally, I realized that I would use PersonalGeodatabase. Well, this is really a good thing, this is because all the items here are based on the same space reference, so the above problems won't occur. Well, this lesson is: PersonalGeodatabase is still very useful, although you need to click a few more computers during the creation, it will make us less exercise!

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.