Select to view content in your preferred language

Can I run my application (compiled with vb.net + ArcGis 9.3.1) with ArcGis 10 ?

566
3
01-14-2011 04:01 AM
RobertoMilani
New Contributor
I have a windows application compiled with vb.net + ArcGis 9.3.1 and I need to run it also with ArcGis 10.
Do I need to recompile the application with ArcGis 10 ?
There is no way to use the same exe with ArcGis 9.3 and ArcGis 10 ?

Thanks for any advice or code to help
Roberto
0 Kudos
3 Replies
NeilClemmons
Honored Contributor
Applications running against ArcGIS 10 need to bind to a runtime before they can function.  Not only do you have to recompile, you have to add the code to bind to the correct runtime.  See the help article on migrating your code to ArcGIS 10 for more info.
0 Kudos
RobertoMilani
New Contributor
Thanks for the reply,
i have read the article on migrating the code to ArcGIS 10.

My problem is that i don't want to build two versions (in two separate computer) of my application because some users have ArcGis 9.3 and some ArcGis 10.
I have a vb6 application and there's no problem, the same exe run with ArcGis 9.3 and 10.

There is no way to use the same exe with ArcGis 9.3 and ArcGis 10 with vb.net ?
0 Kudos
RuchiraWelikala
Regular Contributor
Thanks for the reply,
i have read the article on migrating the code to ArcGIS 10.

My problem is that i don't want to build two versions (in two separate computer) of my application because some users have ArcGis 9.3 and some ArcGis 10.
I have a vb6 application and there's no problem, the same exe run with ArcGis 9.3 and 10.

There is no way to use the same exe with ArcGis 9.3 and ArcGis 10 with vb.net ?


I think you might have to compile two versions because some of the assemblies have changed.  So some of the references you use in 9.3 SDK will not be supported in 10.
Here's what I'm talking about:
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Migrating_ArcGIS_9_3_De...

Cheers
0 Kudos