Hi Sean,
In VB you do something like this to use an existing instance of MIPro or
start a new one if none's running:
Set oMIPro = GetObject(,"MapInfo.Application")
If oMIPro is nothing Then
Set oMIPro = CreateObject("MapInfo.Application")
End If
I think you can do it similarly in Access.
Best regards / Med venlig hilsen
Lars V. Nielsen
--------------------------------------------------------
Hvenegaard & Meklenborg
Rugaardsvej 55, DK-5000 Odense C
Denmark
http://www.hvm.dk
----- Original Message -----
From: "Sean Connolly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003 3:48 PM
Subject: MI-L Check if Mapinfo Professional Open
> Hi,
>
>
> I'm trying to write some code in access that checks if Mapinfo is already
open before launching a new instance of it. If used the standard windows
FindWindow API. Searching by either MapInfo's classname or window caption
returns zero results, thing is if I do this with any other application it
works fine. Anyone got any ideas/suggestions ?
>
> Kind Regards
>
> S�an
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 8107
>
>
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 8108