VS2005 Designer choking when I add Acrobat Reader ActiveX control

  • Thread starter Thread starter sklett
  • Start date Start date
S

sklett

I'm curious if anyone has encountered this. I'm developing an outlook
add-in that needs to display a PDF. I've included the Adobe Reader ActiveX
cotnrol and when I re-load the form I get the dreaded "The path is not of a
legal form" error.

I've tried all the usual solutions to this error (cleaning, exiting,
deleting bin/obj folders, rebuilding, etc).
The add-in works fine and the PDF viewer does it's job, but without being
able to use the designer it's a bit useless.

Anyone have any experience with this or have any suggestions for things I
might try? I've gotten to the point where I'm about ready to purchase a
native .NET view but can't find anything decent for < $1000 that DOESN'T use
the acrobat activeX control behind the scenes.

Thanks,
Steve
 
I was able to work around this problem by hosting the PDF Viewer control
within a UserControl. When I view the UserControl in the designer I get the
same error, but when I view my main form that has the UserControl I don't
get the error. So, it's still "broken" but I can manage. I would still
relaly like to know what's causing it if anyone knows.

-Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top