- Joined
- Mar 13, 2012
- Messages
- 1
- Reaction score
- 0
i want to open in one pdf multiple pages..
example: button 1 should open page=10
button 2 should open page= 12
button 3 should open page= 20
this should happen without closing the first pdf.. coz when i do it opens in 3 seperate pdf with the desired page number...
this is my code
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
myProcess.StartInfo.FileName = "AcroRd32.exe";
myProcess.StartInfo.Arguments = " /n/A \"nameddest=nameddest\" C:\\temp\\pdf.pdf\"";
myProcess.Start();
}
private void button2_Click(object sender, EventArgs e)
{
System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
myProcess.StartInfo.FileName = "AcroRd32.exe";
myProcess.StartInfo.Arguments = " /n/A \"nameddest=nameddest\" C:\\temp\\pdf.pdf\"";
myProcess.Start();
}
plz help me..
example: button 1 should open page=10
button 2 should open page= 12
button 3 should open page= 20
this should happen without closing the first pdf.. coz when i do it opens in 3 seperate pdf with the desired page number...
this is my code
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
myProcess.StartInfo.FileName = "AcroRd32.exe";
myProcess.StartInfo.Arguments = " /n/A \"nameddest=nameddest\" C:\\temp\\pdf.pdf\"";
myProcess.Start();
}
private void button2_Click(object sender, EventArgs e)
{
System.Diagnostics.Process myProcess = new System.Diagnostics.Process();
myProcess.StartInfo.FileName = "AcroRd32.exe";
myProcess.StartInfo.Arguments = " /n/A \"nameddest=nameddest\" C:\\temp\\pdf.pdf\"";
myProcess.Start();
}
plz help me..