This is my code:

 proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
        proc.StartInfo.Verb = "print";

        proc.StartInfo.FileName = @"C:\Program Files\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe";
        proc.StartInfo.Arguments = @"C:\Program Files\Obrasci\PDF\Obrasci finansijskih izvestaja\Statisticki aneks .pdf";
        proc.StartInfo.UseShellExecute = false;
        proc.StartInfo.CreateNoWindow = true;
        proc.Start();

This code open my pdf file in acrobat 10, but not work with 64 procesor.
Please help me!

Recommended Answers

All 2 Replies

Works find here on my 64bit processor (I did have to change the paths, but that doesn't change the logic). You need to be a lot more descriptive. What do you mean by "doesn't work"? Does anything happen? Do you get an error message? If so, what does it say? What options are you compiling with? What version of .NET? What OS? Did you notice that you have a space at the end of the file name right before the extension?

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ceTe.DynamicPDF.Printing;
using System.IO;
using System.Drawing.Printing;
using System.Diagnostics;

I have ceTe.DynamicPDF.Printing.35.x86.dll for work in 32-bit procesor,but not and code that i previously set and not work and i find ceTe.DynamicPDF.Printing.35.x64.dll and that not work.
How to make setup for 64-bit procesor?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.