POST
|
Sorry I found it it look like that if somebody needs it '//Initialize the Geoprocessor Dim GP As IGeoProcessor Set GP = New Geoprocessor '//Declare 3 variables for input and output parameters Dim in_features As String Dim out_features As String '//Define the input/output parameter variables in_features = "D:\temp\input.shp" out_features = "D:\temp\output.shp" '//Declare and set a variant array to hold the parameters Dim parameters As IVariantArray Set parameters = New VarArray '//Populate the variant array with the parameters parameters.Add (in_features) parameters.Add (out_features) '//Now execute the tool GP.Execute "PolygonToLine_management", parameters, Nothing it is not so complicated after all ! cheers
... View more
10-21-2010
06:20 AM
|
0
|
0
|
127
|
POST
|
Hi folks, How can I call a geoprocessor (for instance polygontoline from data management) in a visual basic 6 macro ? I would like to do somethink similar to this exemple but it is wrtitten in VBnet and I do not find the equivalent for VB6 'Exemple 'Dim GP As New ESRI.ArcGIS.Geoprocessor.Geoprocessor 'Dim pUnion As New ESRI.ArcGIS.AnalysisTools.Union 'pUnion.in_features = "C:\TestData\VP _Testdata\trails_buf.shp #;C:\TestData\VP _Testdata\Spawning_area_clp.shp #" 'pUnion.out_feature_class = C:\temp\Union_Out1.shp" 'GP.Execute(pUnion, Nothing) thanks so much in advance
... View more
10-21-2010
05:54 AM
|
0
|
1
|
504
|
POST
|
Hi folks, I am wondering what type of exporter should I use to export tables (as standalonetable) to get file.txt There is a lot of exporter to export into jpeg, tiff etc... and there is a possibility to select txt format in the Exportdialog. Unfortunately I do not find any solution to write a macro with VB to create a txt file of the attribute table ... Cheers and thank you L.
... View more
09-23-2010
09:46 AM
|
0
|
2
|
294
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|