MI-L Intermittent Error with Create Frame in MB

2004-03-29 Thread Fast, Tim
Listers, I have a MapBasic program that creates a layout from a map. The program will processes numerous maps/layouts one after the other. After each layout is created, and saved a Close All is issued before the next map starts. Every few maps, when creating a layout I get the following error:

MI-L Curious Problem with the MapBasic Window

2004-03-23 Thread Fast, Tim
OK Folks, I have a curious problem with the MapBasic window in Pro. This has occurred since Version 4 and is still present in 7.5 If I do a lot of cutting an pasting of text in the window, every so often the text size will decrease. The only way to restore the text size is to close the

MI-L MapBasic: Number of Rows in Excel for Importing into MI

2003-12-31 Thread Fast, Tim
Is there a way of determining how many rows exist in an Excel file when importing it into MapInfo? I have a VB program using MapInfo Integrated Mapping and I want to import an Excel file. The problem is that while I know how many columns there are, I do not know how many rows there are. The

RE: MI-L MapInfo 7.5

2003-11-11 Thread Fast, Tim
Dave, It has already been released. We got our copies about 1 month ago. Tim Fast GIS Specialist Pioneer Hi-Bred International, Inc. -Original Message- From: Eagle, David A [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 11:15 AM To: [EMAIL PROTECTED] Subject: MI-L MapInfo

MI-L MapX 4.5 How to Add Attributes to Newly Added Features

2003-11-06 Thread Fast, Tim
How does one add an attribute to an item in a newly added feature? I have a table to which I added 7 Circles (all are supposed to be on top of one another). I need to add a value to each one in a column called Interval. Below is the code snippet that creates the circles. Dim lPosX As Long

RE: MI-L Breaking a Polyline

2003-10-30 Thread Fast, Tim
Daryl, Try using Polyline Split on the Objects menu. Select the polyline, Set Target On Draw a polyline that cuts across the targeted polyline (you may want to use object snap to snap a node of the polyline to the exact point where you want to divide the targeted line). Select the line you just

RE: MI-L New Records

2002-05-24 Thread Fast, Tim
Brandi, Yes you can do it. 1) Add the polygon(s) to your table. 2) Select the new polygon(s). 3) Save the selection as a new table (call it Temp.TAB). 4) Invert select from your original table (this will select all the polygons other that the new ones you just added). 5) Append the selected rows

RE: MI-L New Records

2002-05-24 Thread Fast, Tim
tablename where not(obj within any(select obj from selection)) into Selection2 should work. Tim Fast Pioneer Hi-Bred International -Original Message- From: Brandi McGunigal [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:29 PM To: Fast, Tim Subject: RE: MI-L New Records Thank you

RE: MI-L Problem creating points.

2002-05-01 Thread Fast, Tim
David, You can create points for a table with just a single line of code. Try This Update sNewTabName Set obj = CreatePoint(sLongColumn, sLatColumn) Tim Fast Pioneer Hi-Bred International -Original Message- From: Scott, David [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002

RE: MI-L easy question

2002-04-02 Thread Fast, Tim
Let's assume your column names are Col_5_Num, Col_2_Num and Col_7_Num First be sure all your columns are defined as a characters. Use the Table Update command. Column to update: Col_7_Num Value: Col_5_Num Col_2_Num Tim Fast Pioneer Hi-Bred International -Original Message- From:

RE: MI-L Legend help

2002-03-28 Thread Fast, Tim
Travis, You have to load a tool from the Tool Manager. Under the Tools menu select Tool Manager. From the list check Legend Manager. Create your thematic map and legend. Now when you go to the tools menu you will see an item called Thematic Legend Manager. Under that menu choice you will see

MI-L Layout Page Orientation in Integrated Mapping

2002-03-19 Thread Fast, Tim
OK This has got me driving up the wall. I need to create a layout in Landscape mode (MiPro 6.5). If I issue the following command: goMapInfo.Do Set Window glLayoutWinID Printer Default Orientation Landscape Copies 1 Papersize 1 an error is thrown Unrecognized command: Orientation If I put

MI-L Polygon contains a coordinate

2002-03-18 Thread Fast, Tim
Is there a way in MapBasic to determine what polygon in a table contains a particular X-Y coordinate? For example if I have a coordinate of: -101.6618 and 41.8473 What county in the US county table would that coordinate fall in? Thanks, Tim Fast Pioneer Hi-Bred International

MI-L Integrated Mapping: Creating a Legend Window

2002-03-13 Thread Fast, Tim
I am sure I am missing something very simple here. I am using integrated mapping in VB. I have a form that has two picture boxes (Map1 Legend1) I can create the map without a problem, however try as I might I cannot create a legend to appear in the second picture box. If I try this approach:

MI-L Creating Ranges in Integrated mapping

2002-03-13 Thread Fast, Tim
How does one correctly use the Into portion of the Create Ranges statement in Integrated Mapping? I need to create a thematic map with 5 ranges using Equal Ranges. If I use the following code: goMapInfo.Do Dim fRanges() as Float goMapInfo.Do Create Ranges From MET With Population Use Equal

MI-L Cursor Coordinate Display with Integrated Mapping

2002-03-08 Thread Fast, Tim
Listers, I am trying to create a status bar display in Visual Basic that will show the cursor's position (Lat./Long.) as it moves over a map window in Integrated Mapping. Has anyone been able to do this? I know in MapX it is fairly simple using the ConvertCoord method, but MapBasic seems to be

RE: MI-L SQL Help

2002-02-28 Thread Fast, Tim
Steve, Not to worry, you won't get fired. Remember we are the ones who actually do the work! Here is a method for selecting records in one table that do not match records in another table. Consider a situation where we must find all the records in TableA whose values in FieldA do not match the

MI-L WKT to MID/MIF Translator

2002-02-27 Thread Fast, Tim
Listers, Does anyone know if a WKT (OpenGIS format) to MID/MIF translator exists? Thanks, Tim Fast Pioneer Hi-Bred, International ___ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe,

MI-L Coordinates not Setting to Decimal Degrees Degrees

2002-02-21 Thread Fast, Tim
I have what is probably a simple problem in MapBasic. I have a map in the regional equal-area projection (Albers) of the U.S., however, I want to issue navigation commands such as: Set Map XY Units degree Set Map Center (-96.9, 39.2) Zoom 3200 Units mi MapBasic seems to ignore the first Set Map

RE: MI-L Theissen Polygons in MapBasic

2002-02-21 Thread Fast, Tim
Tom, Check out Triangulator from Mercator Geosystems at: http://www.mercatorgeo.nl/ We have used the product and have been very happy with it. I also includes a contouring feature. Tim Fast Pioneer Hi-Bred International, Inc. -Original Message- From: Thomas Finan [mailto:[EMAIL

RE: MI-L MapInfo on the network/floating license?

2001-06-21 Thread Fast, Tim
Tessa, We use the network version of MapInfo at Pioneer. The network license is sold in groups of three. A single three-pack allows up to 3 simultaneous users. We have many users but most are just occasional. Therefore, having several 3-packs saves us quite a bit on licensing. For our heavy

RE: MI-L Map printing through Corel Draw or Adobe Illustrator !

2001-06-20 Thread Fast, Tim
I have exported map to Corel numerous times and I have had very good luck in saving the map as a Windows Metafile (WMF). Use the menu command FileSave Window As. Since metafiles are vector based, all of the map geometry will be preserved. In addition, you will be able to edit the original map

RE: MI-L MapBasic and Visual basic DDE communication

2001-05-24 Thread Fast, Tim
Look in the MapBasic User Guide under Chapter 13 Integrated Mapping It presents an outline on how to run MapBasic from within VB. Tim Fast Pioneer Hi-Bred International -Original Message- From: Geoinfo Applied Study Reserch [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 24, 2001 8:06

RE: MI-L Canadian postal code question

2001-05-17 Thread Fast, Tim
Bill, The postal code is located in Oakville ON. (43° 27' 00 N - 79° 41' 00) You may want to check out the website www.westminster.ca from there you can enter ant Canadian postal code (with out the dash) and find the corresponding city. Once you have the city or town, go to

MI-L: Combine Based on Attributes

2001-05-01 Thread Fast, Tim
Folks, Is there a way in MapInfo or MapBasic to run a Combine based on an attribute in the browser? I have several tables of regions in which I need to combine those polygons that are adjacent to one another and share a value based on a column in the browser. For example I have a column called

RE: MI-L launching mapinfo from mapbasic in the background or

2001-04-24 Thread Fast, Tim
Jerry, If you have Visual Basic or the like, you can use Integrated mapping (which uses MapBasic commands). I have used it and with the exception of a progress bar dialog popping up now and then, the user has no idea that MapInfo is even running. Refer to chapter 13 in the MapBasic User Guide on