RE: MI ini or definition file

2000-05-03 Thread Timothy Chinchen Cen-IT
Brian, Use the following in the "Main sub" of your program, this picks up your users preferences when your mbx starts (by using the homedirectory$() function you can be assured that when you distribute your MBX everyone can use it without worrying about where the ini is stored (+ homedirectory$()

RE: MI integrated mapping

2000-03-03 Thread Timothy Chinchen Cen-IT
Use a Win32 API call (for more info check out SetWindowPos Declare in the API Viewer (Win32API.txt)) eg. 1/ copy the following to a module in your project (nb e-mail will probably truncate the function statment) Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal

RE: MI Startup.WOR location

2000-02-28 Thread Timothy Chinchen Cen-IT
You could state in your current startup.wor (i.e. in your Winnt/Windows or Mapinfo directory) to run another workspace e.g.:- !workspace !version 200 Run Application "c:\mapinfo\Vm2\VM2.mbx" Run Application "h:\NetworkDir\MyStartup.wor" There probably is a registry entry you could edit but

RE: MI Disbaling the Print facility from the mapper

2000-02-23 Thread Timothy Chinchen Cen-IT
I had a similar scenario where I wanted to remind people to use copyright Info. I actually replaced the "Print" in the menu with my own "print" (using alter menu) incorporating a message box and then the run menu command (112) for "print" You could replace the print statement with code checking

MI Missing MapImages in MapXtreme

1999-11-25 Thread Timothy Chinchen Cen-IT
Although I'm a "HaHTSiter" I'm sure similar things apply to asp's. Check the path of your MapImage directory - its quite possible that the asp pages were using either a virtual path or your config has been altered. Check the path settings using MapXtreme Server Administrator, also check the

RE: MI - selecting number within text

1999-11-12 Thread Timothy Chinchen Cen-IT
A bit long winded but try using the following in the SQL Select selection criteria:- MY_TABLE Like "%1%" or MY_TABLE Like "%2%" or MY_TABLE Like "%3%" or MY_TABLE Like "%4%" or MY_TABLE Like "%5%" or MY_TABLE Like "%6%" or MY_TABLE Like "%7%" or MY_TABLE Like "%8%" or MY_TABLE Like "%9%" or

MI Bournemouth's Foray into Internet Mapping

1999-11-11 Thread Timothy Chinchen Cen-IT
If anyone's interested we've (Bournemouth Borough Council (UK) ) just released our first Internet based mapping using MapXtreme. I was wondering if anyone else in local govt. uses MapXtreme on the internet, I've seen a few intranet demos (notably Adrian Gray's very impressive Torbay

Ref: MI Bournemouth's Foray into Internet Mapping

1999-11-11 Thread Timothy Chinchen Cen-IT
Sorry but URL check The direct link URL in some people's e-mail's has truncated, the full URL is http://www.bournemouth.gov.uk/SCRIPTS/hsrun.exe/webapps/MapXtreme/MapXtreme. htx;start=HS_JavaMapPage If the HS_JAVAMAPPAGE bit isn't present it returns a HahtSite Server error. Cheers Tim

RE: MI Quick VB/MB string formatting question

1999-10-21 Thread Timothy Chinchen Cen-IT
Ref:- Quick VB/MB string formatting question Thanks for all the suggestions. Much appreciated! Tim Chinchen (GIS Systems Developer) I.T. Services Bournemouth Borough Council Mailto:[EMAIL PROTECTED] ** This email and any

MI Quick VB/MB string formatting question

1999-10-20 Thread Timothy Chinchen Cen-IT
Not necessarily an MI question but in VB and/or MB does anyone know how I can remove the Path info and extension on a string e.g. From C:\data\MyTable.Tab to MyTable Many Thanks Tim Chinchen (GIS Systems Developer) I.T. Services Bournemouth Borough Council Mailto:[EMAIL PROTECTED]

RE: MI ODBC error nightmare

1999-10-18 Thread Timothy Chinchen Cen-IT
I've had the same problems after installing peer web services (NT) on machines, the SQL sever ODBC seems to muck up the ODBC drivers for MapInfo A service pack or MI ODBC reinstall doesn't seem to work. But your best bet to overcome this message is to "map a drive" to a machine of similar spec