AJAX is client-side, the code you have is server-side. You can't control what is installed on the client, so on the client (according to that code) you need a copy of Qlikview and Outlook installed to make it run (not that the code would run since you need to define ActiveDocument/which QV report it is to get the EmailList)