Hi Mark
I don't know if you solved this or got many responses but you are not able
to increase the functionality of ProViewer via an MBX.
However you could change the workspace file to check the curdate against a
predefined date.
For exampe if you wanted the workspace to exit if the date is greater than
28 March 2001 you could add the following line to the workspace.
run command left$("End MapInfo",1000*int(curdate()>"20010328"))
You can use this same idea to provide lots of intelligence into ProViewer.
I have a script (workspace file) that when opened checks to see if the user
has selected a parcel and if they have grabs the street address and legal
description which is then passed to another template file (workspace file)
that produces a map at the best metric scale, adds logos and disclaimers,
print dates etc and finally prints the map to scale and with the parcel
details in the title.
Cheers
Martin
==================================
Martin Roundill
GIS Manager
Waitakere City Council
Private Bag 93109
Henderson
Waitakere City
New Zealand
-----Original Message-----
From: Mark Clute [mailto:[EMAIL PROTECTED]]
Sent: Friday, 23 March 2001 02:47
To: [EMAIL PROTECTED]
Subject: MI-L MB Application run error in Proviewer
I have a short mapbasic routine I've written that I have inserted in a
workspace. It's designed to check the date the workspace was compiled
against today's date and end MI if the check result is over thirty days. It
runs fine in MI but I get an error stating "Unable to run non-proview map
basic application."
Is there any way to add this to the "acceptable" mb applications proview
will run???
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.