RE: [MI-L] workspaces and ip addresses

2006-08-15 Thread Nabors, Steve
This works fine for me on LAN. Not sure about intranet. you may have to go the poor mans DNS route and alter your local host file on the client machine to look like something: 192.168.100.10 DraftServer where DraftServer is the server that has the Draftingshare on it. From: [EMAIL

RE: [MI-L] Labels Repositioning Themselves

2006-08-15 Thread Nabors, Steve
Are you doing edits to the tables? By edits, I mean are you deleting whole records and then adding them back in after editing them? I assume you are, else, you would not have to be packing the tables. Note that MapInfo labels are index or row dependent. By this, I mean they attach themselves

RE: [MI-L] metadata tool

2006-08-01 Thread Nabors, Steve
I don't think there is any way of inserting any type of data into a browser(of a table) without either making a field that actually has the metadata or making the name of the table contain the metadata. There are mapbasic solutions for popups that would extract the true metadata from a

RE: [MI-L] Workspace not opening

2006-07-27 Thread Nabors, Steve
Title: Workspace not opening Try hard typing the new paths directly into the workspace file. You can open it in notepad editor to do so. If once you've done so and it still has problems, simply remark out one open statement at a time until it opens. In this way, you can figure out which open

RE: [MI-L] Dynamic label updating woes

2006-06-22 Thread Nabors, Steve
I assume your not turningredraw off. Have you tried forcing a window redraw by running "Run Menu Command 304" in your code? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mats ElfströmSent: Thursday, June 22, 2006 10:00 AMTo: MapInfo-L@lists.directionsmag.comSubject:

RE: [MI-L] Naming a query window

2006-06-14 Thread Nabors, Steve
Title: Naming a query window Hello, The command is dim name_select as string name_select = "My new map name" Set Window FrontWindow() Title name_select From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Terry McDonnellSent: Wednesday, June 14, 2006 4:39 AMTo: Spencer Simpson;

RE: [MI-L] Cast alias to string?

2006-05-31 Thread Nabors, Steve
Title: Test - please ignore I had the same problem where I wanted to "get a string value" out of an alias andI don't think Str$() did the trick. So I simply created a string variable and assigned it the value at the same time I assigned the alias value. There is probably a more elegant way

RE: [MI-L] Voronoi

2006-05-17 Thread Nabors, Steve
I agree with Uffe, Looking at the points, you have an idea, but you never really know how big and what rotation the voronoi MBR will be. So if the voronoi MBR is clipping areas that you want included then you simply need include more existing points beyond the area of interest. If you don't have

RE: [MI-L] Voronoi

2006-05-17 Thread Nabors, Steve
Møller [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 3:02 PM To: Nabors, Steve; Uffe Kousgaard Cc: MapInfo-L@lists.directionsmag.com Subject: RE: [MI-L] Voronoi Hi, Just a short comment: remember that the Voronoi function in MapInfo actual can use a closed object, set as target

RE: [MI-L] csv export error

2006-05-10 Thread Nabors, Steve
We had the same issue on v7.8. Its a bug on v7.8 MI Pro. A benign bug though as it lets you go on. When you upgrade to v8.0 it goes away. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert DeRubeisSent: Tuesday, May 09, 2006 3:46 PMTo:

RE: [MI-L] Toolbar Options Dialog Box

2006-05-09 Thread Nabors, Steve
You should be able to modify the menu file by remarking out certain parts of the menu and or toolbars ..or all of them if you want a really stripped down menu/toolbars. The menu file is located under the Mapinfo pro folder called mapinfow.mnu. Just make a copy of it, for backup, and

RE: [MI-L] Toolbar Options Dialog Box

2006-05-09 Thread Nabors, Steve
Here is a nice free tool that might help you with altering existing MI dialogs: http://www.greatis.com/delphicb/windowse/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boyd TownsendSent: Sunday, May 07, 2006 6:54 PMTo: mapinfo-l@lists.directionsmag.comSubject: [MI-L]

RE: [MI-L] Slow loading layout

2006-05-09 Thread Nabors, Steve
Try this as I've seen it affect the loading of workspaces: Do this when out of MapInfo: Under the users temporary folder(usually C:\Documents and Settings\username\Local Settings\Temp) or wherever the users temporary directory lives and delete any "~map*.tmp" files you see. Note that"*"

RE: [MI-L] MI Networking Problems

2006-05-05 Thread Nabors, Steve
] Sent: Friday, May 05, 2006 7:57 AMTo: Nabors, Steve; [EMAIL PROTECTED]Cc: MapInfo-L@lists.directionsmag.comSubject: RE: [MI-L] MI Networking Problems Make sure that the share not has been setup to only allow one user to connect to it at a time Peter Horsbøll Møller GIS Developer, MTM

RE: [MI-L] MI Networking Problems

2006-05-04 Thread Nabors, Steve
We started on MapInfo on version 7.0. I know we could have multiple users connecting to the same tableson a shared drive. Wehad no problem with this. We have since moved through v7.5, 7.8, and are presently on 8.0. Try the following while remaining out of MapInfo: See if all of your users

RE: [MI-L] SQL Querying

2006-05-02 Thread Nabors, Steve
Andrew, There is probably a procedural/manual way of doing this via a series of manual selections using geographic functions in your selections. A better was is via mapbasic. Here is some mapbasic to get you started if mapbasic is an option for you. Disclaimer:I just typed it out and have not run

RE: [MI-L] Mapinfo Pro Layout question

2006-05-01 Thread Nabors, Steve
In a word, no. You can do some tricks like open the workspace file and copy the Layout section and paste it in as a second new layout with a different size paper, then open the workspace. Yet, when you do this, the objects will remain their original size and will still have to be re-sized to the

RE: [MI-L] Mapinfo Pro Layout question

2006-05-01 Thread Nabors, Steve
so as to rule out as many variables as possible and thus avoid the5 percent nightmare. From: Ali, Naz @ Vancouver [mailto:[EMAIL PROTECTED] Sent: Monday, May 01, 2006 10:51 AMTo: Nabors, Steve; shirley plesacCc: MapInfo-L@lists.directionsmag.comSubject: RE: [MI-L] Mapinfo Pro Layout question

RE: [MI-L] Off Topic - Google Earth

2006-04-20 Thread Nabors, Steve
Yes, Its definitely a streaming app. We had to go through the same scenario. But..I still like Bill's theory of "pave right over the planet" for a new intergalactic bypass. ;-) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, April

[MI-L] Trying to move a Centroid on a Region object but the command does not work

2006-03-09 Thread Nabors, Steve
Hello, I'm trying to move a centroid for a region object. I found this issue raised in previous posts but there was no resolution. I'm using the following code from the mapbasic help: Alter Object RegionObj Geography OBJ_GEO_CENTROID, NewCentroidObj Where: My RegionObj is a region

RE: [MI-L] Trying to move a Centroid on a Region object but the commanddoes not work

2006-03-09 Thread Nabors, Steve
Thanks Francois, Works perfect.Your English is perfect too. I see now I was manipulating the object but not applying the change backto the table. Thank You! From: CABRIEL Francois [mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 11:53 AMTo: Nabors, SteveSubject: RE: [MI-L]

RE: [MI-L] saving workspace in mapbasic

2006-01-23 Thread Nabors, Steve
There are probably a dozen variations on this but one(less elegant than Peter's) that I use is Dim sRunstr as string sRunstr = Save Workspace As + + sPath + sFilename + Run Command sRunstr -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter

RE: [MI-L] Number of fields

2006-01-23 Thread Nabors, Steve
There may be an actual field number limit but I've found in my experience that the real limiting factor is more of how long the combined field names length is. That is what I have found to be my limiting factor Example: sCombinedFieldCharacterlength = LongFieldname1 + Longfieldname2 +

[MI-L] Test

2006-01-23 Thread Nabors, Steve
Delete this, just a test. Steve Nabors Systems Analyst Market Support Services 205-298-3128 __ This e-mail has been scanned by MCI/MessageLabs Managed Email Service. ___ MapInfo-L

RE: [MI-L] Tool manager

2006-01-13 Thread Nabors, Steve
Its kept under the registry key HKCurrentUser\Software\MapInfo\MapInfo\Professional\800\Tools You could save this key out and restore it onto the new users Current User key in the registry. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Solomon

RE: [MI-L] Getting the volume info via API function

2005-12-16 Thread Nabors, Steve
- From: Thomsen, Bo Victor [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 6:30 AM To: Nabors, Steve Subject: SV: [MI-L] Getting the volume info via API function Steve - I've made a posting on MapInfo-L some time ago on general rules on how to convert a VB Win API example to MapBasic

[MI-L] Getting the volume info via API function

2005-12-15 Thread Nabors, Steve
Hi, I am having a problem getting this mapbasic code to work. I'm trying to access the API to get the drive volume information. Any ideas whatI'm doing wrong here? I'm on Win XP with MI 8.0 Thanks, Steve ''Main Sub Declarations Declare Sub Main 'Declare functions Declare Function

RE: MI-L Why am I getting invalid variable type error.

2005-11-02 Thread Nabors, Steve
[mailto:[EMAIL PROTECTED] Sent: Wednesday, November 02, 2005 7:32 AM To: Nabors, Steve; [EMAIL PROTECTED] Subject: RE: MI-L Why am I getting invalid variable type error. Hi Steve Thanks ever so much for the advice. I did as you said but it makes not a blind bit of difference unfortunately. It still

RE: MI-L Error - dialogfunctions.mb:65 Subscript out of range

2005-10-28 Thread Nabors, Steve
, October 28, 2005 3:30 AM To: Nabors, Steve; mapinfo-l@lists.directionsmag.com Subject: RE: MI-L Error - dialogfunctions.mb:65 Subscript out of range Steve, I guess it's coming from one of the MapBasic programs you've got running through the Tool Manager. Out of curiosity I searched the code

MI-L Error - dialogfunctions.mb:65 Subscript out of range

2005-10-27 Thread Nabors, Steve
Hello, I get this error from time to time and have not idea where it is coming from as I do not have an MB by that name. (dialogfunctions.mb:65) Subscript out of range. Anyone else getting this error? Steve Nabors Systems Analyst Market Support Services 205-298-3128

RE: MI-L Zoom to selected set - Mapbasic code

2005-10-11 Thread Nabors, Steve
Hi Greg, Here is one way to do it. You just make a selection of the selection into a temporary table(Zoomtable). You add it to the map, then set the map zoom to that entire layer: Select * from Selection Into Zoomtable Add Map layer Zoomtable Set Map Zoom Entire Layer Zoomtable Close Table

RE: MI-L MapInfo v ArcGis

2005-09-21 Thread Nabors, Steve
No 10 point bullets. We were moving off of ArcView after 10 years and looked at both ArcGIS and MapInfo. We looked at 3 time cost parameters. Development, stability and performance. MapInfo won on all 3 counts. Ease of development was a landslide. So was stability. On performance, there are

RE: MI-L Question

2005-09-14 Thread Nabors, Steve
No utilities or automation built into MI Pro that I know of. Not without writing some mapbasic code. Here is a sample of that. 'Global variables and constants Dim mysymbol as Symbol Declare Sub Main Declare Sub GetSymbology Declare Sub Process_Symbology Sub Main

RE: MI-L (Table) File Open : OpenAll

2005-09-07 Thread Nabors, Steve
There are more elegant ways to do this but here is one way to do it: '**Copy from here* 'This mb shells out , dirs all table files below a directory(tabledirectorytext), ' pipes to a text file(thetabtext) ' then you loop through the text file opening the tables '

RE: MI-L AutoLoad MBXs

2005-08-12 Thread Nabors, Steve
I've not seen a problem with the Autoload function but an alternative(to see if it the Autoload function or something else) would be to put all the MBX's in his startup.wor. file which will also load MBX's on startup. This file can usually be found in c:\documents and

MI-L MapBasic Reproject command

2005-06-20 Thread Nabors, Steve
Hello, It would appear that the reproject command is a view filter for a Browse window. For some reason I can't get this command to work: Open Table c:\temp\mytable.tab as jack Reproject columna, columnb, columnd from jack Browse * from jack According to the command reference, only

RE: MI-L Mapinfo system error

2005-06-03 Thread Nabors, Steve
Hi Peter, We get this error too. We first noticed it when we upgraded from MIPro 7.5 to 7.8. I think is a 7.8 feature. We were on W2K at the time but now we're on XP and it has not gone away. It only occurs on text and csv exports to my knowledge. The good thing is that it's a benign error that

RE: MI-L table info num

2005-05-23 Thread Nabors, Steve
Use x = MapperInfo(WindowID,Mapper_Info_Layers) to get the number of layers, then loop from 1 to x through the layers. Use LayerInfo(MapID,Layer_Info_Name) = Your table of interest to find which layer is the one your interested in and that x will be your tables layer number. -Original

RE: MI-L Register Table

2005-05-20 Thread Nabors, Steve
I'm assuming you mean (where I don't have permission to r/w) = no permission at all. You can register the table in one location and have the source file in another assuming have at least read rights in the source location. As soon as you change the read rights to no permission at all, you can no

RE: MI-L return value

2005-05-19 Thread Nabors, Steve
Assuming you are picking the file in the dialog and clicking OK: Put a note file_name in your code after the FileSaveasDGL command to see what it has stored. You should see a popup with the file you chose in the dialog. -Original Message- From: Alan Gunn [mailto:[EMAIL PROTECTED]

RE: MI-L MI-L: File not found

2005-05-17 Thread Nabors, Steve
Line 3 in your startup workspace has a reference to the favorites MBX. Open the file startup.wor(listed below) in notepad and delete the line and save the file. c:\documents and settings\nali\application data\mapinfo\mapinfo\startup.wor -Original Message- From: Ali, Naz @ Vancouver

RE: MI-L Alter Menu Item Questions

2005-05-13 Thread Nabors, Steve
The answer to the second question is below if I understand your correctly: '1st MBX to run 'Main Sub Declarations Declare Sub Main Declare Sub Hello 'Subs Sub Main 'create the custom mbx Create Menu MyMenu As Say Hello Calling Hello 'now

RE: MI-L Alter Menu Item Questions

2005-05-13 Thread Nabors, Steve
Tried number 1, you're right, it doesn't seem to care. -Original Message- From: Bill Thoen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 4:50 PM To: MapInfo-L Subject: MI-L Alter Menu Item Questions Two quick questions: 1. In MapBasic, why doesn't Alter Menu Item ID 101

RE: MI-L Off-topic: ArcPad, Leadtek GPS CF Card and IPAC 4700

2005-05-13 Thread Nabors, Steve
I've never used any of this hardware or software but when your dealing with com ports, sometimes one piece of software will grab and hold the port and other software cannot get through that port. Try uninstalling the Destinator and WinFast completely. One of them may be holding the port. Good

RE: MI-L Close window statement

2005-05-10 Thread Nabors, Steve
Either your redistricting window is graphical(map, layout, etc) or tabular(browser) most likely. Assuming it's the front window, you could use the following command to find out: Note WindowInfo(FrontWindow(),WIN_INFO_TYPE) If it is a table or map and your window you want to close has a unique

RE: MI-L Close window statement

2005-05-10 Thread Nabors, Steve
) Interactive'!! Must be [Interactive] End If Next -Original Message- From: Nabors, Steve [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 12:53 PM To: Alan Gunn Cc: mapinfo-l@lists.directionsmag.com Subject: RE: MI-L Close window statement Either your redistricting

RE: MI-L MultiListBox Values

2005-05-05 Thread Nabors, Steve
, building the query string via the loop was the key. Glad its working. :-) -Original Message- From: Mayer, Mike @ Vancouver [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 4:37 PM To: Nabors, Steve Cc: 'mapinfo-l@lists.directionsmag.com' Subject: RE: MI-L MultiListBox Values Yes

RE: MI-L MultiListBox Values

2005-05-04 Thread Nabors, Steve
] Sent: Tuesday, May 03, 2005 12:55 PM To: Nabors, Steve Subject: RE: MI-L MultiListBox Values Steve, Thank you for your response, I appreciate the input. I got it working, however, in theDescriptionTable, I only get one of the values (the last one) selected. Is there a way to add each item

RE: MI-L MultiListBox Values

2005-05-03 Thread Nabors, Steve
'Make your RetailMuniHandler Sub do something like the following 'Note that AnOpenTable is an open table that has a field called Description that has values in it matching 'marrMunicipality values dim Pos as integer Pos = ReadControlValue(1) 'Here we need a loop to hop thru each selection

MI-L Citrix XP W2003

2005-05-02 Thread Nabors, Steve
Hello, Is anyone out there running MapInfo Pro on a Windows 2003 Server with Citrix and Windows XP clients? If so, is it a good setup? Thanks, Steve Nabors Systems Analyst Market Support Services

RE: MI-L Getting rid of the title on a map

2005-04-25 Thread Nabors, Steve
If your looking for a Mapbasic solution then: Set Window FrontWindow() Title Where the map is the window in focus(FrontWindow()) -Original Message- From: kevin.sweeney [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 8:57 AM To: mapinfo-l@lists.directionsmag.com Subject:

MI-L Alter MapInfoDialog and Spy ++

2005-04-01 Thread Nabors, Steve
Hello, I am trying to alter the default settings for the Open file window using Alter MapInfoDialog command. I have the Spy++ software but I can't figure out how to get the Control ID of the controls in the window using it. Can someone help? Thanks. Steve Nabors Systems Analyst Market Support

RE: MI-L Alter MapInfoDialog and Spy ++

2005-04-01 Thread Nabors, Steve
Hi, I found a better tool: WinDowse It is a little more straight forward program and best of all, its free. Steve Nabors Systems Analyst Market Support Services 205-298-3128

RE: MI-L installing mapinfo product on other drives (besides c:)

2004-11-01 Thread Nabors, Steve
I run mine on an E: drive without any issues. You may want to check your mapbasic programs and make sure all hard coded directory paths(Include statements, ect.) are pointing to the new location. If your data is kept under the MapInfo directory then you'll want to change all hard coded workspace

RE: MI-L MapBasic - Open Folder Dialog

2004-09-22 Thread Nabors, Steve
Hi Mike, This isn't so elegant but you could have them choose a file in the folder you want to save out: file_chosen = FileOpenDlg(, ,tab;*.* , Choose any file in the folder you want to use) folder_chosen = PathToDirectory$(file_chosen) Like I said, it ain't

RE: MI-L OT: Running DOS batch files in Win2000

2004-09-15 Thread Nabors, Steve
What types of problems are you having? -Original Message- From: David Reid [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 3:33 PM To: Subject: MI-L OT: Running DOS batch files in Win2000 Greetings All, Sorry for the slightly off topic post. I have recently migrated to

RE: MI-L Printing Layouts

2004-06-09 Thread Nabors, Steve
Shooting from the hip here in MapBasic and not checking syntax: 'Simply loop through the windows, check for layout windows, and print them non-interactive dim i, thiswid as integer For i = 1 to NumWindows() thiswid = WindowID(i) If

RE: MI-L Get userid in MapBasic

2004-06-04 Thread Nabors, Steve
OK, here is a possibility but there may be a hole in it somewhere I've not seen yet. I know this will work on NT, W2K, XP, etc. It will most likely work on W9X, ME. Assumptions: 1.All users point to the same mapped drivecall it T: 2.The My documents on some computers is also pointing this

RE: MI-L sorting tables - Don't Get Defensive, Please

2004-03-30 Thread Nabors, Steve
Hi Robert, I too have found no explicit way of getting the thematic info layer and its symbology. There is, however, an implicit way of doing it(and many other things). In a way, you do a save without the save. All you have to do is use the WindowInfo(FrontWindow(),Win_Info_CloneWindow) command

FW: MI-L sorting tables - Don't Get Defensive, Please

2004-03-30 Thread Nabors, Steve
Sorry, That command noted below should be WindowInfo(FrontWindow(),Win_Info_Workspace). -Original Message- From: Nabors, Steve Sent: Tuesday, March 30, 2004 12:29 PM To: '[EMAIL PROTECTED]' Subject: RE: MI-L sorting tables - Don't Get Defensive, Please Hi Robert, I too have found

MI-L Mapbasic list of tables in an access mdb

2003-12-01 Thread Nabors, Steve
Hello, Is there a way in Mapbasic to retrieve a list of tables contained in an access database? Has anyone encountered this in the past? Are there any solutions? Thank You! Stephen Nabors Systems Analyst Market Support Services Vulcan Materials Company

RE: MI-L Location of TrueType folder ?

2003-10-24 Thread Nabors, Steve
Hi Lars, For Windows 2000 the below method works but there is probably a better way. I don't know how to read the registry directly from MapBasic but you could run a batch file containing the command below. REG QUERY HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell

MI-L Getting the current workspace file path and name in mapbasic

2003-09-04 Thread Nabors, Steve
Hello, There is a command to get the file path and name of a table in a layer of the map. Is there an equivalent command or function in mapbasic that will allow you to get the path and name of the currently opened workspace? Thank You, Stephen Nabors Systems Analyst Market Support Services

RE: MI-L Eliminating empty or deleting rows in the cosmetic layer using Ma pBasic

2003-09-03 Thread Nabors, Steve
Hello, It looks like what I was doing a real no no in that I should just avoid the deleted rows instead of trying to deal with them directly. I got some great help from Jacques Paris and Lars Nielsen on the subject. Thanks Guys! -Original Message- From: Nabors, Steve [mailto:[EMAIL

MI-L Eliminating empty or deleting rows in the cosmetic layer using MapBasic

2003-08-28 Thread Nabors, Steve
Hello, I am having a problem deleting rows in the cosmetic layer with MapBasic v7. Simply put, I can create a text object in the cosmetic layer. I can promptly delete it. If I create another text object I cannot subsequently delete it. I believe the reason for this is that there are still