Hello again.
AxAcroPDF a = new AxAcroPDF();
a.LoadFile(Application.StartupPath + "\\Reports\\");
a.Show();
Your Variable/Instance is named
a
I think you need to try this instead.
a.CreateControl()
a.LoadFile(Application.StartupPath + "\\Reports\\");
a.Show();
AxAcroPDF is the Type of Control, and
a
is the Instance, which will be shown with the selected PDF document.
Wrong:
axAcroPDF1.CreateControl();
Right
a.CreateControl();
If the Code in the first Question doesn´t changed meanwhile.
...even if this is Answer is marked as solved. Don´t hit me with that thing... ;)
c.u.