suppress popup message box in PDF Stamp Command Line

I’m trying to run PDF Stamp Command Line in a .NET C# application.  I’m getting the following message in the application and running on the commandline:

How can I get rid of the message?  I’m running Windows 7 x64 and .NET 4.0.
==============================
Please download the latest version of PDFStamp Command Line product from following URL to try again,

XXXXXXXXXXXXXXXXXXXXX

After you downloaded it, you can run following command line to stamp your PDF files,

pdfstamp.exe -silent -reg "XXXXXXXXXXXXXX" -at VeryPDF -pdf C:\out.pdf -o C:\1.pdf

You can use -silent parameter to hide this registration messagebox. You can also call above
command line from your code, then you can stamp your PDF files at background.

VeryPDF
==============================
I’m still getting the pop-up message “Thank you for choosing our product, if you encounter any problem, please feel free to contact to us: with the silent switch in our .NET application using the Process object to launch.    However in the commandline it’s fine.  Can you advice how to suppress the message in the .NET application.  We’re using .NET 4.0
==============================
We have created a new version of pdfstamp.exe to you, please download it from following URL, this new version doesn’t popup any messagebox,

XXXXXXXXXXXXXXXXXXX

VeryPDF
==============================

Still getting the pop-up message.  Below is the .NET 4.0 C# code.   Any suggestions?

string  args = " -silent -reg " + (char)34 + "XXXXXXXXXXXXXXXXXXX" + (char)34 + " -at VeryPDF C:\\out.pdf -o C:\\1.pdf";
stamp = launchProcess(strProgramPath, args, true);

public bool launchProcess(string program, string args, bool wait)
{
bool b = false;
try
{
//Set a time-out value.
int timeOut = 100000;

//Create a new process info structure.
ProcessStartInfo pInfo = new ProcessStartInfo(program, args);

if (program.IndexOf("notepad") == -1)
{
pInfo.ErrorDialog = false;
pInfo.WindowStyle = ProcessWindowStyle.Hidden;
pInfo.UseShellExecute = true;
pInfo.CreateNoWindow = true;
}
else
pInfo.UseShellExecute = false;

Process p = new Process();
p.EnableRaisingEvents = true;

//Start the process.
p = Process.Start(pInfo);
if (wait)
{
p.WaitForExit(timeOut);
if (p.HasExited == false)
if (p.Responding)
{
p.CloseMainWindow();
b = true;
}
else
{
p.Kill();
throw new Exception(program + " Timed out!");
}
}

}
catch (Exception e)
{
logException("Exception:  launchProcess failed! | " + e.Message);
}
return b;
}
=============================
This is strange, we have DELETE popup message box code from pdfstamp.exe application. Just for checking, are you still using the old version of pdfstamp.exe file? What is the date for the pdfstamp.exe in your system?

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!