RE: MI Help with MapInfo Application Window resizing

2000-08-23 Thread Martin, Christopher (WSA Telford)

I assume you want to do this in MapBasic?

Use the ShowWindow API function.

Declare Function ShowWindow Lib "User32" (ByVal hwnd as Long, ByVal
nCmdShow as Long)

hwnd = window handle; use GetForegroundWindow or GetActiveWindow API
calls...
nCmdShow:

SW_HIDE = 0
SW_MAXIMIZE = 3
SW_MINIMIZE = 6
SW_RESTORE = 9
SW_SHOW = 5
SW_SHOWMAXIMIZED = 3
SW_SHOWMINIMIZED = 2
SW_SHOWMINNOACTIVE = 7
SW_SHOWNA = 8
SW_SHOWNOACTIVATE = 4
SW_SHOWNORMAL = 1

For API help try http://www.vbapi.com/

-Original Message-
From: tim chilton [mailto:[EMAIL PROTECTED]]
Sent: 23 August 2000 10:25
To: [EMAIL PROTECTED]
Subject: MI Help with MapInfo Application Window resizing


Hello,

Does anyone know how to resize the MapInfo application window? I've only

managed to find out how to resize map windows etc and it doesn't seem as
if 
you can apply the same commands to MapInfo itself.

Thanks for your help

Tim Chilton
[EMAIL PROTECTED]

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help me to move a node in MapX 3.5.1

2000-08-18 Thread Jeff James

You need to move one Point object in the Points collection of the Part
object of the Parts collection of the Feature object.  In other words, your
code might look something like this:

ftrMyLine.Parts(1).Points(2).Set nNewX, nNewY
ftrMyLine.Update

Good luck

Jeff James
Vice President
Sage Software, Inc.
3423 Piedmont Road NE
Suite 500
Atlanta, Georgia 30305
www.sagesoft.com http://www.sagesoft.com 
Phone: 404.262.7478.x12
Fax: 404.832.3366
eFax: 520.222.2020


-Original Message-
From: GTS [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 7:18 AM
To: Mapinfo-L
Subject: MI Help me to move a node in MapX 3.5.1
Importance: High


Dear List,

I have a line (x1,y1 - x2,y2).
I need to know the syntax to move the x2,y2 to other position.
I use MapX 3.5.1 and VB 6.0

TIA
Ara BR


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help me to move a node in MapX 3.5.1

2000-08-18 Thread GTS

Hi there,

I tried your code like this - but doesn't work.
Would you kindly let me know what seems to be the problem?


"Object doesn't support this property or method"

my code :

Dim ftr As Feature

For Each ftr In Map1.Layers("Road").Selection
ftr.Parts(1).Points(2).Set x2, y2
ftr.Update
Next

Regards,
- Ara BR -


- Original Message -
From: Jeff James [EMAIL PROTECTED]
To: 'GTS' [EMAIL PROTECTED]; Mapinfo-L [EMAIL PROTECTED]
Sent: Friday, August 18, 2000 7:26 PM
Subject: RE: MI Help me to move a node in MapX 3.5.1


 You need to move one Point object in the Points collection of the Part
 object of the Parts collection of the Feature object.  In other words,
your
 code might look something like this:

 ftrMyLine.Parts(1).Points(2).Set nNewX, nNewY
 ftrMyLine.Update

 Good luck

 Jeff James
 Vice President
 Sage Software, Inc.
 3423 Piedmont Road NE
 Suite 500
 Atlanta, Georgia 30305
 www.sagesoft.com http://www.sagesoft.com
 Phone: 404.262.7478.x12
 Fax: 404.832.3366
 eFax: 520.222.2020


 -Original Message-
 From: GTS [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 18, 2000 7:18 AM
 To: Mapinfo-L
 Subject: MI Help me to move a node in MapX 3.5.1
 Importance: High


 Dear List,

 I have a line (x1,y1 - x2,y2).
 I need to know the syntax to move the x2,y2 to other position.
 I use MapX 3.5.1 and VB 6.0

 TIA
 Ara BR


 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with finding intersection coordinates

2000-08-01 Thread Mark Pollard

Try using the Overlay nodes command first or the intersects command, you
could even return the section inside the radius with the overlap function
and then find the end node of the segment.

hope this helps

Mark Pollard
Senior Consultant Information Services
DRYDEN TECHNOLOGIES
Ph:61 (2) 4229-3498
Fax:  61 (2) 4229-3930
Web: www.drydentech.com http://www.drydentech.com

  _

The information contained in this email communication may be confidential.
You should only read, disclose, re-transmit, copy, distribute, act in
reliance on or commercialise the information if you are authorised to do so.
If you are not the intended recipient of this email communication, please
notify us immediately by email to [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  or reply by email direct to the sender and
then destroy any electronic or paper copy of this message.  Any views
expressed in this email communication are those of the individual sender,
except where the sender specifically states them to be the views of a member
of the Dryden Technologies.  The Dryden Technologies does not represent,
warrant or guarantee neither that the integrity of this communication has
been maintained nor that the communication is free of errors, virus or
interference.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Greatorex
Sent: Tuesday, 1 August 2000 9:42 PM
To: '[EMAIL PROTECTED]'
Subject: MI Help with finding intersection coordinates


I'm trying to get the coordinates of the point where a search radius I've
set up intersects with a Polyline. If the intersection occurs at a node, I
can find out the coords. However, I'm having great difficulty thinking of
how to find them if the intersection is at some arbitrary point along the
line.

Any suggestions greatly received.

Matt.

[EMAIL PROTECTED]



--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Canadian Provincial Abbreviations

2000-07-25 Thread Lindsay Giles

Hello Dara-
1) The correct spelling for it is "Nunavut"

2) To the best of my knowledge, they are both NT - all addresses I have 
seen within Nunavut carry NT as their descriptor. I could be wrong but I 
have not seen any other code.

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245
Visit our web site at http://www.axys.net




-Original Message-
From:   Thompson, Dara L. (RyTull) [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, July 25, 2000 8:55 AM
To: 'MapInfo-L'
Subject:MI Help with Canadian Provincial Abbreviations


Hello all.

I hope someone can help me.

I am adding a 2-character field to the "Cncty_3k" file to identify the
Canadian Province (or Territory).  As my source for the 2-digit code, I am
using the "Province" column in the "Canada" table.  I believe that both
tables are the supplied with MapInfo.

Here are the problems:
1).  The "Cncty_3k" file says that the provincial name  is
"Nunvaut".  The "Canada" file says that it is spelled "Nunavut".  Which is
correct?
2).  The "Canada" file says that the abbreviation for Nunavut is
"NT".  That is the same abbreviation for the Northwest Territories.  Can
someone tell me what the abbreviation is for the Northwest Territories as
well as the Nuvaut Territory?

Thanks!

-Dara Thompson
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Canadian Provincial Abbreviations

2000-07-25 Thread John Chioles

According to my sources
1) Nunavut is correct
2) NU is the abbreviation

-Original Message-
From: Lindsay Giles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 12:13 PM
To: 'Thompson, Dara L. (RyTull)'; 'MapInfo-L'
Subject: RE: MI Help with Canadian Provincial Abbreviations


Hello Dara-
1) The correct spelling for it is "Nunavut"

2) To the best of my knowledge, they are both NT - all addresses I have 
seen within Nunavut carry NT as their descriptor. I could be wrong but I 
have not seen any other code.

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245
Visit our web site at http://www.axys.net




-Original Message-
From:   Thompson, Dara L. (RyTull) [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, July 25, 2000 8:55 AM
To: 'MapInfo-L'
Subject:MI Help with Canadian Provincial Abbreviations


Hello all.

I hope someone can help me.

I am adding a 2-character field to the "Cncty_3k" file to identify the
Canadian Province (or Territory).  As my source for the 2-digit code, I am
using the "Province" column in the "Canada" table.  I believe that both
tables are the supplied with MapInfo.

Here are the problems:
1).  The "Cncty_3k" file says that the provincial name  is
"Nunvaut".  The "Canada" file says that it is spelled "Nunavut".  Which is
correct?
2).  The "Canada" file says that the abbreviation for Nunavut is
"NT".  That is the same abbreviation for the Northwest Territories.  Can
someone tell me what the abbreviation is for the Northwest Territories as
well as the Nuvaut Territory?

Thanks!

-Dara Thompson
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Canadian Provincial Abbreviations

2000-07-25 Thread Dan Heuman

Dara,

Take a look at this web site from Canada Post.

http://www.canadapost.ca/CPC2/addrm/addrguide/prov_symbols.html

Danny Heuman
Senior Director, Custom Research
Compusearch Inc.
Toronto, Ontario
Tel:  416-348-9180

 -Original Message-
 From: Thompson, Dara L. (RyTull) [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, July 25, 2000 10:55 AM
 To:   'MapInfo-L'
 Subject:  MI Help with Canadian Provincial Abbreviations
 
 
 Hello all.
 
 I hope someone can help me.  
 
 I am adding a 2-character field to the "Cncty_3k" file to identify the
 Canadian Province (or Territory).  As my source for the 2-digit code, I am
 using the "Province" column in the "Canada" table.  I believe that both
 tables are the supplied with MapInfo.
 
 Here are the problems:
   1).  The "Cncty_3k" file says that the provincial name  is
 "Nunvaut".  The "Canada" file says that it is spelled "Nunavut".  Which is
 correct?
   2).  The "Canada" file says that the abbreviation for Nunavut is
 "NT".  That is the same abbreviation for the Northwest Territories.  Can
 someone tell me what the abbreviation is for the Northwest Territories as
 well as the Nuvaut Territory?
 
 Thanks!
 
   -Dara Thompson
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Canadian Provincial Abbreviations

2000-07-25 Thread Lindsay Giles

Hi again -
Checking into it a little further I find that Canada Post lists NT for both 
Northwest Territories and Nunavut. If NU is Nunavut, what is the source for 
that?

Canad Post link:
http://www.canadapost.ca/CPC2/addrm/addrguide/prov_symbols.html

Lindsay Giles

-Original Message-
From:   John Chioles [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, July 25, 2000 11:47 AM
To: 'Lindsay Giles'; 'Thompson, Dara L. (RyTull)'; 'MapInfo-L'
Subject:RE: MI Help with Canadian Provincial Abbreviations

According to my sources
1) Nunavut is correct
2) NU is the abbreviation

-Original Message-
From: Lindsay Giles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 12:13 PM
To: 'Thompson, Dara L. (RyTull)'; 'MapInfo-L'
Subject: RE: MI Help with Canadian Provincial Abbreviations


Hello Dara-
1) The correct spelling for it is "Nunavut"

2) To the best of my knowledge, they are both NT - all addresses I have
seen within Nunavut carry NT as their descriptor. I could be wrong but I
have not seen any other code.

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245
Visit our web site at http://www.axys.net




-Original Message-
From:   Thompson, Dara L. (RyTull) [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, July 25, 2000 8:55 AM
To: 'MapInfo-L'
Subject:MI Help with Canadian Provincial Abbreviations


Hello all.

I hope someone can help me.

I am adding a 2-character field to the "Cncty_3k" file to identify the
Canadian Province (or Territory).  As my source for the 2-digit code, I am
using the "Province" column in the "Canada" table.  I believe that both
tables are the supplied with MapInfo.

Here are the problems:
1).  The "Cncty_3k" file says that the provincial name  is
"Nunvaut".  The "Canada" file says that it is spelled "Nunavut".  Which is
correct?
2).  The "Canada" file says that the abbreviation for Nunavut is
"NT".  That is the same abbreviation for the Northwest Territories.  Can
someone tell me what the abbreviation is for the Northwest Territories as
well as the Nuvaut Territory?

Thanks!

-Dara Thompson
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Canadian Provincial Abbreviations

2000-07-25 Thread Sean Ramsay

I believe NU becomes official in August of this year.  It is still being
used as NT for now.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John Chioles
Sent: Tuesday, July 25, 2000 10:47 AM
To: 'Lindsay Giles'; 'Thompson, Dara L. (RyTull)'; 'MapInfo-L'
Subject: RE: MI Help with Canadian Provincial Abbreviations


According to my sources
1) Nunavut is correct
2) NU is the abbreviation

-Original Message-
From: Lindsay Giles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 12:13 PM
To: 'Thompson, Dara L. (RyTull)'; 'MapInfo-L'
Subject: RE: MI Help with Canadian Provincial Abbreviations


Hello Dara-
1) The correct spelling for it is "Nunavut"

2) To the best of my knowledge, they are both NT - all addresses I have
seen within Nunavut carry NT as their descriptor. I could be wrong but I
have not seen any other code.

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245
Visit our web site at http://www.axys.net




-Original Message-
From:   Thompson, Dara L. (RyTull) [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, July 25, 2000 8:55 AM
To: 'MapInfo-L'
Subject:MI Help with Canadian Provincial Abbreviations


Hello all.

I hope someone can help me.

I am adding a 2-character field to the "Cncty_3k" file to identify the
Canadian Province (or Territory).  As my source for the 2-digit code, I am
using the "Province" column in the "Canada" table.  I believe that both
tables are the supplied with MapInfo.

Here are the problems:
1).  The "Cncty_3k" file says that the provincial name  is
"Nunvaut".  The "Canada" file says that it is spelled "Nunavut".  Which is
correct?
2).  The "Canada" file says that the abbreviation for Nunavut is
"NT".  That is the same abbreviation for the Northwest Territories.  Can
someone tell me what the abbreviation is for the Northwest Territories as
well as the Nuvaut Territory?

Thanks!

-Dara Thompson
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Canadian Provincial Abbreviations

2000-07-25 Thread sidney . mclean

Hi all,

I think this originally only went to Dara, so sorry for the duplication, but 
"Nunavut" is the correct spelling, and "NT" the abbreviation, same as for 
NWT, even though they're separate territories.  For other info on postal 
codes/abbreviations for provinces, territories and the like go to the Canada 
Post site, it's at:  www.canadapost.ca

Cheers,
-Sidney 

Sidney McLean
Child, Youth and Social Development Studies
Applied Research Branch-HRDC
165 Hotel de Ville
Phase II, 7th Floor
Hull, Quebec
K1A 0J2
-- Original Text --

From: "John Chioles" [EMAIL PROTECTED], on 2000-07-25 03:12 PM:

According to my sources
1) Nunavut is correct
2) NU is the abbreviation

-Original Message-
From: Lindsay Giles [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 25, 2000 12:13 PM
To: 'Thompson, Dara L. (RyTull)'; 'MapInfo-L'
Subject: RE: MI Help with Canadian Provincial Abbreviations


Hello Dara-
1) The correct spelling for it is "Nunavut"

2) To the best of my knowledge, they are both NT - all addresses I have 
seen within Nunavut carry NT as their descriptor. I could be wrong but I 
have not seen any other code.

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245
Visit our web site at http://www.axys.net




-Original Message-
From:   Thompson, Dara L. (RyTull) [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, July 25, 2000 8:55 AM
To: 'MapInfo-L'
Subject:MI Help with Canadian Provincial Abbreviations


Hello all.

I hope someone can help me.

I am adding a 2-character field to the "Cncty_3k" file to identify the
Canadian Province (or Territory).  As my source for the 2-digit code, I am
using the "Province" column in the "Canada" table.  I believe that both
tables are the supplied with MapInfo.

Here are the problems:
1).  The "Cncty_3k" file says that the provincial name  is
"Nunvaut".  The "Canada" file says that it is spelled "Nunavut".  Which is
correct?
2).  The "Canada" file says that the abbreviation for Nunavut is
"NT".  That is the same abbreviation for the Northwest Territories.  Can
someone tell me what the abbreviation is for the Northwest Territories as
well as the Nuvaut Territory?

Thanks!

-Dara Thompson
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help with Canadian Provincial Abbreviations

2000-07-25 Thread Patrick Busque

Hello!

I'm from Canada and Nunavut was supposed to be NU but then someone at Canada
Post taught some french canadian would have been greatly offended by NU
which could mean Nude (nue) in french. So Nunavut was NT, some Inuit were
not happy about that position so when the story came out, every french
canadian was laughting about the NU thing. So Nunavut will become NU once
and for all and every one will live happy ever after. Canadian
politicsisn't it great!

Patrick B



--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Coordinate system

2000-06-19 Thread Lindsay Giles

Hi Jack -
Have you tried this:

Set Coordsys Table "KnownPositions"

instead of setting the coordsys from the window? If the projection of the 
window doesn't match the projection of the table into which you are 
inserting the point, the point may well be off the map.

Cheers,

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245
Visit our web site at http://www.axys.net




-Original Message-
From:   Jack MacDonald [SMTP:[EMAIL PROTECTED]]
Sent:   Monday, June 19, 2000 1:17 PM
To: [EMAIL PROTECTED]
Subject:MI Help with Coordinate system

My application in MapBasic 4.5 is driving me crazy, and
I would really appreciate some help. I am reasonably
certain the problem is with getting the correct
CoordSys, but after many hours, I still can't figure it
out.

The concept is that the user selects a point from the
SurveyedTrails table. I want to grab the XY coordinates
of the selected point, and create a new point in the
KnownLocations table using the same XY coordinates. The
new point is created when the user clicks a button in a
dialog box that Calls FixedPoint().


I have tried saving a Global oPoint object, saving the
XY coordinates in Global variables, and every other
combination that I can think of.

At first, the points were created at the wrong location,
now I can't find them at all.

Please help!


***
  global fEasting as float
  global fNorthing as float 
  global iHour as Integer
  global iMinute as Integer
  global iSecond as Integer
  global iNodeID as Integer
  global hWnd as Integer
  global oPoint as Object



sub FixedPoint
dim oNewPoint as object
set coordsys window hWnd
oNewPoint =
createPoint(centroidx(oPoint),centroidy(oPoint))
Insert into KnownPositions (Obj, SampleSetID,
NodeID, Hour, Minute, Second)
values (oNewPoint, iSampleSetID, iNodeID,
iHour, iMinute, iSecond)
end sub


sub SelChangedHandler
dim sTableName as string
dim iRow as Integer

iRow = SelectionInfo(SEL_INFO_NROWS)
If iRow  1 then
'   note "Wrong number of objects selected"
exit sub
end if
sTableName = SelectionInfo(SEL_INFO_TABLENAME)  

do case sTableName
  case "GPSSample"
iHour = selection.hour
iMinute = selection.minute
iSecond = selection.second
close table tableinfo(0,TAB_INFO_NAME)

  case "SurveyedTrails" 
hWnd = frontwindow()
set coordsys window hWnd
oPoint = selection.obj

fNorthing = selection.northing
fEasting = selection.easting
iNodeID = selection.nodeID  
close table tableinfo(0,TAB_INFO_NAME)
call CreateGPSTrailsDialog
  case else
'   print "neither of the two target tables"
end case

end sub


 Jack MacDonald, Senior Researcher, Harvesting Operations
 Forest Engineering Research Institute of Canada
Vancouver, BC Canada   (604) 228-1555   FAX (604) 228-0999



--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI HELP!

2000-06-16 Thread Oliver Moffatt

I endorse the "left handed mouse" approach.  I'm right handed.  Two years
ago I was suffering from RSI in my right arm, then I broke my arm badly.  I
was forced to switch my mouse to my left hand, and have never switched back.
I no longer suffer RSI in my right arm.

One additional point: I kept the buttons the same as they were for
right-handed use.  Three reasons:

1.  "Right-click" and "left-click" still make sense;
2.  Other people can still pick up my mouse and use it;
3.  I personally find that using my middle finger on the left button is
easier than using my index finger on the right button.

===
Oliver Moffatt
GIS Support Officer
Peak District National Park Authority
Telephone: (01629) 816269
Fax: (01629) 816310
E-mail: [EMAIL PROTECTED]
Web: www.peakdistrict-npa.gov.uk
===

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI HELP!

2000-06-15 Thread Mats Elfström

Vicky Higgins wrote:
 
 Has anyone used, or know of any, alternatives to a mouse?
 

Hi Vicky!

For several years, I have been using trackballs from Logitech.
Using a trackball (an inverted mouse so to say) enables you to place
your hand and forearm in the most comfortable way, you will not need to
lift your forearm or wrist but need only to use your fingers for cursor
movement and mouse clicks.

Another device I came upon lately (but have not tested) is a 'mouse
pen'.
This is like a pen with a minute mouse ball at the tip. Is is held like
a pen and connects to the computer by radio. Clicks are effected by
tapping the pen or buttons on the pen and it can be used on any surface.
The brand slips my mind but I belive you could look for 'mouse pen' on
the net.

Mats.E
-- 
:::
:Email/ [EMAIL PROTECTED] ICQ#9517386   :
:-:
:Mail/ GISKRAFT, Mats Elfstroem, Vaepplingv 21, SE-227 38 LUND, SWEDEN:
:Phones: +46 46 145959, +46 70 595 3935   :
:::
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI HELP!

2000-06-15 Thread Jacques Paris

I did help someone cure her "mouse (=tennis) elbow" some time ago by simply
showing her how to use the right mouse button; she was using a large size
monitor and doing a lot of map editing via regular menus, hence constant
long pointer moves.

But as the "short cut" menus are somewhat limited, we decided on which items
should be available (including some icons commands, such as
"pointer/selector" that is so much in demand after using any tool) and I
wrote a small mbx to modify the menus. I took this opportunity to even
change the display language of these menus.

The combination of both actions was a very good remedy.

MapBasic does not have to be on your machine, you can write a simple script
as a WOR and in the MapBasic window RUN APPLICATION ...WOR; you can have
several, each one adapted to specific work requirements, including a
standard one to return to the original menus.

Jacques Paris [EMAIL PROTECTED]

Paris PC Consult (mainly MapInfo app.)
 www.total.net/~rparis/gisproducts.htm

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Vicky Higgins
Sent: June 14, 2000 7:06 PM
To: [EMAIL PROTECTED]
Subject: MI HELP!


I have been mapping with MapInfo for 3+ years.

While I use a light grip on my Intellimouse, the
hours-days-weeks-months-years
have taken their toll.
I have cause some irreparable nerve damage to my right arm.

Has anyone used, or know of any, alternatives to a mouse?

I have looked at the "Smart Cat" by Cirque, but it appears to still require
some
hand-draping over the device.

If there is any help out there, I would greatly appreciate it.


Vicky Higgins
Atlanta


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help!

2000-06-15 Thread Carol Sheehan

Vicky,

I am so glad that I did not miss your post.

Yes, you are not the only one who has problems with using a mouse and
nerve/hand problems.  There are several of us out there and everyone I
know who has this problem has just happened to put some serious time
into MapInfo especially with continuous clicking and map production etc.

I use the kensington Expert mouse and it has given me a lot of relief.
I will NEVER go back to a standard mouse.  Check it out at
http://www.kensington.com/products/pro_mic_d1029.html  It has a
trackball and I can customize the four buttons for any event I choose; I
never have to double click again but simply let my mouse envoke the
double click event for me with a mouse click.  Gone are the days where
my right index finger does EVERYTHING except for the right click event.


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI HELP!

2000-06-15 Thread Landis, Bill @ Phoenix
Title: RE: MI HELP!





I like Jacques suggestion about creating an mbx that modifies the MI menus, but there is an easier way. Just edit the MAPINFOW.MNU file with a text editor. Those with only the most rudimentary understanding of MapBasic will not have a problem rearranging the commands. 80% to 90% of my commands are accessible with a right click including pan and zoom.

Bill Landis...
Mapping Services Director
CB Richard Ellis
Voice: 602 735 5233 eFax: 703 783 7605





RE: MI HELP!

2000-06-15 Thread Justusson Christer

Hi!

I've been using MapInfo for 4 years and I have developed same problems as
you.
My remedies are:
1 Like Jaques suggested I have a customised mbx so I can reach common
commands from the keyboard. Today I have rewritten the MapInfo mnu-file
instead. Helps a lot and it also makes you much faster. Dangerously fast
however.
2 I use 2 mouses (mice?). One connected to the serial port and the other on
the ps2. You can also use an Y-mouse from P I Engineering but both NT and
Win98 supports 2 mice. The advantage is that I can make e g a zoom window by
moving one mouse and clicking with the other (the Y-mouse doesn't support
that however).
3 I use a "mousetrapper", a mouse tray made in Sweden. Difficult for me to
describe it. It's a holder for an Intellimouse and you move the cursor with
a rod. You always have the hands right in front of you when using it and it
gives support for the wrists. You can see a picture at www.ergoff.se (click
on Produkter and Pekdon. It's quit common here.
4 Go to www.tifaq.com It's a very good place to get information of all kind.
For example I read something about moving the cursor with the eyes and click
by blinking.
5 My experience is to avoid trackballs and touchpads.
6 Maybe most important of all in my experience. Work slightly slower.


I hope this is of some help
Best of regards
Christer J


-Original Message-
From: Vicky Higgins [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 15, 2000 1:06 AM
To: [EMAIL PROTECTED]
Subject: MI HELP!


I have been mapping with MapInfo for 3+ years.

While I use a light grip on my Intellimouse, the
hours-days-weeks-months-years
have taken their toll.
I have cause some irreparable nerve damage to my right arm.

Has anyone used, or know of any, alternatives to a mouse?

I have looked at the "Smart Cat" by Cirque, but it appears to still require
some
hand-draping over the device.

If there is any help out there, I would greatly appreciate it.


Vicky Higgins
Atlanta


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI HELP!

2000-06-15 Thread Lindsay Giles

Good call!
I switched about 7 years ago to a left-handed mouse because the keyboard 
itself is not configured efficiently for GIS or other technical 
applications. Anything requiring numeric input means that a right-handed 
mouser needs to continually move the right hand back and forth from the 
mouse to the numeric keypad - a real pain in more ways than one. For those 
who maintain that they "just couldn't" mouse left-handed, you would be 
amazed how quickly you become proficient. It helps your work flow, and, 
since doing this full time since Win 3.0 was a gleam in Bill Gates' eye, I 
have never suffered from any wrist/arm disorders (I won't talk about any 
lingering mental disorders...).

Happily converted southpaw,

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245


-Original Message-
From:   Mark Knudsen [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, June 14, 2000 9:34 PM
To: 'Vicky Higgins'; [EMAIL PROTECTED]
Subject:        RE: MI HELP!

Vicky,

Sorry to hear about your problem.

I am not being facetious, but I would suggest to everyone who suffers from 
hand/wrist problems when mousing to try switching hands. It is amazing that 
we use our right (or left) hands for something like using the mouse simply 
because we are right (left) handed. I was suffering from aches, pains, 
tingling, weakness, etc in the right wrist and hand so switched to mousing 
with the left hand - it wasn't all that difficult.

Not only does this shift relieve the right hand of all the wear and tear, 
but leaves it free for those often used keys such as Enter and Delete. It 
can even reduce the stresses on the mouse hand because you can usually 
press Enter instead of having to click on OK (although of course MapInfo 
has several areas where this is a pain as well!).

One suggestion that might reduce the strain is to look at the voice 
activated systems that allow you to operate menus verbally  -  I guess you 
will still need something to point with, but it may reduce the strain.

Good luck

Mark Knudsen
__

 Veitch Lister Consulting Pty LtdPhone: +61 3 9427 7400
 Suite 14663 Victoria Street Fax: +61 3 9427 0481
 ABBOTSFORD  VIC  3067   email: [EMAIL PROTECTED]
__

-Original Message-
From:   Vicky Higgins
Sent:   Thursday, June 15, 2000 9:06 AM
To: [EMAIL PROTECTED]
Subject:MI HELP!

I have been mapping with MapInfo for 3+ years.

While I use a light grip on my Intellimouse, the 
hours-days-weeks-months-years
have taken their toll.
I have cause some irreparable nerve damage to my right arm.

Has anyone used, or know of any, alternatives to a mouse?

I have looked at the "Smart Cat" by Cirque, but it appears to still require 
some
hand-draping over the device.

If there is any help out there, I would greatly appreciate it.


Vicky Higgins
Atlanta


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI HELP!

2000-06-15 Thread Tim Rood

My comment is way off base compared to others, but I've been a pretty
active swimmer for a long, long time and I've never had a wrist or hand
problem from also being a mouser for a long, long time.  I don't know if
swimming is a good cure for the problem, but it's my experience is that
it's a good preventative. So, move some water with your wrist and arms and
they'll grow stronger---just don't wreck your shoulder doing it!
Tim Rood
Ravenna Planning Associates
Seattle, WA

--
 From: Lindsay Giles [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: RE: MI HELP!
 Date: Thursday, June 15, 2000 8:40 AM
 
 Good call!
 I switched about 7 years ago to a left-handed mouse because the keyboard 
 itself is not configured efficiently for GIS or other technical 
 applications. Anything requiring numeric input means that a right-handed 
 mouser needs to continually move the right hand back and forth from the 
 mouse to the numeric keypad - a real pain in more ways than one. For
those 
 who maintain that they "just couldn't" mouse left-handed, you would be 
 amazed how quickly you become proficient. It helps your work flow, and, 
 since doing this full time since Win 3.0 was a gleam in Bill Gates' eye,
I 
 have never suffered from any wrist/arm disorders (I won't talk about any 
 lingering mental disorders...).
 
 Happily converted southpaw,
 
 Lindsay Giles
 Senior GIS Analyst
 
 AXYS Environmental Consulting Ltd
 Suite 600-555 4th Ave. SW
 Calgary, AB
 T2P 3E7
 
 e-mail:   [EMAIL PROTECTED]
 Main Office:  403-269-5150
 Direct Line:  403-750-7671
 Fax:  403-269-5245
 
 
 -Original Message-
 From: Mark Knudsen [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, June 14, 2000 9:34 PM
 To:   'Vicky Higgins'; [EMAIL PROTECTED]
 Subject:      RE: MI HELP!
 
 Vicky,
 
 Sorry to hear about your problem.
 
 I am not being facetious, but I would suggest to everyone who suffers
from 
 hand/wrist problems when mousing to try switching hands. It is amazing
that 
 we use our right (or left) hands for something like using the mouse
simply 
 because we are right (left) handed. I was suffering from aches, pains, 
 tingling, weakness, etc in the right wrist and hand so switched to
mousing 
 with the left hand - it wasn't all that difficult.
 
 Not only does this shift relieve the right hand of all the wear and tear,

 but leaves it free for those often used keys such as Enter and Delete. It

 can even reduce the stresses on the mouse hand because you can usually 
 press Enter instead of having to click on OK (although of course MapInfo 
 has several areas where this is a pain as well!).
 
 One suggestion that might reduce the strain is to look at the voice 
 activated systems that allow you to operate menus verbally  -  I guess
you 
 will still need something to point with, but it may reduce the strain.
 
 Good luck
 
 Mark Knudsen
 __
 
  Veitch Lister Consulting Pty Ltd  Phone: +61 3 9427 7400
  Suite 14663 Victoria Street   Fax: +61 3 9427 0481
  ABBOTSFORD  VIC  3067 email: [EMAIL PROTECTED]
 __
 
 -Original Message-
 From: Vicky Higgins
 Sent: Thursday, June 15, 2000 9:06 AM
 To:   [EMAIL PROTECTED]
 Subject:  MI HELP!
 
 I have been mapping with MapInfo for 3+ years.
 
 While I use a light grip on my Intellimouse, the 
 hours-days-weeks-months-years
 have taken their toll.
 I have cause some irreparable nerve damage to my right arm.
 
 Has anyone used, or know of any, alternatives to a mouse?
 
 I have looked at the "Smart Cat" by Cirque, but it appears to still
require 
 some
 hand-draping over the device.
 
 If there is any help out there, I would greatly appreciate it.
 
 
 Vicky Higgins
 Atlanta
 
 
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
 
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
 
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help!

2000-06-15 Thread Tim Warman

I'm afraid I deleted the suggestion about switching the mouse to the left
hand, but a big thanks to whoever it was. My right wrist and hand have been
bugging me for months, so I tried the switch this morning and it works
great. It's amazing how quickly you can get used to mousing with your left
hand, especially once you reprogram the mouse buttons. I'm not quite as
accurate just yet, but I'm sure I will be in a day or two.

Cheers,

_
Tim Warman
Geologist  GIS Specialist
Richard C. Slade  Associates
North Hollywood, CA
(818) 506-0418

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI HELP!

2000-06-14 Thread Mark Knudsen

Vicky,

Sorry to hear about your problem.

I am not being facetious, but I would suggest to everyone who suffers from hand/wrist 
problems when mousing to try switching hands. It is amazing that we use our right (or 
left) hands for something like using the mouse simply because we are right (left) 
handed. I was suffering from aches, pains, tingling, weakness, etc in the right wrist 
and hand so switched to mousing with the left hand - it wasn't all that difficult. 

Not only does this shift relieve the right hand of all the wear and tear, but leaves 
it free for those often used keys such as Enter and Delete. It can even reduce the 
stresses on the mouse hand because you can usually press Enter instead of having to 
click on OK (although of course MapInfo has several areas where this is a pain as 
well!).

One suggestion that might reduce the strain is to look at the voice activated systems 
that allow you to operate menus verbally  -  I guess you will still need something to 
point with, but it may reduce the strain.

Good luck

Mark Knudsen
__

 Veitch Lister Consulting Pty LtdPhone: +61 3 9427 7400
 Suite 14663 Victoria Street Fax: +61 3 9427 0481
 ABBOTSFORD  VIC  3067   email: [EMAIL PROTECTED]
__

-Original Message-
From:   Vicky Higgins 
Sent:   Thursday, June 15, 2000 9:06 AM
To: [EMAIL PROTECTED]
Subject:MI HELP!

I have been mapping with MapInfo for 3+ years.

While I use a light grip on my Intellimouse, the hours-days-weeks-months-years
have taken their toll.
I have cause some irreparable nerve damage to my right arm.

Has anyone used, or know of any, alternatives to a mouse?

I have looked at the "Smart Cat" by Cirque, but it appears to still require some
hand-draping over the device.

If there is any help out there, I would greatly appreciate it.


Vicky Higgins
Atlanta


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help in creating points!

2000-06-12 Thread Trammell, Nathaniel A.

Perhaps if you defined the steps you took to get all your points plotted on
one spot, I can answer better.

Create points, Centroid X, then Centroid Y should place them accurately for
you.

Are you certain that all your rows are coordinates of differing values?  (A
simple mistake that can have far-reaching ramifications).

I've spent much time in erroneous input with these, so I understand your
plight.  :-)

Nat


 -Original Message-
 From: Jackie Soto [SMTP:[EMAIL PROTECTED]]
 Sent: Sunday, June 11, 2000 3:10 PM
 To:   [EMAIL PROTECTED]
 Subject:  MI Help in creating points!
 
 
 I have a list of cemeteries with lat and long coordinates. I want to
 make points that will show the cemeteries on the map. I tried creating a
 dbase file and opening the file and creating points. The problem I am
 getting is that it is creating one point for all the cemeteries.
 
 What am I doing wrong? Any help is appreciated.
 
 Sincerely,
 
 Jackie
 [EMAIL PROTECTED]
 
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help in creating points!

2000-06-12 Thread Fran Peck

Jackie,
You might check to make sure that the longitude is the Centroid X, and
latitude is Cenroid Y. Reversing them creates havoc in the coverage! Short
of that, double checking the format of the lat longs would be my next step. 

Fran Peck
Peoria Unified School District
6330 W Thunderbird Rd
Glendale, AZ 85306
Voice: 623-486-6099
Fax: 623-486-6111
Email: [EMAIL PROTECTED] 

 -Original Message-
 From: Jackie Soto [SMTP:[EMAIL PROTECTED]]
 Sent: Sunday, June 11, 2000 3:10 PM
 To:   [EMAIL PROTECTED]
 Subject:  MI Help in creating points!
 
 
 I have a list of cemeteries with lat and long coordinates. I want to
 make points that will show the cemeteries on the map. I tried creating a
 dbase file and opening the file and creating points. The problem I am
 getting is that it is creating one point for all the cemeteries.
 
 What am I doing wrong? Any help is appreciated.
 
 Sincerely,
 
 Jackie
 [EMAIL PROTECTED]
 
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help!!! how to translate Arc/Info GRID image to be used in MapInfo

2000-05-26 Thread Lindsay Giles


Hi folks -
Having just been through this, I may have a solution, although a bit 
kludgey. I had ArcInfo/ArcView grid files which I needed to display in MI. 
My first thought was convert to shapefile in AV spatial analyst and import 
into MI but there were a few problems. First, the shapefile translation 
process generalizes the data a bit, but I could live with that. Second, the 
resulting shapefile does not seem to be topologically valid, even for 
ArcView. It will display in AV, but that's about it. I had little success 
with Universal Translator, Blue Marble's Geographic Explorer or the old 
shapelink to bring it into MI - MIF or TAB. AutoCAD 14 allowed it to 
translate successfully, but the resulting product was impossible to work 
with. What seemed to fail in the translation was that some of the polygons 
were too complex to be created.

Another way out was to export the grid from AV into an ASCII file and then 
convert that to a point file in MI and regrid it in Vertical Mapper. For 
2,000,000 points it wasn't worth it. Neither was writing a reformatter to 
turn the ASCII file into a USGS DEM file which could be imported by VM.

The final method was to capture the image as a graphic and then register it 
in MI. AV gives a few options in this, but with some pitfalls. Thw WMF 
options were useable, but they weren't importable into MI. The BMP option 
seemed to be the optimal choice, but the colours came out mangled - on 
further checking, this seems to be a documented problem with AV. Working 
down the list, I tried PostScript output next (I didn't want to lose too 
much resolution in the process) but the output was monochrome. The next one 
I tried was CGM Binary (Computer Graphics Metafile). This worked well - it 
maintained the resolution and the colours were carried over exactly. The 
only twist is that I had to bring this into Corel 7 and export it as a 
TIFF. I registered it in MI as a raster image and it worked fine.

My conclusion from all this was my belief that ESRI products were never 
designed to share their data easily - everyone and their dog writes export 
routines to save in their competitors' format,  or publishes file formats - 
except ESRI.

Lindsay Giles
Senior GIS Analyst

AXYS Environmental Consulting Ltd
Suite 600-555 4th Ave. SW
Calgary, AB
T2P 3E7

e-mail: [EMAIL PROTECTED]
Main Office:403-269-5150
Direct Line:403-750-7671
Fax:403-269-5245
Visit our web site at http://www.axys.net



-Original Message-
From:   Tony Elson [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, May 25, 2000 7:38 PM
To: xiaoping gong; [EMAIL PROTECTED]
Subject:Re: MI Help!!! how to translate Arc/Info GRID image to be used in 
MapInfo
[]
+AD4- Hello, there
+AD4-
+AD4- I have a Arc/Info Grid image which is a fold of files and I'd like to 
be
+AD4- used in MapInfo as either Grid layer or Vector layer. I have tried
+AD4- ArcLink but it seems ArcLink does not support GRID format. It simply
+AD4- skips the GRD section in +ACo-.E00 file where has all raster data.
+AD4- So Is there anyone over there know any solution for that?
+AD4- Thanks in advance.
+AD4-

You could try using ArcView with 3D Analyst if it is available to you.  You
can convert the grid to a shapefile which I think if memory serves me
correctly, will create the cells as polygons.  The Universal Translator
should do the rest for you.

Can you also not try to convert the grid to a vector file from within
ArcInfo itself, than translate the .e00 fiel?

Don't know if this helps.

Regards


-
Tony Elson
GIS Consultant
  File: ATT0.txt; charset = UTF-7  

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help!!! how to translate Arc/Info GRID image to be used in MapInfo

2000-05-25 Thread Tony Elson


+AD4- Hello, there
+AD4-
+AD4- I have a Arc/Info Grid image which is a fold of files and I'd like to be
+AD4- used in MapInfo as either Grid layer or Vector layer. I have tried
+AD4- ArcLink but it seems ArcLink does not support GRID format. It simply
+AD4- skips the GRD section in +ACo-.E00 file where has all raster data.
+AD4- So Is there anyone over there know any solution for that?
+AD4- Thanks in advance.
+AD4-

You could try using ArcView with 3D Analyst if it is available to you.  You
can convert the grid to a shapefile which I think if memory serves me
correctly, will create the cells as polygons.  The Universal Translator
should do the rest for you.

Can you also not try to convert the grid to a vector file from within
ArcInfo itself, than translate the .e00 fiel?

Don't know if this helps.

Regards


-
Tony Elson
GIS Consultant

Geographic Technologies Limited
PO Box 6015
Wellesley Street,
Auckland, New Zealand

Ph: +-64 9 379 2061 x107
Cell:   025 278 4896
Fax:   +-64 9 379 2044
Email:tony.elson+AEA-gtech.co.nz
   jaceng+AEA-clear.net.nz
URL:  www.gtech.co.nz
--

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help on Bar Chart Map

2000-03-30 Thread Lavoie, Claude

I had the exact same problem with a pie chart a couple of weeks ago (and
actually did not find any solution to it); would you please forward any
solution to me as well.

Thanks in advance.

_

Claude Lavoie
Service du soutien à la clientèle
Direction des technologies de l'information
Ministère des Transports du Québec
35, rue de Port-Royal Est, salle 5.00 a
Montréal (Québec)
H3L 3T1

Téléphone:  (514) 873-6280
Télécopieur:(514) 873-8203
Courriel:   mailto:[EMAIL PROTECTED]
_


-Message d'origine-
De: Chiu Luk [mailto:[EMAIL PROTECTED]]
Date: 29 mars 2000 14:49
À: [EMAIL PROTECTED]
Objet: MI Help on Bar Chart Map


In making a bar chart thematic map, I discovered that the bar heights inside
each map object (e.g. a census tract) are out of proportion of the bar shown
in the legend.  I cannot find any clue from the Help pages.  Anyone could
help me to solve this problem?  (I am working with MapInfo version 5.5)
Many thanks.


Chiu LUK
Policy  Research Section
Urban Development Services
City of Toronto

Correspondence:
Chiu Luk
Urban Development Services
East District Office, City of Toronto
150 Borough Drive
Scarborough Civic Centre
Toronto, ON M1P 4N7

Phone: (416) 396-7031
Fax: (416) 396-4265
E-mail: [EMAIL PROTECTED]


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help!! Why do I get a .MBO file?

2000-03-11 Thread GeoInfo Solutions Ltd.

Stephen

At 11:54 PM 3/10/00 -0500, you wrote:
Greetings,
And just when I thought I was getting the hang of MB/MI.  When I compile my
code, MB now compiles it as a .MBO file.  I don't know why it does that --
it was compiling fine (i.e., .MBX) before.

  Then, all of a sudden, it
starts compiling as .MBO.
Compare the version of code before it started compiling as an mbo.  If you
don't save multiple versions in the future you are going to spend alot of
time guessing.

The basic difference is likely that you started using sub end sub to
organize your code, OR, you removed a code statement which existed outside
of a sub end sub at the top of your program.  This statement was used by
the mbx as an implied 'main' procedure.  Once you do this, you need to
declare a sub main end sub.  This is where programs tend to be initiated.
Search Help 'main'

The benefit and use of mbo and project files is that you can link various
mb -- mbo files together into one mbx.  You will discover this later when
you are not able to create any more code in a single mb file.  Search Help
'mbo'

Brad

GeoInfo Solutions Ltd.
mailto:[EMAIL PROTECTED]
http://www.geoinfosolutions.com
phone/fax 250-656-7170
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help!! Why do I get a .MBO file?

2000-03-11 Thread Michael Jenne

Stephen,
A very common reason for this is that you probably have written code that
refers to a sub that is declared but not actually present.  As an example,
the following:

Declare Sub MAIN
Declare Sub DUH

Sub MAIN
Call DUH
End Sub

---will compile as an MBO.  DUH is declared, but not written.

On the other hand---

Declare Sub MAIN

Sub MAIN
Call DUH
End Sub

---will report errors when compiling.  DUH is called, but not declared.

But the following---

Declare Sub MAIN
Declare Sub DUH

Sub MAIN
Call DUH
End Sub

Sub DUH
End Sub

will compile as a MBX, even though there's actually nothing in DUH.  I
hope all this helps.  Good luck.

Mike Jenne
JCSI





At 11:54 PM 3/10/00 -0500, Stephen R. Riese wrote:
Greetings,
And just when I thought I was getting the hang of MB/MI.  When I compile my
code, MB now compiles it as a .MBO file.  I don't know why it does that --
it was compiling fine (i.e., .MBX) before.  Then, all of a sudden, it
starts compiling as .MBO.  And, of course .MBO files don't run by
themselves in MI.  Is there something I entered in the code that makes do
this?  I've tried Save As, renaming the file, cutting and pasting into a
new file, but it always comes out as .MBO.  My other files still compile as
.MBX. The help files and users manuals (both MI and MB, version 5.0) aren't
helpful.
Please help me get the .MBX files back.
Thanks,
Steve Riese

[EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
 
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help with Printer Speed/Size Issues...

2000-03-07 Thread Gabor Vasarhelyi

I understand Mapinfo's "propress" will help with this process.
Catch is the price
Gabor
-Original Message-
From:   Wyzard [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, March 07, 2000 2:39 PM
To: [EMAIL PROTECTED]
Subject:MI Help with Printer Speed/Size Issues...

I am running MapInfo 5.5 under windows NT.  I'm trying to print some rather 
complex print jobs and they are taking a long time to print.  These prints 
spool to about 19MB and can take over an HR to print. The printer I am 
using is an HP LaserJet 4500. Is there anyway I can speed up the process? 
With the printer only having a 133MHz processor, it would seem like a 
better idea to have a computer process the data for the printer, then just 
send to the printer to be printed. Is this possible by a software product 
out there?  Also, I have this same problem with my DesignJet 750C+.
Thanks for the help.
Chris

  File: ATT0.html  
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: [MI help help help hlp help no puedo registrarme]

2000-03-06 Thread Jo Jordon Consulting Inc.

ENGLISH TRANSLATION BELOW:
[EMAIL PROTECTED] wrote:
 por mas que intento, no puedo registrarme y me sale un mensaje de error de
que la coneccion a superado el tiempo (conection time out) y no puedo obtener
mi pasaporte por esta causa.
 por favor ayudenme.
  
 atte. klark
  
 p.d.  escribir respuesta a [EMAIL PROTECTED] 
 
 Abre gratis una cuenta de email en StarMedia Mail. El mejor servicio de
email gratis de toda Latinoamérica. http://www.starmedia.com
 

Klark,

No se si estan problemas de las linguas, o sus conexion.  Ud. escriben de que
pais?  Cuantos tiempos hay Ud. tenta a recibir un pasaporte?

Para sus ayudar, yo hay incluir el destinatario Tech Support a MapInfo.
Excusa-me para mi espanol.  No hay lo utilizar para muchos anos.

Jo

MI Tech Support,

Klark has attempted to acquire a MI Passport, however he has experienced
connection timeouts.  I have told him that I do not know if it a problem with
the languages or his connection.  I have also asked him to respond with the
country his is trying to connect from and the number of times he has tried to
get a passport.

If you can help him out, I am certain it would be greatly appreciated.  If you
need further translation assistance, I will struggle along...

Jo Jordon
Native English, Fluent German, Conversant French and Really Rusty Spanish
Translation and Interpretation Services...


Jo Jordon Consulting
MapInfo Certified Instruction
Vertical Mapper Certified Instruction
GIS Consulting
www.geocities.com/jordonjv
[EMAIL PROTECTED]



Get free email and a permanent address at http://www.netaddress.com/?N=1
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI help numbering items

2000-03-06 Thread Martin Roundill

Hi Brian,

You could use the ROWID function.

label the objects with the ROWID (use the expression option and type in
ROWID)
print the map

I tried using a 'select rowid "ID", col1, col2... from mytable' to get a
numbered list but it didn't work so here is a work around: (someone may be
able to tell me why this didn't work - MapInfo 5.0)

browse the table
use the Browse/Pick Fields menu option
select the fields you want to print out
Add another field (select any one and move it to the top)
Change the name to ID or something similar
Change the Expression to ROWID

select Ok
Print the table

QED

Regards

Martin

==
Martin Roundill
GIS Manager
Waitakere City Council
Private Bag 93109
Henderson
Waitakere City
New Zealand

-Original Message-
From: Main, Brian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 7 March 2000 08:17
To: '[EMAIL PROTECTED]'
Subject: MI help numbering items


Here's the situation that I have a solution for, but the solution is not the
best.

I am given data from the client in a mapinfo table.  now the client wants
each building numbered when they are plotted out so that they can look on
the hard copy of the table and look on a hard copy of a map.  here's what I
do to solve this problem.  first I copy the tables into a new directory,
open the copied tables up and add a new field to them then save them as
access files.  then I copy the MAPINFO_ID column into the new column and
open the new table in mapinfo.  This works to a degree but we also work with
other companies who will send us updated files so the whole process has to
be redone. this quickly makes too many different tables and can cause
problems.  is there a way to number the items without creating new tables
and/or adding new columns?  I've tried to access the "MAPINFO_ID" column but
I think I've found out that you can not.  for reference I am using MapInfo
Pro v5.5  any help is greatly appreciated.  Thanks.

Bryan
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI, Help with exporting EPS for offset printing

2000-02-23 Thread John Watson

Hello Tim,

What a familiar problem.

We had a similar experience building an E sized geological map for Yemen.
This was a couple of years back, but what we did was to create an EPS file
as you have.  We then imported the EPS into Corel Draw as an interpreted
Postscript.  This creates vectors within Corel.  Once the map is in Corel
you can modify the colors to CMYK in a number of different ways.

Another option is to send the EPS file to a commercial printer with a high
end RIP (raster image processor)  Once the EPS is RIPed you can take the
resulting raster into something like Photo Shop and Manipulate the colour
model there.

I've have several years experience dealing with this problem and I can't say
that there is an easy solution, but we were able to work around the problem
and get very nice results.

Feel free to give me a call if you are really stuck.

John Watson
Advanced Information Marketing (AIM)
(403) 247-5736
[EMAIL PROTECTED]




-Original Message-
From: Tim Smith - Parks Dept [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Date: Wednesday, February 23, 2000 3:25 PM
Subject: MI, Help with exporting EPS for offset printing


Hello,

I just joined the list and I'm hoping someone can help me with this
situation.

We have completed a very detailed Open Space Map of the City of Boston and
are trying to send it to a print shop for high-quality printing.  The map
is
ANSI E size and we need to print 500 copies.

After much trouble locating the proper postscript driver, we were able to
create a valid EPS file.  But, since MI works with RGB colors there is a
need to convert the image to CYMK colors to produce the offset plates.

I was told by someone at the print shop that merely using the "convert to
CYMK" command in Illustrator will not work because the blacks will not
fully
convert to CYMK black.  Nor will the "Overwrite black" command. He said the
only solution is to manually select each black object and change its color
to 100% black.  There are over 15,000 black objects on the map and this is
not a practical solution.

After reviewing the MI-list archives, I downloaded MAPublisher, trial
version, but that doesn't seem like it will help at this point.  We really
don't want to rebuild the map layout.

Does anyone have any experience with this?  Is there a reasonably
affordable
way to produce 500 ANSI E prints of high-quality?

Also, we used Arial fonts in MI, which I don't think is a postscript font.
Is this going to be a problem?

Any advice is appreciated.  Thanks in advance.


Tim Smith
Urban Wilds Project Manager
Boston Parks
617-635-4505, ext. 6511
617-635-3256, fax


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help needed for Ecological problem

2000-02-08 Thread Jack Wierzchowski



How 
about opening up multiple copies of your polygon table (you may have to rename 
them) and create separate thematic maps showing different "themes". You can then 
play with the order of the layers to show it in the clearest 
way.
Jack

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Lavinia IrvingSent: February 8, 2000 7:04 
  AMTo: [EMAIL PROTECTED]Subject: MI Help needed for 
  Ecological problem
  I need to locate multiple data items into a single 
  polygon. Mapinfo will only allow a single data item to occupy a single 
  polygon using create thematic map. I want my data to exist in a 
  polygon as a dot denstiy of individual pieces of data. The data is 
  butterfly recorded sightings at a number of different sites where each species 
  needs to be represented within each polygon, representing site, in order to 
  make the dataset useful. Can someone help me with 
this?


RE: MI Help needed for Ecological problem

2000-02-08 Thread Robert Crossley

I would experiment with the update column command (Table  Update column). 


Choose the table to update as being the polygon table,
the table to get the data from as the site coverage;
the join criteria as being where the object in the polygon table contains 
the object of the sites table (accessed by the join button),
the column to update as "Add a temporary column" and
the values as (Calculate) sum of the number of sitings of a species.

Then just do a dot density thematic on the

This processure does not change the data in your tables, but adds a 
temporary column that is reproduced if you save a workspace.  Thus change 
the data in sites and the next time you open your workspace, it will show 
the changes automatically.

You can also do this from thematic mapping by choosing
Then just do a dot density thematic on the polygon table, choose the option 
join for the column in step 2, and choose the sites tables and sum the 
number of values etc. as above.

Hope this helps

Robert

-Original Message-
From:   Lavinia Irving [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, February 09, 2000 1:04 AM
To: [EMAIL PROTECTED]
Subject:MI Help needed for Ecological problem

I need to locate multiple data items into a single polygon.  Mapinfo will 
only allow a single data item to occupy a single polygon using create 
thematic map.  I  want my data to exist in a polygon as a dot denstiy of 
individual pieces of data.  The data is butterfly recorded sightings at a 
number of different sites where each species needs to be represented within 
each polygon, representing site, in order to make the dataset useful.  Can 
someone help me with this?
  File: ATT6.htm  
--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI Help needed for Ecological problem

2000-02-08 Thread Peter Wainwright

Have you considered presenting your data as histograms (numbers of each 
butterfly species) at the centroid of each polygon with the polygon theme 
(outlines only, no fill) as a background?



Peter Wainwright, LGL Limited
9768 Second St. Sidney, BC, Canada V8L 3Y8
(250) 656-0127 voice (250) 655-4761 fax
http://www.lgl.com
e-mail: [EMAIL PROTECTED]

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help creating an EPS file from MapInfo for offset printing

1999-12-22 Thread Charles Huyck



There is a freeware program called ghostscript that will do it. If you do a web
search it should show up.  Open the image and save as .eps.  It's also good for
creating jpgs from layouts.


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



Re: MI Help creating an EPS file from MapInfo for offset printing

1999-12-22 Thread Rod Dawney



Gary,
I'd like to use this opportunity to wish all on the list BEST WISHES
FOR THE FESTIVE SEASON and a HAPPY AND PROSPEROUS NEW YEAR. Thanks
to you all for such a great resource - special thanks to Bill and to those
heavy and/or compulsive contributors.
Now to your problem Gary,
Our printer (i.e. the company that produces our colour sep films, proofs
etc.) handles eps files from the HP driver we use without any problems.
The driver is for the HP2500CP PS3 - choose "encapsulated PostScript"
in printer setup, and when you print to file, change the file extension
from .prn to .eps. Works for us.
Also, for maps like yours, we developed a process of CMYK colour separating
in MapInfo, including dialing in the precise CMYK colour we want - no need
for any other intermediate program before sending files to printer for
proofing. This has advantages in some cases.
Regards
Rod Dawney
-
 AUSMEC - Australasian Mineral Exploration
Consultants
 PO Box 183, Albert St PO, Brisbane, Queensland, 4002 AUSTRALIA
 Phone:
61 7 32100249 Fax: 61 7 32294554
Email: [EMAIL PROTECTED] Web: http://www.ausmec.gil.com.au
-
Gary Labelle wrote:

Hi and Seasons Greetings,I
really have a problem here. I have created a map of Argentina in MapInfo
(Metallogenic Map) and I now need to produce film for offset printing.
The HP driver I am using produces nice output as a postscript .ps file
which converts nicely to Acrobat .pdf but I cannot figure out how to go
to .eps which is what the printer wants to produce film. The map is 48"
x 32".Any help and I would be indebted to you
in the future.Gary Labelle





RE: MI Help for MapInfo Uncombine ?

1999-12-20 Thread Warren Vick, Europa Technologies Ltd.

Hello Jon Petter,

On the surface of it, an uncombine function doesn't seem complicated, but
from experience I know there are several things that complicate the
solution.

MB provides an easy way of extracting the Nth polygon from a region using
the ExtractNodes() function. If the begin_node and end_node arguments are
both 1, you get the Nth whole polygon. So, this will give you a way of
extracting individual polygons, then using the area() function you can
perform your "threshold" test.

The difficult part comes with determining whether a polygon is an "include"
or "exclude". For example, a donut would be 2 polygons, 1 include and 1
exclude. However, not all 2 polygon regions are donuts - you can quite
easily have 2 disjoint includes. Also, you can nest inclusion and exclusion
zones to create more complex regions. Finally, the first polygon in a region
is not guaranteed to be an include. So, even with a simple donut, the hole
may be expressed as the first polygon.

Regards,
Warren Vick
Europa Technologies Ltd, U.K.
http://www.europa-tech.com


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Jon Petter Nielsen
 Sent: Monday, December 20, 1999 3:01 PM
 To: '[EMAIL PROTECTED]'
 Subject: MI Help for MapInfo "Uncombine" ?


 Hi
 I am trying to develop a function to perform "uncombine" on
 multi-polygon regions. Then classify them based on area values ("Remove
 all smaller than ...")
 - Anyone programmed this in MapBasic ?
 - Am I able to perform this by looping the polygons using data from
 ObjectInfo ?
 - How, in general, to detect which polygons are islands and which are
 not ? Example : Donut region = 2 polygons.

 Jon Petter Nielsen
 InfoWiz AS, Oslo Norway,
 [EMAIL PROTECTED]
 +47 2296 1563
 --
 To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
 "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]


--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



RE: MI help

1999-10-19 Thread Warren Vick, Europa Technologies Ltd.

Hello Susan,

 I think this might be a fairly easy one (I hope!)  I'm trying to build an
 array based off of user input.  In the custom dialog there will only be on
 Edit Text box for the user to input the data.  There will also be
 a Control Button titled "Next".  The gist of it being that after the user
inputs a
 string/value in the edit text box and clicks "next" the value
 will be stored and the edit text box cleared so that the next value can be
 inputted.  I've tried a few different things (readcontrolvalue etc. but to
no avail) Any
 suggestions (I'm limited to MB)?

You have a choice of re-using or re-starting your dialog. To re-use it, you
need to use the "alter control ..." statement to clear the text of the
message box. To restart it, just arrange your code so that the "Next"
button is an "okbutton" which dismissed the dialog, and loop around to call
the "dialog ..." statement again.

One thing to think about is that most user use the mouse to press buttons
and not any keyboard shortcuts. So, your user will probably be switching
between typing, mouse click several times. I don't know how many entries
you're expecting from the user but I think a better solution would be to use
a larger dialog with a reasonably sized text box. Put a note on the dialog
asking the user to enter their value using a comma (or other) separator.
Then, when they hit "OK", it's quite straight forward to write an MB loop
which runs through the entered string and extracts the sub-strings/numbers
for your array.

Regards,
Warren Vick
Europa Technologies Ltd, U.K.
http://www.europa-tech.com

--
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]