RE: MI-L Mapbasic Windows API question

2004-03-16 Thread Dominic Lowe
Hi Peter, I have a method using the FindWindow API that works for a batch file but with anything more complicated (e.g a VB program with events etc) it's not that good due to the two applications demanding processing power. However if you are just running a batch file it might work for you. The

MI-L India Data

2004-03-16 Thread CDR Group
Hello Listers We are trying to source some MapInfo data for Delhi. Any information would be welcome. Many thanks in advance. Darryl Beresford CDR Group www.cdrgroup.co.uk Tel: 01433 621 282 Fax: 01433 621 292

MI-L Text Box

2004-03-16 Thread Hooban Michelle
I currently trying to put in a column with 45 rows in a text box in a map window in MapInfo The system is only allowing me to place 10 rows. Anyone know how to increase the size limit of the text box? Michelle This

RE: MI-L India Data

2004-03-16 Thread Frank Aaron (TX/EUS)
I do not know if their maps are in a MapInfo format but an e-mail was sent out by East View Cartographic (http://www.cartographic.com/specials.asp) touting their extensive Indian Map Data collection. One of the blurbs stated that they recently acquired India City Guide Maps which are claimed to be

RE: MI-L VB5 application using MapInfo 6.0 on Windows 2000

2004-03-16 Thread Scott Daugherty
MessageCharlote I've had similiar problem with other applications. You might try your veiw properties. 1.. Double click My Computer 2.. Click Tools and select Folder Options 3.. Click the View tab 4.. Place a dot beside Show hidden files and folders 5.. Click OK Scott Daugherty

RE: MI-L VB5 application using MapInfo 6.0 on Windows 2000

2004-03-16 Thread Delaunay, Charlotte
Title: Message Thanks for your suggestion Scott. I have given a go but I still get the same error messages. Charlotte -Original Message-From: Scott Daugherty [mailto:[EMAIL PROTECTED] Sent: 16 March 2004 13:44To: Delaunay, CharlotteCc: Map Info ListSubject: RE: MI-L

RE: MI-L WindowID

2004-03-16 Thread Peter Horsbøll Møller
Sure David, '**'' 'Returnerer TRUE hvis vindue WinID findes... '**'' Function WINGetWindowID(ByVal szWinName As

RE: MI-L Convert Polygon Map to Points Map

2004-03-16 Thread Michael Smith
As suggested by several listers, I just needed to set my CoordSys as follows and it corrected the problem. Thanks everyone!! Set CoordSys Table [mapname] enter Update [mapname] Set obj = CreatePoint (CentroidX(obj), CentroidY(obj)) enter -Original Message- From: Michael Smith

RE: MI-L WindowID

2004-03-16 Thread paul.crisp
Peters code is a really nice generic solution - the alternative is to trap the Window ID as you open it using FrontWindow(). -Original Message- From: Peter Horsbll Mller [mailto:[EMAIL PROTECTED] Sent: Tue 16/03/2004 14:33 To: Eagle, David A; [EMAIL

MI-L AD: Press Release - Map-In-A-Box 2.0 brings affordable Routing and Proximity analysis to MapInfo Professional.

2004-03-16 Thread David Langley
March 16 , 2003 (EAST LANSING, MI) -- Today, at the MapWorld User Forum in New York City, Mapping Solutions LLC announced the release of version 2.0 of its flagship product, Map-In-A-Box for MapInfo Professional. This new release includes street-level routing and proximity analysis harnessing

MI-L SQL Select Error

2004-03-16 Thread Don Guerra
Hi, I am using SQL Select to sum object lengths. The selection table has one column from the base table and one derived column. The derived column is specified as Sum(ObjectLen(obj,ft)) I get this error: Could not fetch object from the current row, argument ObjectLen The query

MI-L Cumulative Calculation on Selected Roads

2004-03-16 Thread Marty Sprenz
Hello All, Is anyone aware of an MBX the will calculate the total miles, for multiple selections, of road segments? I hope I asked that question correctly. TIA Marty

MI-L SQL Select Error

2004-03-16 Thread Don Guerra
O.K. I tried using the table name with the expression for the ObjectLen function as Terry McDonnell suggested..got the same result. Then I checked to see if these are in fact polylines as Bill Thoen suggested. All of the lines where selected meaning none are polylines. I even reversed

RE: MI-L SQL Select Error

2004-03-16 Thread Spencer Simpson
str$(obj) for a polyline returns Polyline, not Pline. In addition, there is a line object type for which str$(obj) returns line. You can use either of the two expressions below to search for rows that are neither lines nor polylines: not (str$(obj)=any (line, polyline)) instr(1,str$(obj),line)

MI-L Deleting records in MapBasic

2004-03-16 Thread Ryan Morgan, Aerials Express
OK as a follow-up to my earlier post about selecting records into a new table in MapBasic, how can I delete the selected records in the original table? I'm using the 'commit to' command to create a new table with the selected records and then I want to delete the same records from the original

Re: MI-L Deleting records in MapBasic

2004-03-16 Thread Uffe Kousgaard
Hello Ryan, The easist is to not store the selected records in a new table. Then you can do it like this: select * from mytable where . into tmp delete from tmp Done :-) If you have to save as a new table, you need a unique ID to link the new table back to the base table. Kind regards

MI-L Japan's national map grid (mesh)

2004-03-16 Thread ross . wootton
Anyone know of a source (free or otherwise) where I could find the entire Japanese national map grid (aka mesh) Thanks, Ross Wootton The information contained in this e-mail and any accompanying documents is confidential, may be privileged, and is intended solely for the person and/or

RE: MI-L Deleting records in MapBasic

2004-03-16 Thread Ryan Morgan, Aerials Express
Thank you for all of your replys, The command I was looking for was, Delete from selection. -Original Message- From: Ryan Morgan, Aerials Express [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 2:53 PM To: MapInfo-L Subject: MI-L Deleting records in MapBasic OK as a follow-up

RE: MI-L Mapbasic Windows API question

2004-03-16 Thread Thomas Colley
Dominic, In your email, you asked for a less looping method than that of your code, which has a high performance cost. Below, I've adapted a segment of your code to include the API function Sleep which causes the code to suspend operation for a period of time. Within a loop, this function can

RE: MI-L Testing Delphi Based DLLs

2004-03-16 Thread Ian Tidy
Hi Again, For now I have worked around the problem by writing a Delphi test application (MapInfo will run if I select run without debug). I would still like to know what this problem is... I now have a very simple way of getting an attribute from my SQL Server, without using ODBC (but it is

RE: MI-L Testing Delphi Based DLLs

2004-03-16 Thread Ian Tidy
Hi Phil, .NET DLLs will work with Win32 applications, but you must have the .NET framework installed. But I think the problem I am having with the debugger may have something to do with MapInfo being a Win32 application. Cheers Ian -Original Message- From: Phil Waight [mailto:[EMAIL

RE: MI-L Testing Delphi Based DLLs

2004-03-16 Thread SCISOFT
Ian Perhaps you're correct in guessing that the .NET debugger can't 'step into' the MapInfo compiled code (but, can do so for the DLL when it's compiled under .NET). But can't you compile the Delphi DLL without any calls to the .NET framework? Or is the .NET functionality an important part of your

RE: MI-L Testing Delphi Based DLLs

2004-03-16 Thread Ian Tidy
Hi Ian, We can write our project without using the .NET framework (in Delphi 7) and it will work fine, but from what I have seen you cannot compile a Delphi 8 project without attaching some part of the .NET framework. I would guess that MS Visual Studio .NET would be the same. In Delphi 8 you