This is of course a wild goose chase but have you tried creating a workspace 
containing only these lines:

****************************
!Workspace
!Version 400
!Charset WindowsLatin1

Create Menu "PetersSecrets" As "Preferences" Calling 208
Run Menu Command 208
****************************

It might actually work

Peter Horsb�ll M�ller
GIS Developer
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

*****CHANGE OF ADDRESS - COWI's offices in Odense are now under the same roof*****
On December 8th. 2003, Geographical Information & IT moved from Rugaardsvej 55, 5000 
Odense C to Odensevej 95, 5260 Odense S. 
Please note our new telephone, direct and telefax numbers.



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, January 15, 2004 10:37 AM
> To: Peter Horsb�ll M�ller
> Cc: Eagle, David A; [EMAIL PROTECTED]
> Subject: Ang. RE: MI-L Altering Map Window Preferences using MapBasic
> 
> 
> Hear, hear!
> 
> Anybody who would care to decode mapinfow.prf, and provide an 
> external 
> interface to edit it, would render the MapInfo User community a great 
> service.
> Why?
> 
> Because MapInfo Pro Viewer uses this file as well, but cannot 
> change it.
> 
> MapInfo Corp has discontinued the localized versions of the 
> viewer, so 
> installing it here in Sweden gives me all wrong default 
> values. Not to speak of all search paths which are office dependent.
> 
> The workaround is to carefully do all settings in MI Pro, 
> then copy the 
> prf-file to the Viewer workstations. This is of course an 
> outright PIA, 
> and gives no room for temporary changes of paths or printers.
> 
> H�lsning/ Best regards Mats.E
> ________________________
> FB Engineering AB
> S�dra F�rstadsgatan 26
> 211 43 Malm�
> 
> Tel: 040-665 64 80
> Mobil: 0705-27 60 27
> Fax: 040-665 69 90
> e-post: [EMAIL PROTECTED]
> http://www.fbe.se
> 
> 
> 
> 
> Peter Horsb�ll M�ller <[EMAIL PROTECTED]> 
> 2004-01-15 10:19
> 
> Till
> "Eagle, David A" <[EMAIL PROTECTED]>, 
> <[EMAIL PROTECTED]>
> Kopia
> 
> �rende
> RE: MI-L Altering Map Window Preferences using MapBasic
> 
> 
> 
> 
> 
> 
> Hi Davis,
> 
> A happe New Year to you, too.
> 
> The answer is: No !
> You cannot access the preferences from within MapBasic. These 
> settings are 
> all saved in the MapInfow.prf file, so if you want to change 
> this value 
> you'll have to decode this file, and that's not easy...
> 
> Peter Horsb�ll M�ller
> GIS Developer
> 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
> 
> *****CHANGE OF ADDRESS - COWI's offices in Odense are now 
> under the same 
> roof*****
> On December 8th. 2003, Geographical Information & IT moved from 
> Rugaardsvej 55, 5000 Odense C to Odensevej 95, 5260 Odense S. 
> Please note our new telephone, direct and telefax numbers.
> 
> 
> 
> > -----Original Message-----
> > From: Eagle, David A [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, January 15, 2004 9:46 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: MI-L Altering Map Window Preferences using MapBasic
> > 
> > 
> > > Hello Listers...
> > > 
> > > This is my first message post since the start of the New Year, so
> > > Happy New Year to you all!
> > > 
> > > Can anyone point me in the right direction? I'm using
> > MapInfo 7.5 and
> > > coding an application in MapBasic 7.5 and I want to
> > programmatically
> > > access the Map Window Preferences and alter a setting. To
> > be specific
> > > I want to get to:
> > > 
> > > Options>Preferences>Map Window
> > > 
> > > ...and then uncheck the option "Automatic Raster Zoom Handling".
> > > 
> > > Can this be done, and if so how?
> > > 
> > > Thanks in advance.
> > > 
> > > Best Regards, David
> > > 
> > > 
> > This email and any attached files are confidential and
> > copyright protected. If you are not the addressee, any 
> > dissemination of this communication is strictly prohibited. 
> > Unless otherwise expressly agreed in writing, nothing stated 
> > in this communication shall be legally binding.
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > List hosting provided by Directions Magazine |
> > www.directionsmag.com | To unsubscribe, e-mail: 
> > [EMAIL PROTECTED]
> > For additional commands, e-mail: 
> > [EMAIL PROTECTED]
> > Message number: 9899
> > 
> > 
> > 
> 
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | 
> www.directionsmag.com | To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED]
> Message number: 9900
> 
> 
> 
> 
> 

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9903

Reply via email to