To Mapbasic programmers:
In his recent e-mail on the subject +ACI-Re: MI calling a WWW page from MapInfo+ACI-
Mr Dressel kindly provided a neat Mapbasic sub called LaunchURL().
With a MapBasic program containing LaunchURL() you can now start your
desktop browser in a new window and display any WWW document, for example
http://www.mapinfo.com. You can also display local HTML documents (like
+ACI-e:+AFw-actaa+AFw-html+AFw-index.htm+ACI- ). This second option could be an
+effective way
to provide +ACI-Help+ACI- text for your mapping app.
LaunchURL() calls the function ShellExecute() to start your default
browser. Because ShellExecute is not a Mapbasic function but a Windows
API function, you will need to pre-declare it.
You must include a statement like the following in the declaration section
of your Mapbasic program.
Declare Function ShellExecute Lib +ACI-shell32.dll+ACI- Alias +ACI-ShellExecuteA+ACI-
(ByVal hwnd As Integer, ByVal lpOperation As String, ByVal lpFile As
String,
ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd
As Integer)
As Integer
Regards
David M Haycraft
Information Analysis Associates Pty Ltd
ABN 47 085 516 105
1 Cumming Place, Wanniassa, 2903
Aust Capital Territory, Australia
Phone/Fax: 61 +- 2 +- 6231 8104
Mobile: 0412 001 134
Email: d.haycraft+AEA-acslink.aone.net.au
Web : www.acslink.aone.net.au/actaa/iaa.htm
A MapInfo Technology Partner
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]