steve
steve

Reputation: 23

vb.net pdf reader load problem

From the tools menu I have done right click>choose item>COM (tab)> and ticked adobe pdf reader. From here I simply dragged the pdf tool onto my form. That's all I've done. Now on form load it throws a bug.

"InvalidOperationException was unhandled"

hovering over the message it says the following,

An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Any ideas anyone? Gonna take a mastermind to work this one out seriously

Upvotes: 1

Views: 2010

Answers (1)

Hans Olsson
Hans Olsson

Reputation: 54999

I think this problem might happen if you're compiling for x64 since I think the Acrobat Reader is not compatible with development for 64 bit systems I think.

You can check/change this setting in the Configuration Manager in Visual Studio.

Upvotes: 3

Related Questions