krish77
IS-IT--Management
- Oct 15, 2002
- 4
Hello, i have included following scripts in my program
oOutLookObject = CreateObject('Outlook.Application')
oEmailItem = oOutLookObject.CreateItem(MAILITEM)
WITH oEmailItem
.Recipients.Add('moe@3stooges.com')
.Subject = 'Automation sample'
.Importance = IMPORTANCENORMAL
.Body = 'This is easy!'
.Attachments.Add('c:\mydir\sample.txt')
.Send
ENDWITH
and built the project to create win32 exe/com server (exe). The exe does not run properly but when it is run through "execute selection" under command windown or as a program (do "program") it is executed properly. What should be done to run "exe" properly ?
Thanks
Murali
oOutLookObject = CreateObject('Outlook.Application')
oEmailItem = oOutLookObject.CreateItem(MAILITEM)
WITH oEmailItem
.Recipients.Add('moe@3stooges.com')
.Subject = 'Automation sample'
.Importance = IMPORTANCENORMAL
.Body = 'This is easy!'
.Attachments.Add('c:\mydir\sample.txt')
.Send
ENDWITH
and built the project to create win32 exe/com server (exe). The exe does not run properly but when it is run through "execute selection" under command windown or as a program (do "program") it is executed properly. What should be done to run "exe" properly ?
Thanks
Murali