Excel save as pdf hangs when launched through a watch folder

Hi there,

I've configured a watch folder to launch a batch file which launch a .exe file I've written in C++

In this application I launch Excel which open a .XLS document which contains macros.

At the end of the computations there is a macro which save as pdf.

At this point everything hangs and I have to cancel the job I've created for the watch folder.

If I disable the watch folder and I place the starting file inside the watch folder

and I manually launch the .bat file (which usually is launched by the watch folder) everything works perfectly.

I really really hope there will be someone here coming with a solution for me.

I look forward to hearing from you.

Have a nice day,


Davide


  • Edited by davide333 Friday, March 06, 2015 1:59 PM
March 6th, 2015 1:43pm

Hi davide,

Considering this application is developed by yourself ,this is more likely a developing issue ,we may need to debug the application.It is recommended to look for help from our MSDN forum for help .They are more experienced in resolving this case.

MSDN Forum

https://social.msdn.microsoft.com/Forums/en-US/home

Best regards

Free Windows Admin Tool Kit Click here and download it now
March 9th, 2015 2:35am

If the Watch Folders you are using are provided through IIS Transform Manager, you will need to post this inquiry at the IIS.NET forums. If you are using Watch Folders provided via a third party product, you will need to consult support for those folders.

Brandon
Windows Outreach Team- IT Pro
Windows for IT Pros on TechNet


  • Edited by Brandon RecordsModerator Monday, March 23, 2015 5:39 PM Provided clarification of Watch Folder association with IIS.
March 23rd, 2015 5:36pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics