help!

First written by ditaha and 0 others, on Wed, 2003/04/30 - 10:14am, and has been viewed by 164 unique users

dear friends/ colleagues

I was wondering if it is possible on ArcView 8.x to "load VBA system
procedures", as we used to "load system scripts" in 3.x

in short...I need to explore how some arcview tools are functioning

I hope someone can help me out here....

thanx in advance

Dina Taha

ahmed_wagih

From: [email protected]
Date: Wed, 30 Apr 2003 05:37:58 -0700 (PDT)
Hi Dina, Don't try that, they are not available for display. What you can do however, is to access the the samples directory under the $ARCHOME\Arcobjects Developer Kit\Samples. You will find truckload of ArcObjects samples, in addition, you can access the http://arcobjectsonline.esri.com which is a great site for learning ArcObjects Programming. Regards, -------Ahmed Wagih Abdel-Latif, Ph.D.GIS/RS Analyst ISaudi Aramco Oil Co.

Dina Sameh Taha wrote:dear friends/ colleagues

I was wondering if it is possible on ArcView 8.x to "load VBA system
procedures", as we used to "load system scripts" in 3.x

in short...I need to explore how some arcview tools are functioning

I hope someone can help me out here....

thanx in advance

Dina Taha

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Hi Dina,

 

Don't try that, they are not available for display. What you can do however, is to access the the samples directory under the $ARCHOME\Arcobjects Developer Kit\Samples. You will find truckload of ArcObjects samples, in addition, you can access the http://arcobjectsonline.esri.com which is a great site for learning ArcObjects Programming.

 

Regards,

 

-------

Ahmed Wagih Abdel-Latif, Ph.D.

GIS/RS Analyst I

Saudi Aramco Oil Co.

Dina Sameh Taha <[email protected]> wrote:

dear friends/ colleagues

I was wondering if it is possible on ArcView 8.x to "load VBA system
procedures", as we used to "load system scripts" in 3.x

in short...I need to explore how some arcview tools are functioning

I hope someone can help me out here....

thanx in advance

Dina Taha



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/cjB9SD/od7FAA/AG3JAA/43grlB/TM
---------------------------------------------------------------------~->

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



Do you Yahoo!?

The New Yahoo! Search - Faster. Easier. Bingo.
Wed, 2003/04/30 - 3:37pm Permalink
ditaha

Hello Ahmed,
thanx for the quick response.....

All I need to do for the time being is to write a short VB script to
draw ellipses and add them to the graphicscontainer....... (there is
already a tool on the "draw" toolbar that accomplishes that....but I
have to run it without using that tool......

thanx in advance for all of you who will spare me a minute to think
it over and give me a helping hand

best regards
dina

Wed, 2003/04/30 - 4:21pm Permalink
alqamy

From: [email protected]
Date: Fri, 16 May 2003 21:09:30 +0200
Dear Abraham
to put a table in the edit mode please try the following ( Iam assuming you are using ArcView 3.x)
if your table is an attribute table of a shape file:
1-add your shapefile as a theme to the view
2-Activate the shapefile and select it.
3-from the theme menu select (start editing)
3-find the attribute table icon on the toolbar, click it and your table will be displayed in editing mode.
if your table is not associated with shapefile
1- got to the project window and selct tables
2- click the ADD button and a dialog box will prompt you to brows for your table, not that you can only add .dbf and .txt files
3- click on your table and click open. Your table is added to the project now.
4- in the project window select your table. form table menu select ( start editing) and your table will be in the editing mode.

dont forget to select ( stop editing ) when you are finished with editing.
for calculating area, distance and perimeter please check the online freely available extensions on the ESRI website.
http://arcscripts.esri.com/
follow the above link and in the search tex box try words like perimeter, distance etc.
good luck
hope this

---
----------------------------------------
Biologist Ranger
St. Katherine Protectorate
South Sinai,
EGYPT
----------------------------------------
tel 002-069-470032
Fax 002-069-470033
----------------------------------------

--------- Original Message ---------
DATE: Fri, 16 May 2003 00:32:49
From: Abraham Gorfu
To: [email protected]
Cc:

Dear all,

I need help to calculate ?length?, ?perimeter? and ?area? of features in ArcView 3.1. Putting a table in editing mode, I tried using ?calculate? command. Assigned required syntax and it tells me that there is no error in my typing. The answer does not come. I am in need of your assistance.

Best Regards

Abraham Gorfu

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
Yahoo! Groups Sponsor

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

Dear Abraham
to put a table in the edit mode please try the following ( Iam assuming you are using ArcView 3.x)
if your table is an attribute table of a shape file:
1-add your shapefile as a theme to the view 
2-Activate the shapefile and select it.
3-from the theme menu select (start editing)
3-find the attribute table icon on the toolbar, click it and your table will be displayed in editing mode.
if your table is not associated with shapefile
1- got to the project window and selct tables
2- click the ADD button and a dialog box will prompt you to brows for your table, not that you can only add .dbf and .txt files
3- click on your table and click open. Your table is added to the project now.
4- in the project window select your table. form table menu select ( start editing) and your table will be in the editing mode.
 
dont forget to selec
t ( stop editing ) when you are finished with editing.
for calculating area, distance and perimeter please check the online freely available extensions on the ESRI website.
http://arcscripts.esri.com/
follow the above link and in the search tex box try words like perimeter, distance etc.
good luck
hope this 
 
---
----------------------------------------
Biologist Ranger
St. Katherine Protectorate
South Sinai,
EGYPT
----------------------------------------
tel 002-069-470032 
Fax 002-069-470033
----------------------------------------

--------- Original Message ---------










DATE: Fri, 16 May 2003 00:32:49
From: Abraham Gorfu <[email protected]>
To: [email protected]
Cc:


 

Dear all,


 


I need help to calculate ?length?, ?perimeter? and ?area? of features in ArcView 3.1. Putting a table in editing mode, I tried using ?calculate? command. Assigned required syntax and it tells me that there is no error in my typing. The answer does not come. I am in need of your assistance.


 


Best Regards


 

Abraham Gorfu




Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
Login To Lycos Mail
Fri, 2003/05/16 - 10:09pm Permalink
farhadkazemi

Abraham,

I have no idea what syntax you are using. Followings
are the syntaxs for calculating objects' dimensions:

Length: [shape].ReturnLength
Arae: [shape].ReturnArae

Note that your field type must be the number.
For more information check out the shape[class] on
ArcView help.

Give me more details if the problem persists.

Good luck,

Farhad

--- Abraham Gorfu wrote:
>
> Dear all,
>
>
>
> I need help to calculate ?length?, ?perimeter? and
> ?area? of features in ArcView 3.1. Putting a table
> in editing mode, I tried using ?calculate? command.
> Assigned required syntax and it tells me that there
> is no error in my typing. The answer does not come.
> I am in need of your assistance.
>
>
>
> Best Regards
>
>
> Abraham Gorfu
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Fri, 2003/05/16 - 7:29pm Permalink
farhadkazemi

Abraham,

This is the second time that I reply to your email.
Looks like my first reply did not go through.

Anyway, if you are using [shape].ReturnArea and
[shape].ReturnLength syntaxes, you should get the
correct values for the assigned fields.

If your table is very big, one of the records might be
in the seleted mode and the value is only calculated
for the selected record. Click on "Clear Selected
Feature" button before "Calculate" button.

Please let me know if the problem persists.

Good luck
--- Abraham Gorfu wrote:
>
> Dear all,
>
>
>
> I need help to calculate ?length?, ?perimeter? and
> ?area? of features in ArcView 3.1. Putting a table
> in editing mode, I tried using ?calculate? command.
> Assigned required syntax and it tells me that there
> is no error in my typing. The answer does not come.
> I am in need of your assistance.
>
>
>
> Best Regards
>
>
> Abraham Gorfu
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Sat, 2003/05/17 - 3:54am Permalink
sd105

Dear Abraham,
you will find attached a text file (it is avenue script) to Calculates area and
perimeter for polygon themes. you need to open an new script in project and
copy/paste the code. when you run the script it will calculate the area and
permiter and add them automaticlly in the table.

Quoting Abraham Gorfu :

>
> Dear all,
>
>
>
> I need help to calculate ?length?, ?perimeter? and ?area? of features in
> ArcView 3.1. Putting a table in editing mode, I tried using ?calculate?
> command. Assigned required syntax and it tells me that there is no error in
> my typing. The answer does not come. I am in need of your assistance.
>
>
>
> Best Regards
>
>
> Abraham Gorfu
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

Fri, 2003/05/16 - 9:14pm Permalink
ahsaad

Abraham,

You can simply use the sample script that comes with ArcView3.1
..... by default you will find it in your ArcView installation directory:

C:\ESRI\AV_GIS30\ARCVIEW\Samples\scripts\

>>>>>> use this script "calcapl.ave"

Hope this helps.

Regards,
Ahmed Saad

>From: Abraham Gorfu
>Reply-To: [email protected]
>To: [email protected]
>Subject: [GIS-Cafe] Help!
>Date: Fri, 16 May 2003 00:32:49 -0700 (PDT)
>
>
>Dear all,
>
>
>
>I need help to calculate ?length?, ?perimeter? and ?area? of features in
>ArcView 3.1. Putting a table in editing mode, I tried using ?calculate?
>command. Assigned required syntax and it tells me that there is no error in
>my typing. The answer does not come. I am in need of your assistance.
>
>
>
>Best Regards
>
>
>Abraham Gorfu
>
>
>---------------------------------
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail

Sun, 2003/05/18 - 11:16am Permalink
ditaha

dear friends/ colleagues

I was wondering if it is possible on ArcView 8.x to "load VBA system
procedures", as we used to "load system scripts" in 3.x

in short...I need to explore how some arcview tools are functioning

I hope someone can help me out here....

thanx in advance

Dina Taha

Wed, 2003/04/30 - 10:14am Permalink
ahmed_wagih

From: [email protected]
Date: Wed, 30 Apr 2003 05:37:58 -0700 (PDT)
Hi Dina, Don't try that, they are not available for display. What you can do however, is to access the the samples directory under the $ARCHOME\Arcobjects Developer Kit\Samples. You will find truckload of ArcObjects samples, in addition, you can access the http://arcobjectsonline.esri.com which is a great site for learning ArcObjects Programming. Regards, -------Ahmed Wagih Abdel-Latif, Ph.D.GIS/RS Analyst ISaudi Aramco Oil Co.

Dina Sameh Taha wrote:dear friends/ colleagues

I was wondering if it is possible on ArcView 8.x to "load VBA system
procedures", as we used to "load system scripts" in 3.x

in short...I need to explore how some arcview tools are functioning

I hope someone can help me out here....

thanx in advance

Dina Taha

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Hi Dina,

 

Don't try that, they are not available for display. What you can do however, is to access the the samples directory under the $ARCHOME\Arcobjects Developer Kit\Samples. You will find truckload of ArcObjects samples, in addition, you can access the http://arcobjectsonline.esri.com which is a great site for learning ArcObjects Programming.

 

Regards,

 

-------

Ahmed Wagih Abdel-Latif, Ph.D.

GIS/RS Analyst I

Saudi Aramco Oil Co.

Dina Sameh Taha <[email protected]> wrote:

dear friends/ colleagues

I was wondering if it is possible on ArcView 8.x to "load VBA system
procedures", as we used to "load system scripts" in 3.x

in short...I need to explore how some arcview tools are functioning

I hope someone can help me out here....

thanx in advance

Dina Taha



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/cjB9SD/od7FAA/AG3JAA/43grlB/TM
---------------------------------------------------------------------~->

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



Do you Yahoo!?

The New Yahoo! Search - Faster. Easier. Bingo.
Wed, 2003/04/30 - 3:37pm Permalink
ditaha

Hello Ahmed,
thanx for the quick response.....

All I need to do for the time being is to write a short VB script to
draw ellipses and add them to the graphicscontainer....... (there is
already a tool on the "draw" toolbar that accomplishes that....but I
have to run it without using that tool......

thanx in advance for all of you who will spare me a minute to think
it over and give me a helping hand

best regards
dina

Wed, 2003/04/30 - 4:21pm Permalink
alqamy

From: [email protected]
Date: Fri, 16 May 2003 21:09:30 +0200
Dear Abraham
to put a table in the edit mode please try the following ( Iam assuming you are using ArcView 3.x)
if your table is an attribute table of a shape file:
1-add your shapefile as a theme to the view
2-Activate the shapefile and select it.
3-from the theme menu select (start editing)
3-find the attribute table icon on the toolbar, click it and your table will be displayed in editing mode.
if your table is not associated with shapefile
1- got to the project window and selct tables
2- click the ADD button and a dialog box will prompt you to brows for your table, not that you can only add .dbf and .txt files
3- click on your table and click open. Your table is added to the project now.
4- in the project window select your table. form table menu select ( start editing) and your table will be in the editing mode.

dont forget to select ( stop editing ) when you are finished with editing.
for calculating area, distance and perimeter please check the online freely available extensions on the ESRI website.
http://arcscripts.esri.com/
follow the above link and in the search tex box try words like perimeter, distance etc.
good luck
hope this

---
----------------------------------------
Biologist Ranger
St. Katherine Protectorate
South Sinai,
EGYPT
----------------------------------------
tel 002-069-470032
Fax 002-069-470033
----------------------------------------

--------- Original Message ---------
DATE: Fri, 16 May 2003 00:32:49
From: Abraham Gorfu
To: [email protected]
Cc:

Dear all,

I need help to calculate ?length?, ?perimeter? and ?area? of features in ArcView 3.1. Putting a table in editing mode, I tried using ?calculate? command. Assigned required syntax and it tells me that there is no error in my typing. The answer does not come. I am in need of your assistance.

Best Regards

Abraham Gorfu

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
Yahoo! Groups Sponsor

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

Dear Abraham
to put a table in the edit mode please try the following ( Iam assuming you are using ArcView 3.x)
if your table is an attribute table of a shape file:
1-add your shapefile as a theme to the view 
2-Activate the shapefile and select it.
3-from the theme menu select (start editing)
3-find the attribute table icon on the toolbar, click it and your table will be displayed in editing mode.
if your table is not associated with shapefile
1- got to the project window and selct tables
2- click the ADD button and a dialog box will prompt you to brows for your table, not that you can only add .dbf and .txt files
3- click on your table and click open. Your table is added to the project now.
4- in the project window select your table. form table menu select ( start editing) and your table will be in the editing mode.
 
dont forget to selec
t ( stop editing ) when you are finished with editing.
for calculating area, distance and perimeter please check the online freely available extensions on the ESRI website.
http://arcscripts.esri.com/
follow the above link and in the search tex box try words like perimeter, distance etc.
good luck
hope this 
 
---
----------------------------------------
Biologist Ranger
St. Katherine Protectorate
South Sinai,
EGYPT
----------------------------------------
tel 002-069-470032 
Fax 002-069-470033
----------------------------------------

--------- Original Message ---------










DATE: Fri, 16 May 2003 00:32:49
From: Abraham Gorfu <[email protected]>
To: [email protected]
Cc:


 

Dear all,


 


I need help to calculate ?length?, ?perimeter? and ?area? of features in ArcView 3.1. Putting a table in editing mode, I tried using ?calculate? command. Assigned required syntax and it tells me that there is no error in my typing. The answer does not come. I am in need of your assistance.


 


Best Regards


 

Abraham Gorfu




Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

Mideastern Cafe for GISers. Relax, discuss, and benefit!
http://groups.yahoo.com/group/gis-cafe


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
Login To Lycos Mail
Fri, 2003/05/16 - 10:09pm Permalink
farhadkazemi

Abraham,

I have no idea what syntax you are using. Followings
are the syntaxs for calculating objects' dimensions:

Length: [shape].ReturnLength
Arae: [shape].ReturnArae

Note that your field type must be the number.
For more information check out the shape[class] on
ArcView help.

Give me more details if the problem persists.

Good luck,

Farhad

--- Abraham Gorfu wrote:
>
> Dear all,
>
>
>
> I need help to calculate ?length?, ?perimeter? and
> ?area? of features in ArcView 3.1. Putting a table
> in editing mode, I tried using ?calculate? command.
> Assigned required syntax and it tells me that there
> is no error in my typing. The answer does not come.
> I am in need of your assistance.
>
>
>
> Best Regards
>
>
> Abraham Gorfu
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Fri, 2003/05/16 - 7:29pm Permalink
farhadkazemi

Abraham,

This is the second time that I reply to your email.
Looks like my first reply did not go through.

Anyway, if you are using [shape].ReturnArea and
[shape].ReturnLength syntaxes, you should get the
correct values for the assigned fields.

If your table is very big, one of the records might be
in the seleted mode and the value is only calculated
for the selected record. Click on "Clear Selected
Feature" button before "Calculate" button.

Please let me know if the problem persists.

Good luck
--- Abraham Gorfu wrote:
>
> Dear all,
>
>
>
> I need help to calculate ?length?, ?perimeter? and
> ?area? of features in ArcView 3.1. Putting a table
> in editing mode, I tried using ?calculate? command.
> Assigned required syntax and it tells me that there
> is no error in my typing. The answer does not come.
> I am in need of your assistance.
>
>
>
> Best Regards
>
>
> Abraham Gorfu
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

Sat, 2003/05/17 - 3:54am Permalink
sd105

Dear Abraham,
you will find attached a text file (it is avenue script) to Calculates area and
perimeter for polygon themes. you need to open an new script in project and
copy/paste the code. when you run the script it will calculate the area and
permiter and add them automaticlly in the table.

Quoting Abraham Gorfu :

>
> Dear all,
>
>
>
> I need help to calculate ?length?, ?perimeter? and ?area? of features in
> ArcView 3.1. Putting a table in editing mode, I tried using ?calculate?
> command. Assigned required syntax and it tells me that there is no error in
> my typing. The answer does not come. I am in need of your assistance.
>
>
>
> Best Regards
>
>
> Abraham Gorfu
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.

Fri, 2003/05/16 - 9:14pm Permalink
ahsaad

Abraham,

You can simply use the sample script that comes with ArcView3.1
..... by default you will find it in your ArcView installation directory:

C:\ESRI\AV_GIS30\ARCVIEW\Samples\scripts\

>>>>>> use this script "calcapl.ave"

Hope this helps.

Regards,
Ahmed Saad

>From: Abraham Gorfu
>Reply-To: [email protected]
>To: [email protected]
>Subject: [GIS-Cafe] Help!
>Date: Fri, 16 May 2003 00:32:49 -0700 (PDT)
>
>
>Dear all,
>
>
>
>I need help to calculate ?length?, ?perimeter? and ?area? of features in
>ArcView 3.1. Putting a table in editing mode, I tried using ?calculate?
>command. Assigned required syntax and it tells me that there is no error in
>my typing. The answer does not come. I am in need of your assistance.
>
>
>
>Best Regards
>
>
>Abraham Gorfu
>
>
>---------------------------------
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail

Sun, 2003/05/18 - 11:16am Permalink