I was wondering the reason of this code because I knew of the menu commands of the file menu : Send Mail | Current Window and | Workspace (114 and 116) and I tried to use the “run command menu”. To my surprise, I did not get any action from the Mbwindow or a one-line compiled MB program.

 

Would anyone know about that specific limitation of the “rmc” for those commands? MI/MB 6.0

 

 

Jacques PARIS

 

e-mail    [EMAIL PROTECTED]

 

For MapInfo support, see the Paris PC Consult enr. site  at http://www.total.net/~rparis/gisproducts.htm

 

For MapBasic questions see the J.Paris site at    http://www.total.net/~jakesp/index.htm

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Antoine Gilbert, KOREM
Sent: November 10, 2000 11:28 AM
To: MapInfo-L
Subject: MI-L mapbasic

 

hi

 

i have finnaly find how to open a send mail window with the default browser..

 

api function needed :

Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (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

******

open mail window :

whatever = ShellExecute("", "Open", mailto:[EMAIL PROTECTED]?Subject=CrazySubject, "", "", "")

*****

that work fine on win2000 with my outlook express program...

but, im not able to specify some attachement in the "mailto" syntax... if anyone have an idea..

 

Antoine

Reply via email to