MI export text from layout...

2000-02-09 Thread Daniel Groleau

Hi community,

We did our legend directly from our layout. Those legend have a lot of text 
in it and we now need those legend in a freehand document. I'm using 
mapublisher to import my mapinfo table into freehand and it's working fine. 
My problem is that i can't get the text from my layout and import it to 
freehand as an editable object not as an image. Is there a solution. Thanks.
__
Get Your Private, Free Email 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]



RE: Street number in geocoding - MI5.5

2000-02-09 Thread Trammell, Nathaniel A.

Ian,

Something I don't understand is why you have your addresses broken down into
separate columns.  MI will geocode if all the address information is in the
same column.. I have had success using that method.

Perhaps someone else will have a more thorough idea of your plight.  For me,
to have it all in one column works quite well, as you need.

Good luck!

 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, February 08, 2000 4:19 PM
 To:   [EMAIL PROTECTED]
 Subject:  Street number in geocoding - MI5.5
 
 I've got a novice question about interactive geocoding, and I don't see
 a clue in the Mapinfo Professional 5.5 manual:
 
 Would someone please tell me 
 1) what, if anything, controls the fields which are displayed during
 interactive geocoding, 
 2) and how I can control that function?
 
 Details:
 I'm geocoding a file of ticket  pass outlets, against a map file of San
 Antonio streets  (Bexardsl.TAB  if you're interested).  Each street is
 represented by several segments.
 In the file to geocode, street number is in the 2nd column and street
 name is in the 3rd column.
 In the map file (Bexardsl.tab), street name is in a column separated
 from (four) odd and even street number columns (left and right sides:
 leftadd1, leftadd2, rightadd1, rightadd2.)
 
 I understand the usual display while interactive geocoding is executing,
 is street and street number, so I can examine the address and pick the
 most appropriate one.
 But that's not what is happening.  It's just displaying
 "Fredericksburg   Road" twenty times
 and not  "2000 Fredericksburg Road"
   "3000 Fredericksburs Road" etc.
 
 Naturally I have problems picking out the correct segment of
 Fredericksburg Road.  Or any other street or road.  
 I CAN arbitrarily pick one from the display, let it run to the end, then
 click-and-drag to move my map pin; but there are a lot of points to deal
 with, and with this non-solution the initial geocoding errors are easily
 several miles.
 
 Would someone please tell me 
 1) what, if anything, controls the fields which are displayed during
 interactive geocoding, 
 2) and how I can control that function?
 
 Ian Straus
 Market Research Specialist
 VIA Metropolitan Transit
 San Antonio, Texas
 
 --
 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: Street number in geocoding - MI5.5

2000-02-09 Thread Ian . Straus

Nathaniel -  Thanks, I got another reply to the same effect.
Actually, "why" is that I inherited both files from other folks; and
thought that if the map file carried addresses separate, and was
supposedly made for Mapinfo (bought from a service by VIA and the MPO) ,
then the file to be geocoded could have a similar structure.
I'd think that such parameters for a usable file would be in the manual.
But, of course, not.

Ian

 -Original Message-
 From: Trammell, Nathaniel A. [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, February 09, 2000 7:51 AM
 To:   [EMAIL PROTECTED]; '[EMAIL PROTECTED]'
 Subject:  RE: Street number in geocoding - MI5.5
 
 Ian,
 
 Something I don't understand is why you have your addresses broken
 down into
 separate columns.  MI will geocode if all the address information is
 in the
 same column.. I have had success using that method.
 
 Perhaps someone else will have a more thorough idea of your plight.
 For me,
 to have it all in one column works quite well, as you need.
 
 Good luck!
 
  -Original Message-
  From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
  Sent:   Tuesday, February 08, 2000 4:19 PM
  To: [EMAIL PROTECTED]
  Subject:Street number in geocoding - MI5.5
  
  I've got a novice question about interactive geocoding, and I don't
 see
  a clue in the Mapinfo Professional 5.5 manual:
  
  Would someone please tell me 
  1) what, if anything, controls the fields which are displayed during
  interactive geocoding, 
  2) and how I can control that function?
  
  Details:
  I'm geocoding a file of ticket  pass outlets, against a map file of
 San
  Antonio streets  (Bexardsl.TAB  if you're interested).  Each street
 is
  represented by several segments.
  In the file to geocode, street number is in the 2nd column and
 street
  name is in the 3rd column.
  In the map file (Bexardsl.tab), street name is in a column separated
  from (four) odd and even street number columns (left and right
 sides:
  leftadd1, leftadd2, rightadd1, rightadd2.)
  
  I understand the usual display while interactive geocoding is
 executing,
  is street and street number, so I can examine the address and pick
 the
  most appropriate one.
  But that's not what is happening.  It's just displaying
  "Fredericksburg   Road" twenty times
  and not  "2000 Fredericksburg Road"
  "3000 Fredericksburs Road" etc.
  
  Naturally I have problems picking out the correct segment of
  Fredericksburg Road.  Or any other street or road.  
  I CAN arbitrarily pick one from the display, let it run to the end,
 then
  click-and-drag to move my map pin; but there are a lot of points to
 deal
  with, and with this non-solution the initial geocoding errors are
 easily
  several miles.
  
  Would someone please tell me 
  1) what, if anything, controls the fields which are displayed during
  interactive geocoding, 
  2) and how I can control that function?
  
  Ian Straus
  Market Research Specialist
  VIA Metropolitan Transit
  San Antonio, Texas
  
 
 --
  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]



MI Sliver Tool

2000-02-09 Thread Mike Johnson



Hello,

I am interested in finding out if anyone knows of a tool to help in the
management of slivers.  I am looking for something that at the very least allows
you to set a sliver size and have MapInfo automatically merge polygons of that
size or smaller with a polygon that is adjacent.  In most cases it wouldn't
matter which polygon it chose, as the sliver size will generally be very small.
Ideally the tool would allow you to choose between 3 options - delete the
polygons, resymbolize the polygons and merge the polygons.  Any help would be
appreciated.

Michael Johnson
Champion Pacific Timberlands


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



MI Interstate and Route Shield Dilemma

2000-02-09 Thread Michael Hart

I am attempting to create a regional map of the Southeastern United States.
I would like to include multiple layers including the Route and Interstate
Shields.  My dilemma is, the default for Autoloader places Route and
Interstate Shields for every county as the default.  This is fine for a
small region, but when the scale is for a much larger region, the map
becomes very cluttered in almost unreadable.  Does anyone know of a way to
eliminate a number of these shields (i.e. MapBasic).  I know you can
eliminate these shields individually with the Shield Manager but this is a
long process.  Thanks in advance.

Regards,

Michael Hart


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



MI Tiling windows in MapBasic

2000-02-09 Thread Tim Warman

Lister,

After searching through the archives, I get the impression that there is no
simple MB programmatic way to replicate the Tile Windows function of MI. Can
anyone suggest a simple yet elegant solution?

TIA

_
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]



MI: MB: Line Intersection MapBasic App

2000-02-09 Thread John Hollingsworth

I have uploaded a line intersection MapBasic app to the Directions
Magazine site at the following link.

http://www.directionsmag.com/tools/default.asp?a=downloadfilename=IntPn
tTab.zipid=248

This program will create a point table of the intersecting points of two
line or polyline tables.  If any segment in the first table intersects
any segment in the second table,
then a point will be placed at that intersection.  In addition, text
from a specified
fields from both tables will be placed in the resultant table to
identify the point.

Additionally, the program will not add a point where the text values for
each segment are the same.  This condition is in place so only
intersections of roads with different names will get a point.

The source code is included.  Peer review and feedback are encouraged.

John Hollingsworth
The Buxton Company
[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]



MI News: Wireless Maps/GIS

2000-02-09 Thread glenn

New - http://www.spatialnews.com/wireless/news/

In an effort to help you find exactly what you need, SpatialNews.com has
added a new category of daily Geo-industry news headlines. The new area
is dedicated to "wireless" gis, mapping, gps, and related headlines.

Look for wireless mapping features, news, downloads, and other resources
in the near future.
You'll find this located at http://www.spatialnews.com/wireless/news/

If you have news, products, applications, downloads, or other relevant
material suitable for content  please contact us for more details.

Regards
Glenn Letham, editor
[EMAIL PROTECTED]
SpatialNews.com  GeoCommunity
www.geocomm.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]



MI: WTAvg

2000-02-09 Thread Charles Huyck



Does anyone know the formula MapInfo uses for it's WTAvg function?


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



MI Raster 2 Vector Recommendations

2000-02-09 Thread Carl Schaefer

Hello all,

I'm trying to evaluate some raster to vector software applications 
primarily for vectorizing contours from USGS mylar separates. 
Since no DLG's exist, I'm looking at vectorizing them myself along 
with DEM creation.

I've looked at information for R2V and LTDOS but can anyone 
comment on either of these packages or recommend something 
else? 

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



MI San Salvador Street Data

2000-02-09 Thread Eric Frost

Dear Mappers:

Our firm is preparing a quote for a few studies in San 
Salvador that requires detailed street data.

I received a price of several thousand $$ but the 
studies probably aren't that valuable and the project
will not fly, at least not with GIS -- we would
probably just use current paper maps.

Anyone know of a free or very inexpensive (less than
$1000) source for San Salvador street data around
the 1:10,000 to 1:25,000 scale? Any format would be 
fine I think..

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



MI Hawaii Lava Flow maps

2000-02-09 Thread Dan Munson



Hi Folks!

Looking for official maps of HI lava flows (all 
islands). USGS has them in paper format. Anyone have them in a GIS 
format?
Dan

Dan MunsonVP Sales  MarketingCDS 
Business Mapping800-746-7797Mapping for the Next 
Millennium(TM)


MI Converting .e00 and .shp errors

2000-02-09 Thread Daniel Groleau

Hi

A clent sent us is a file in both format (.e00 and .shp). It's the same 
file. To convert the file, i used ARCLINK for the e00 format and UNIVERSAL 
TRANSLATOR for the .shp. Both trys failed. The messages in the log file were 
the followings:

For e00:

section EXP - ignore
section ARC found - processing .
WARNING: ENULLS:
NULL character(s) found in export file.
Transforming NULLS to spaces.
Results of translation may not be correct.
WARNING: EBADEXP:
   Bad Export file.
Arc/Info Export file is not in expected format.
WARNING: EEOF:
Unexpected EOF found in export file
WARNING: EBLKRED:
Error reading export file block ARC, block #128
Error converting of Arc/Info export file h:\...


and the following for the shp file:

Read operation failed while reading shape record content.Failed reading 
record number 879757410
ShapeType found is '1219853656'. ShapeType expected is '5'
Read operation failed while reading shape record content.Failed reading 
record number 879757410
ShapeType found is '1219853656'. ShapeType expected is '5'
Rejected 1 feature(s) destined for MapInfo file 
H:\Base_geographique\Affectation\foret\PQ2000\pq2000.tab
Converted 6 feature(s) with no geometry into MapInfo `NONE' features in 
MapInfo file H:\Base_geographique\Affectation\foret\PQ2000\pq2000.tab
Read operation failed while reading shape record content.Failed reading 
record number 879757410
ShapeType found is '1219853656'. ShapeType expected is '5'
FME Session Duration: 2.5 seconds

Read operation failed while reading shape record content.Failed reading 
record number 879757410
ShapeType found is '1219853656'. ShapeType expected is '5'
Program Terminating

Translation FAILED.


My question is: Could somebody tell me exactly what does it mean. Is it the 
client file that is not good or is the problemm on my side. Thanks


__
Get Your Private, Free Email 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]



Vs: MI Tiling windows in MapBasic

2000-02-09 Thread Poul Skyum

The simple way is to call the Tile Windows-functionality by using:

  Run Menu Command 611

or 

  Include "MENU.DEF"
  Run Menu Command M_WINDOW_TILE

Otherwise you have to set the position and size of all windows individually.


Regards

Poul Skyum
Upgrade-GIS
[EMAIL PROTECTED]



- Oprindelig meddelelse - 
Fra: "Tim Warman" [EMAIL PROTECTED]
Til: "Mapinfo-L" [EMAIL PROTECTED]
Sendt: 09. februar 2000 18:37
Emne: MI Tiling windows in MapBasic


 Lister,
 
 After searching through the archives, I get the impression that there is no
 simple MB programmatic way to replicate the Tile Windows function of MI. Can
 anyone suggest a simple yet elegant solution?
 
 TIA
 
 _
 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]

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



MI Sum Tile Windows in MB

2000-02-09 Thread Tim Warman

Boy do I feel dumb.

Jason Adam and Tim Nuteson kindly pointed out that the correct answer is of
course:

"Run Menu Command M_WINDOW_TILE (if you've included "menu.def" in your
program), or else Run Menu Command 611."

Thanks to all,
_
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]



MI Exporting Large Map Images.

2000-02-09 Thread tod . obrien



Has anyone exported any large images of MapX maps?

   We have an app that the final map image output is 43x34.5 inches on plotter
sized maps.
   We want to export the map at twice that size  (86x69 inches) and drop it into
an HTML doc that has an image that's 43x34.5 to retain as much of the original
image resolution.
   The app crashs when exporting a file that big (86x69 inches).

   Thanks in advance for any insight.

   Tod O'Brien
   Blockbuster GIS


--
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 Raster 2 Vector Recommendations

2000-02-09 Thread Robert Crossley

there is one put out by the United Nations called MapScan that I am told is OK.  Its 
main advantage is that it is free.

-Original Message-
From:   Carl Schaefer [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, February 10, 2000 4:04 AM
To: [EMAIL PROTECTED]
Subject:MI Raster 2 Vector Recommendations

Hello all,

I'm trying to evaluate some raster to vector software applications 
primarily for vectorizing contours from USGS mylar separates. 
Since no DLG's exist, I'm looking at vectorizing them myself along 
with DEM creation.

I've looked at information for R2V and LTDOS but can anyone 
comment on either of these packages or recommend something 
else? 

Thanks,
Carl
--
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 Raster 2 Vector Recommendations

2000-02-09 Thread Brad Mathews

Carl,

We used Hitachi Tracer for a while and liked it. It turned out to be a bit
"big" for our needs, it is better suited to tasks like parcel and contour
vectorization. Pricey though. It was something like $3k and it runs inside
of AutoCad (another $3k)

- Brad

 -Original Message-
 From: Robert Crossley [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, February 09, 2000 1:37 PM
 To:   '[EMAIL PROTECTED]'
 Cc:   'MapInfo List'
 Subject:  RE: MI Raster 2 Vector Recommendations
 
 there is one put out by the United Nations called MapScan that I am told
 is OK.  Its main advantage is that it is free.
 
 -Original Message-
 From: Carl Schaefer [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, February 10, 2000 4:04 AM
 To:   [EMAIL PROTECTED]
 Subject:  MI Raster 2 Vector Recommendations
 
 Hello all,
 
 I'm trying to evaluate some raster to vector software applications 
 primarily for vectorizing contours from USGS mylar separates. 
 Since no DLG's exist, I'm looking at vectorizing them myself along 
 with DEM creation.
 
 I've looked at information for R2V and LTDOS but can anyone 
 comment on either of these packages or recommend something 
 else? 
 
 Thanks,
 Carl
 --
 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]



MI Railroad data

2000-02-09 Thread Alex Ross

Does anybody have any information regarding Railroad
data?  I am specifically interested in Right Of Way
information.  Any information or places where I can
find such data would be greatly appreciated.

Thank You,
ALex

[EMAIL PROTECTED]
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.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]



MI And you think MapInfo has Upgrade issues...

2000-02-09 Thread Neil Havermale

Saw this go over the AkeView "public" list and just had to share it...

MidNight Mapper
aka Neil
 *

R Harris wrote:

ESRI's pricing structure for extensions and upgrades are one of the most
confusing and closely guarded strategies of ESRI.  Real marketing wizardry.
Matter of fact some should make a wizard helper to calculate the total cost
of investing in ESRI products and support.  Let's see $1200 for AV plus $700
annual maintenance, $2500 for Spatial analyst plus $1200 annual maintenance.
$395 for AV upgrade.  Congratulations, on spending $6000 on a product over
the first two years.

This is a pricing structure designed to hide the true cost of ESRI GIS.

Other products are better, cheaper and more functional.

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



MI MB: Call dll with a 4Bytes float instead of 8Bytes float?

2000-02-09 Thread Franck Martin

In MapBasic I declare the following external function :

Declare Function getnodevalue Lib "SomeoneDll.dll" (ByVal Index As Integer,
ByVal Code As Integer, Value As Float) As Integer

and define the following constant

Define EN_PRESSURE 7

when I call the Function with

myopen = getnodevalue( nodeindex, EN_PRESSURE, pressure)

It returns wrong values. 

The same code works perfectly in Visual Basic except the dll is declared:
Declare Function getnodevalue Lib "SomeoneDll.dll" (ByVal Index As Integer,
ByVal Code As Integer, Value As Single) As Integer

I suppose that the problem comes from the fact that in MapBasic the type
"float" is coded with 8 Bytes while a type "Single" is coded in 4 Bytes.

I do not know how to change the type of the variable Value in Mapinfo to
pass a 4Bytes coded float.

Any body knows?

Please reply directly...

Franck Martin
Network and Database Development Officer
SOPAC South Pacific Applied Geoscience Commission
Fiji
E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Web site: www.sopac.org.fj http://www.sopac.org.fj 

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



MI [mapx] Re: No Subject

2000-02-09 Thread Jeff James



Antoine,

We're currently 
in the development process for two MapXtreme Java projects. Personally, I 
haven't used it, but if you have questions, I can pass them 
along.

Thanks,


Jeff James
Vice President
Sage Software, Inc.
3423 Piedmont Road NE
Suite 550
Atlanta, Georgia 30305
Phone: 404.262.7478 Ext. 12
Fax: 404.832.3366
eFax: 520.222.2020
www.sagesoft.com

-Original 
Message-From: Antoine Gilbert 
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 09, 2000 9:04 
AMTo: [EMAIL PROTECTED]Subject: [mapx] No 
Subject

  hi
  
  Does anybody here use MapXtreme Java 
  ?
  
  ___
  
  || // Antoine Gilbert|| // [EMAIL PROTECTED]|| 
  // #ICQ 9737371|| \\|| \\ Le Groupe KOREM Inc.|| \\ 
  http://www.korem.com
  ___
  
  To Post a message, send it to:   [EMAIL PROTECTED]

To Unsubscribe, send a blank message to: [EMAIL PROTECTED]
  

  
  
  eGroups.com Home: 
  http://www.egroups.com/group/mapxwww.egroups.com - Simplifying group 
  communications



To Post a message, send it to:   [EMAIL PROTECTED]
To Unsubscribe, send a blank message to: [EMAIL PROTECTED]










eGroups.com Home: http://www.egroups.com/group/mapx
www.egroups.com - Simplifying group communications


MI Fill patterns

2000-02-09 Thread Peter_McPherson




Greetings,

I am wondering if there are any third-party shareware or even software
for purchase for geologic fill patterns for Mapinfo.  Also,where
within Mapinfo the fill pattern files are located? Am I able to edit
these?

TIA

Peter

[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]



SUM: MI Can MapBasic call routines in ActiveX DLLs?

2000-02-09 Thread Bill Thoen

The question was: "...can you make ActiveX DLLs that can contain
functions and subprograms that can be called from MapInfo [via
MapBasic] like you can with the earlier style DLLs?"

The answer is: "No."

Some people confused Windows API functions with ActiveX DLLs, but
in fact, these are regular DLLs, and so can be used directly in
MapBasic. However, you CAN make a resource DLL to provide tool
button icons to your MapBasic app (See Chris Martin's Feb 1st,
2000 summary on this, "Re: MI Resource Files/DLLs - summary")

For those who want the dirty details, Chris Martin explained that
the new VB5/6 DLLs are ActiveX DLLs or COM Servers. Basically,
this means that if your development language isn't COM compliant,
you lose. Access to ActiveX functions require COM support which
is what makes them "visible" to an application, and MapBasic is
not COM compliant. 

Chris also mentioned that there may be ways around this, but they
would involve some sort of bridge written in C++ that serves as
an interface to your app. He also thought that Desaware's
SpyWorks may be useful here.

He adds:
 "In normal DLL's an Export Table is generated where all public function names and 
their parameters are written. Any program can then import that library (that's what 
you do when you DECLARE an api function) and use its functions.

 Unfortunately, as VB DLL's are COM servers, the only functions that they export are 
to register and un register the server. There's no other functionality you can 
access."

Brad Matthews added:
 "VB created ActiveX DLLs (and ActiveX EXEs) can be used by any other language which 
supports the COM interface (C++, Powerbuilder, Delphi, VBA, ASP). MapBasic does not 
support the COM interface."

Richard Burkmar added some interesting perspective by pointing
out that the main issue is that MapBasic is not COM-compliant,
and that the future is with development tools that are; like
MapX. He says:

 "The Component Object Model (COM) is central to the Microsoft Windows environment 
and there probably isn't much of a future for development environments which don't
support it.  Nowadays, most do - for example any development
environment in which you can incorporate a MapX map is COM
compliant. MapX exposes its functionality as a COM component - if
it didn't it wouldn't have got off the ground."

In addition to Chris, Brad and Richard, thanks also to Mark
Crompton, Brad Matthews, "MAPPER MAN", "Geografía y Electrónica,
SA de CV", and David Troughear for their responses.

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



MI [mapx] subscribe

2000-02-09 Thread Neil Havermale

subscribe

[EMAIL PROTECTED]


To Post a message, send it to:   [EMAIL PROTECTED]
To Unsubscribe, send a blank message to: [EMAIL PROTECTED]


Love. Relationships? E - Commerce!
http://click.egroups.com/1/1145/4/_/380575/_/950143956/

-- Easily schedule meetings and events using the group calendar!
-- http://www.egroups.com/cal?listname=mapxm=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]