GEOG 489: Project 4

Andrew Murdoch

 

Important items from lesson four

Accidentally, I discovered that without doing the "Private m_aoInit As IAoInitialize" lines and the routine that checks for the ArcView license, that the code would still run. I guess it would throw a hideous error if the ArcObjects libraries were not available. Also when you close the custom form, you get a series of errors that look like this: "The instruction at "0x7c901010" referenced memory at "0x0a9a0b54". The memory could not be "read". Click on OK to terminate the program." Adding the IAoInitialize code solves this problem.

Sometimes, even with the IAoInitialize code, before the custom form opens the custom program attempts to connect to a DNS server (which I blocked with my firewall software). I assume the DNS server is at ESRI? What purpose does this serve?

For the PowerPoint presentation, I had a strange occurrence. Small files are created in the path where the presentation PPT file sits, sometimes while I run the PowerPoint presentation. These files have strange characters in their names instead of "normal" characters. One of these is a square character; I think it is a "tab" character? Here's an example: "㡰ɹđ" (which unfortunately might look like question marks instead of squares).  The files seem to contain nothing but strange characters when viewed with WordPad. When I tried to save this document, with the strange characters embedded, I was told I had to save in Unicode format. Any idea why this happens? I'm running PowerPoint 2003 on WinXP Pro.

For the PowerPoint presentation, When you set the data layers in the Slide2.LoadData macro, I intend for the user to click on the path where the "LYR" files are sitting, not necessarily where the data itself is sitting. In my case, the "LYR" files are sitting one directory above the data files. I hope this doesn't cause a problem.

Also for the PowerPoint presentation, I had to set macro security (under Tools/Options/Security/Macro Security) to the "low" setting, then save, exit and reopen the presentation to get the macros and mouse click code to work. This took me a frustrating hour to figure out.

 


This document is published in fulfillment of an assignment by a student enrolled in an educational offering of The Pennsylvania State University. The student, named above, retains all rights to the document and responsibility for its accuracy and originality.