[Migrated content. Thread originally posted on 15 August 2011]
Hi All,Im trying to call Outlook from with in Visual Cobol using the following code:-
method-id. "button1_Click" final private.
01 ls-call string.
procedure division using by value sender as object e as type "System.EventArgs".
set ls-call to '"C:\\Program Files\\Microsoft Office\\Office11\\Outlook.exe" /c ipm.note'
invoke type "System.Diagnostics.Process"::"Start"(ls-call)
end method "button1_Click".
However its returning an error "the system cannot find the file specified"
I can run this from the command prompt and it works ok, any ideas pls.
Kind regards
Neil.