I have a code that wrote with C#.But I need to convert it to VBA and then use from it into GIS. how can I convert it be VBA?
asked Oct 26, 2010 at 4:46
NimaNima
-
4ArcGIS 10 will be the last release that supports VBA. If you plan to migrate/upgrade to ArcGIS 10+ then your VBA code will no longer work. The recommended approach is to write your application in Python, VB.NET, or C#. Since you already have your application in C# you may want to consider keeping it in C#. The deprecation document can be found here: blogs.esri.com/Support/blogs/supportcenter/archive/2010/08/19/…Ryan Taylor– Ryan Taylor2010年10月26日 12:27:04 +00:00Commented Oct 26, 2010 at 12:27
1 Answer 1
It really depends on how much code you are talking about. Most people try to go the other way, that is VB6\VBA to c# or vb.net.
But for your case a start might be to convert the methods to VB.net and then clean up the code to VBA.
answered Oct 26, 2010 at 5:06
user1105user1105
-
tanks a lot.I use from this.but I can't find answer after translate.Nima– Nima2010年10月26日 05:25:33 +00:00Commented Oct 26, 2010 at 5:25
-
What should I do?Nima– Nima2010年10月26日 05:26:09 +00:00Commented Oct 26, 2010 at 5:26
-
1You could post the code?MathiasWestin– MathiasWestin2010年10月26日 05:40:07 +00:00Commented Oct 26, 2010 at 5:40
-
yes.tanks.solved my problem.Nima– Nima2010年10月26日 05:54:03 +00:00Commented Oct 26, 2010 at 5:54
lang-vb