Code Red > AutoLISP (Vanilla / Visual)
Outlook
Tramber:
Would it be possible to create messages from Vlisp to Outlook ?
I'd like to program a utility that would be able to create a message with an object text and an attached file.
I've learnt to manage Excel from Lisp. Do you think I could learn to do so with Outlook ?
Do you know where I could find a few lines of code from wich I could be inspired ?
hendie:
dunno about Vlisp. I don't see why not but you'll probably be jumping through hoops for a while.
why not use VBA, much simpler and pretty straightforward
http://www.vba-programmer.com/#OutlookBkmk
Tramber:
I thank you but I'm alergic to VBA. But it must be translatable :angel:
Patrick_35:
Hi Call me Bert'
I find it
http://discussion.autodesk.com/thread.jspa?messageID=1142149
For launching outlook, I do this, but it still remains following finding it
--- Code: ---(setq wsh (vlax-create-object "WScript.Shell"))
(setq app (vlax-invoke wsh 'exec "C:\\Program Files\\Outlook Express\\msimn.exe"))
--- End code ---
And to close outlook
--- Code: ---(vlax-invoke app 'terminate)
--- End code ---
@+
Tramber:
Tiens tiens !
Good job !
I'll have a look soon.
Navigation
[0] Message Index
[#] Next page
Go to full version