Greg:Have you tried looking at python to accomplish this task? It would probably result in a lot less code on your part. In v10.1 you will be able to associate python code with buttons on a toolbar which should make this even easier.
I've officially been computer programming for two weeks, and I have no idea how to display the values of Point or Line objects/data types.I have been using breakpoints and debugging tools to step through the code, which is how I hit the error.Also, It's not my code, I'm just trying some minimal fixes to get it working again. All the code I've written so far has been explicitly declared.
Are you using the debugging tools to put in breakpoints so that you can evaluate the values of ToPoint, FromPoint, and pLine? In looking through your code, I also notice that you don't declare many of your variables. This can come back to haunt you later.
Can you post more of the code?
Still need help.This is the exception that I got when I changed it over from user handled:System.Runtime.InteropServices.COMException {"The operation was attempted on an empty geometry."}
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.