Antoine Gilbert, KOREM wrote:
> I'm writting a small MapBasic application. Does anybody know if
> it is possible to open (from MapBasic) a winzip window loaded with some
defined files ?

> I'm able to launch winzip (Run Program) with files in the argument line,
> but this only zip the file without have the time to see the winzip window.

> I want the user see his files in the winzip window and can do some
operations in this window...

Well, you're doing this exactly the way you need to do it. Except you will
have to check
your WinZip documentation to find a command-line argument to keep WinZip
open after
the initial zipping is done.

> Also:
>
>in a mapbasic program, it's possible to specify some file
>to send by mail ? i.e. automaticly in mapbasic call a method that
>open a send mail window with the specified mails attached to.

You still need to use "Run Program", but it's harder since you don't
necessarily know which email software you are using.

It's possible that you could use DDEExecute to send commands
to EXPLORER.EXE, telling EXPLORER to mail the file using
whatever email software is registered. I have NO idea what those
commands might be, unfortunately.

Neither of these things is really MapBasic-specific. You know how to make
MapBasic tell other programs what to do; the only problem is what to tell
those programs to do.

HTH
Spencer






_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to