[MI-L] Network problem

2006-10-06 Thread Bob Young



Dear List
 
One of our customers is occasionally getting this 
message:-
 
Table xyz has been changed by another program and 
must be reopened.
 
The files are being accessed from a server running 
Windows 2003 Server. The user is running MapInfo version 7.8 on Windows XP. They 
assure me that they are the only user and only application accessing the MapInfo 
table. The table is a native MapInfo table - not linked to Excel or 
Access.
 
One possibility is that their original files are 
corrupt and I am planning to check this. Has anyone else experienced similar 
problems?
 
Regards
 
Bob
MapsByDesign.co.uk
 
 
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] MapInfo-L Reminder

2006-10-06 Thread Bill Thoen
To: MapInfo-L@lists.directionsmag.com
From: [EMAIL PROTECTED]
Subject: MapInfo-L Reminder

This is just a reminder to help you manage your MapInfo-L subscription. This 
will be posted automatically each week, and please feel free to respond with 
suggestions or improvements.

Check out the MapInfo-L wiki at http://www.mapinfo-l.com set up for us by Eric 
Frost <[EMAIL PROTECTED]>. Wikis are a very cool tool for building a community 
knowledge base. Join in and make your mark! 

- Bill Thoen and Peter Horsb?ll M?ller
[EMAIL PROTECTED]

CONTENTS
0. HOW TO POST MAIL TO MAPINFO-L
1. HOW TO SUBSCRIBE/UNSUBSCRIBE
2. HOW TO CHANGE YOUR SUBSCRIPTION SETTINGS
3. WHERE TO GO TO FIND NEWS WHEN THE LIST BREAKS
4. MAPINFO-L ARCHIVES

--
0. HOW TO POST MAIL TO MAPINFO-L

If you are subscribed to the list, then sending mail to
MapInfo-L@lists.directionsmag.com will send your message to everyone on the
list.


1. HOW TO SUBSCRIBE/UNSUBSCRIBE

You can subscribe, unsubscribe or change your account settings by going to
http://www.directionsmag.com/mailman/listinfo/mapinfo-l. To subscribe, enter
your email address and optionally your name, and then pick a password. A
confirmation message will be sent to you, and after you confirm your request
for subscription, you will begin receiving new mail from the list and will also 
be able to post mail to the list.

To unsubscribe or change your account settings, go to the bottom of this
page where you will see form controls that you can use to modify your account.

You can do this all with email too. Just look at the X-headers in any
MapInfo-L message and you'll see the addresses to send a blank email to to
make the server do what you want.

2. HOW TO CHANGE YOUR SUBSCRIPTION SETTINGS

You can change your account settings by going to
http://www.directionsmag.com/mailman/listinfo/mapinfo-l. At the bottom of the
page are form controls where you can specify your address and password to get
access to your account settings form.


3. WHERE TO GO TO FIND NEWS WHEN THE LIST BREAKS

Occasionally the angel of digital chaos descends on the 'net and sometimes
smites MapInfo-L. Should this happen, you can find news and information about
what's happening by going to http://www.gisnet.com/mapinfo-l.htm.


4. MAPINFO-L ARCHIVES

The MapInfo archives are now available at
http://www.directionsmag.com/pipermail/mapinfo-l/.

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] VB.NET & Integrated Mapping

2006-10-06 Thread Cory Martin
I've never had any problem sending commands to MapInfo from a VB.NET 
application. I can run all sorts of MapBasic commands and launch MBXs. 
But I haven't figured out how to reference the individual MapBasic 
applications I've started to access their RemoteMessageHandlers or 
invoke their RemoteQueryHandlers. How does one properly set this up in 
VB.NET?


Best regards,
Cory Martin
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] VB.NET & Integrated Mapping

2006-10-06 Thread Spencer Simpson
The things you want to do are done via DDE.  Look in your MapBasic user's
guide under "How MapInfo Professional acts as a DDE Server". 

Since I've never attempted to do DDE in VB.NET (sort of has the feel of
pulling a wooden plow with a Ferrari, doesn't it?) you're on your own as to
how to initiate and use DDE conversations in that environment.

Hope this helps
Spencer



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cory Martin
Sent: Friday, October 06, 2006 10:17 AM
To: mapinfo-l@lists.directionsmag.com
Subject: [MI-L] VB.NET & Integrated Mapping

I've never had any problem sending commands to MapInfo from a VB.NET 
application. I can run all sorts of MapBasic commands and launch MBXs. 
But I haven't figured out how to reference the individual MapBasic 
applications I've started to access their RemoteMessageHandlers or 
invoke their RemoteQueryHandlers. How does one properly set this up in 
VB.NET?

Best regards,
Cory Martin
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l



___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


Re: [MI-L] VB.NET & Integrated Mapping

2006-10-06 Thread Lars I. Nielsen (GisPro)

Hi Cory,

The running mbx's can be accessed from the MIPro object by traversing 
its MBApplications collection, like this :


For Each mbx In mipro.MBApplications
   s = mbx.Name
   If s.ToLower = "relevantapp.mbx" Then 'found it
   Exit For
   End If
Next

Then it's just a question of invoking mbx.Do('') or mbx.Eval('')

Remember that .net is case sensitive, most likely also with the mbx file 
names. Thus the ToLower string comparison.


A caveat I found, is that mbx objects need to be defined as "Object". 
The MapInfo Interop assembly doesn't seem to handle it very well as a 
typed variable.



Best regards / Med venlig hilsen
Lars I. Nielsen
GisPro



Cory Martin wrote:
I've never had any problem sending commands to MapInfo from a VB.NET 
application. I can run all sorts of MapBasic commands and launch MBXs. 
But I haven't figured out how to reference the individual MapBasic 
applications I've started to access their RemoteMessageHandlers or 
invoke their RemoteQueryHandlers. How does one properly set this up in 
VB.NET?


Best regards,
Cory Martin
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] Dynamic expressions in select clauses

2006-10-06 Thread Peter Horsbøll Møller



Or you could use the Alias variable to hold the table and column 
names
 
Dim aCol As Alias,


selColumnId 
as integer,

selColumnName as 
String

 
    selColumnId = 
    selColumnName   = ColumnInfo(MyTable,"col"+selColumnId,COL_INFO_NAME)
    
aCol    = 
"MyTable." &  selColumnName

 
    
select aCol 

    from 
MyTable
 
HTH,
 
Peter Horsbøll Møller GIS Developer, MTM Geographical 
Information & IT   COWI A/S Odensevej 
95 DK-5260 Odense S. Denmark   Tel +45 6311 4900 Direct  +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail  [EMAIL PROTECTED] http://www.cowi.dk/gis 
 


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Spencer 
SimpsonSent: Thursday, October 05, 2006 4:56 PMTo: 
'Francois Blanc'; mapinfo-l@lists.directionsmag.comSubject: RE: 
[MI-L] Dynamic expressions in select clauses


Run Command 
"Select"+selColumnName+" from "+MyTable
 
or 

 
Run Command 
"Select"+selColumnName+" from MyTable"
 
depending on whether 
MyTable is a variable or not.
 
HTH
Spencer
 
 




From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Francois BlancSent: Thursday, October 05, 2006 10:23 
AMTo: 
mapinfo-l@lists.directionsmag.comSubject: [MI-L] Dynamic expressions in 
select clauses
 

Hi,

 

I have been trying unsuccessfully to pass a dynamic 
_expression_ into a select clause in MapBasic. I thought it would be straitforward 
but somehow it is trickier than I expected. Here is what I 
did

 

First I retrieved column number n in MyTable from a list in a 
dialog box (works fine). I would then like to select that column from 
the table. I wrote the following code:

 

  Dim selColumnId as 
integer

  Dim selColumnName as 
String

  selColumnId = 

  selColumnName = ColumnInfo(MyTable,"col"+selColumnId,COL_INFO_NAME)

  select selColumnName from 
MyTable

 

This gives me a single column filled with the String 
. Any idea how I should proceed 
instead?

 

Thanks,

 

 

Francois 
Blanc
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l