heya peeps,
any quick code snippets for determining on a user's machine what version, if
any, of mapinfo is installed, and running appropriately.
i'm pretty sure it's simple enough, but is it usually done by causing errors
and acting upon them, or just querying the system?
i think the simplest would be something like:
if professional installed
createobject(blah)
elseif runtime installed
createobject (blah)
else
msgbox "Map interface is not available at this terminal"
end if
i'd rather do it like that than causing a series of errors:
createobject (mapinfo stuff)
if error then
createobject( runtime stuff)
if error then
msgbox "you can't do that and stuff"
i'd just like to return a boolean value of what's available, then act upon
that.
(i also remember something about RunTime not being instantiated unless
through calling an MBX, is this also true for integrated mapping?)
gramercy,
ash.
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 4688