web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Run executable PDF signing tool by code

(0) ShareShare
ReportReport
Posted on by

Hi 

I need help to run a .exe file with below parameters.

pdfpowertool.exe /input <inputfile> /output <outputfile> /signcertificate pdftestcertificate.pfx /signpassword fisk1234 /sign


BR
Mehdi
Categories:
  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,608 on at

    If you are on Premise , you can use dot net .

    sample :

    Execute := Execute.ProcessStartInfo('D:/pdfpowertool.exe', '/input <inputfile> /output <outputfile> /signcertificate pdftestcertificate.pfx /signpassword fisk1234 /sign');
    Execute.RedirectStandardError := TRUE;      
    Execute.RedirectStandardOutput := TRUE;     
    Execute.UseShellExecute := FALSE;
    Process := Process.Process;                  
    Process.StartInfo(Execute);
    Process.Start;
    
    Name	   DataType	Subtype	Length
    Process    DotNet	System.Diagnostics.Process.'System, Version=4.0.0.0, 
                            Culture=neutral, PublicKeyToken=b77a5c561934e089'	
    Execute	   DotNet	System.Diagnostics.ProcessStartInfo.'System, Version=4.0.0.0, 
                            Culture=neutral, PublicKeyToken=b77a5c561934e089'	


Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans