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"
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
Drafting share on it.
Fro
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 table(assum
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 op
If your looking for a feature in MIPro 8.0
then I don't think there is one.
Maybe this will help if you use MapBasic to do
so.
I've noticed that that Title and or SubTitle sort of
dictate the width of the legend window as a rule.
First get the length of your
titles
Len(mylegendt
I assume your not turning redraw
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
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;
Title: Test - please ignore
I had the same problem where I wanted to "get a string
value" out of an alias and I 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
this subject.
-Original Message-
From: Peter Horsbøll 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 func
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
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:
mapinfo-l@lists.directionsmag.c
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 tha
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]
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 t
PROTECTED]
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
We started on MapInfo on version 7.0. I know we could
have multiple users connecting to the same tables on a shared drive.
We had 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
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
you create the document so as to rule out as many variables as possible and thus
avoid the 5 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] M
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 th
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, Apri
Thanks Francois,
Works perfect. Your English is perfect
too.
I see now I was manipulating the object but not applying
the change back to the table.
Thank You!
From: CABRIEL Francois
[mailto:[EMAIL PROTECTED] Sent: Thursday, March 09, 2006 11:53
AMTo: Nabors, SteveSubject: RE: [MI-L]
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 o
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 ma
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 +
Longfieldn
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 O
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 Côté
-
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 Map
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 GetVolumeInfo
nnell [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
Hi Terry,
Here is what I did:
I let my user choose the selected field to create the theme by and kept
that variable as an independent string variable separate from the Alias
field variable even though both were set to the same value
'Example Code Excerpt:
'
nt: Friday, 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
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
___
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 Zoomta
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 some
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
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
'
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 settings\username\applicati
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 column
This should get your started:
Run Program "C:\Program Files\Microsoft Office\OFFICE11\Excel.exe
C:\temp\ExportTable.csv"
-Original Message-
From: Cathy Coldrey [mailto:[EMAIL PROTECTED]
Sent: Friday, June 03, 2005 8:35 AM
To: Mapinfo-L@lists.directionsmag.com
Subject: MI-L MapBasic a
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 tha
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 Messa
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
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]
mit Table savedlog
Close Table savedlog
'now exit
Exit Sub
else
'they cancelled the s
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 [ma
That's exactly what we do. Store it in an external tab. When Mapinfo opens,
blow away the entry so it's a clean slate every time. Store the whole file
name so you can drill them back to the subdirectory they were is as well.
-Original Message-
From: Alan Gunn [mailto:[EMAIL PROTECTED]
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".
Go
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 Text
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
'no
quot; then
Close Window WindowID(I) 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
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 uniqu
,
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 V
ECTED]
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
'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
'Before
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
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
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
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
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
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 ai
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 Wi
Hello,
Is anyone out there using MI Pro and Citrix on either W2000 or XP. If so,
are there any issues to be aware of or are you having good results?
Stephen Nabors
Systems Analyst
Market Support Services
Vulcan Materials Company
205-298-3128
-
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 Windo
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 thi
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 to
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
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
--
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
Folders
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
Vulc
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
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 'delete
Hi,
I'm a newbie to MapInfo. I have a question about accessing OCX files in two
ways but up front I'd like to ask "Is this something I want to do". By that
I mean "Is there an inherent buggieness to doing so that makes it something
most people try and give up on due to instability or other issues
72 matches
Mail list logo