English
Bug Number NIM078252
Submitted Feb 17, 2012
Modified Aug 19, 2020
Severity Low
Applies To ArcGIS for Desktop
Version Found 10.0
Prog Language VB.Net
Server Platform Windows 7
Client Platform Windows 7
Database N/A
Locale N/A
Status Not in Current Product Plan
Version Fixed
SP Fixed

Bug NIM078252

Synopsis

The VB.NET and C# sample code in "How to use the IGeoTransformationOperationSet methods" shows the SpatialReferenceEnvironment class being instantiated with the New keyword instead of Activator.CreateInstance; this leads to cast exception.


Additional Information

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.


Alternate Solution

Use Activator.CreateInstance() approach as done in the other C# method/<a href="http://VB.NET" target="_blank">VB.NET</a> procedure in that same SDK help document.