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$()
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
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
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
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
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
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
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
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
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]
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
11 matches
Mail list logo