Hi, I have a vb application which takes a stored HTML file and converts it to pdf format by calling the Zeon Docucom PDF driver. When I run the project from the visual basic IDE, the pdf document is created. However, when I compile the project and double click the exe, no pdf file is created. I then placed a message box just after the WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER, Null, Null command. This displays the message box and creates the PDF file (strange!!). Because I want to create the PDF file server side, the message box is of no use to me as it will not be displayed to the client and probably prevent the exe from completing gracefully. My theory on this is that the application is not being given enough time to complete the command: WebBrowser1.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER. I've also tried placing a timer loop just after this command to give it enough time to complete but it still doesn't work. Any help would be really appreciated. Thanks in advance.