Sir / Mam, please help me with this issue..
when i click button 1 it opens the page in one pdf with the nameddestinatio n...
when i click button 2 it opens different page in another pdf with the namedestination ...
Any ideas... to open different pages or topics in one pdf when i click different buttons..???...
Plz.... Desperate...... Desperate.....
using System;
using System.Collecti ons.Generic;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows. Forms;
namespace button_click_pd f_2
{
public partial class Form1 : Form
{
System.Diagnost ics.Process myProcess = new System.Diagnost ics.Process();
public Form1()
{
InitializeCompo nent();
}
private void button1_Click(o bject sender, EventArgs e)
{
myProcess.Start Info.FileName = "AcroRd32.e xe";
myProcess.Start Info.Arguments = " /n /A \"nameddest=nam eddest\" C:\\temp\\file. pdf\"";
myProcess.Start ();
}
private void button2_Click(o bject sender, EventArgs e)
{
myProcess.Start Info.FileName = "AcroRd32.e xe";
myProcess.Start Info.Arguments = "/n /A \"nameddest=nam eddest:\" C:\\temp\\file. pdf\"";
myProcess.Start ();
}
}
}
.
when i click button 1 it opens the page in one pdf with the nameddestinatio n...
when i click button 2 it opens different page in another pdf with the namedestination ...
Any ideas... to open different pages or topics in one pdf when i click different buttons..???...
Plz.... Desperate...... Desperate.....
using System;
using System.Collecti ons.Generic;
using System.Componen tModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows. Forms;
namespace button_click_pd f_2
{
public partial class Form1 : Form
{
System.Diagnost ics.Process myProcess = new System.Diagnost ics.Process();
public Form1()
{
InitializeCompo nent();
}
private void button1_Click(o bject sender, EventArgs e)
{
myProcess.Start Info.FileName = "AcroRd32.e xe";
myProcess.Start Info.Arguments = " /n /A \"nameddest=nam eddest\" C:\\temp\\file. pdf\"";
myProcess.Start ();
}
private void button2_Click(o bject sender, EventArgs e)
{
myProcess.Start Info.FileName = "AcroRd32.e xe";
myProcess.Start Info.Arguments = "/n /A \"nameddest=nam eddest:\" C:\\temp\\file. pdf\"";
myProcess.Start ();
}
}
}
.