6
Answers

How to read or view PDF file in windows form

Dipika Wani

Dipika Wani

10y
3.2k
1
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)