Dipika Wani

Dipika Wani

  • NA
  • 3
  • 9.6k

How to read or view PDF file in windows form

Aug 4 2014 1:30 AM
I tried to use Activex Control But I get error that "
 
I Tried Below Code :
 
AxAcroPDF a = new AxAcroPDF();
axAcroPDF1.CreateControl();
a.LoadFile(Application.StartupPath + "\\Reports\\");
a.Show(); 
I Got Error- 

How to fix it error that Sysytem.windows.form AxHost.InvalidActiveXStateException " was through

If There Is any other option Then plz tel me.

Answers (6)