473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VS2005 Designer choking when I add Acrobat Reader ActiveX control

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
Nov 6 '07 #1
1 2173
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
"sklett" <sk****@mddirect.comwrote in message
news:Oi**************@TK2MSFTNGP04.phx.gbl...
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


Nov 6 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: jimfortune | last post by:
I have modified my GetAcroPath function to: Function GetAcroDir() As String Const LatestVer = 7 Dim strAcroDir(LatestVer - 2) As String Dim I As Integer strAcroDir(1) = "C:\Program...
0
by: philipp | last post by:
I have the following problem: My client application (c#, WindowsForms) uses the IE Browser ActiveX Control to display either HTML or PDF files. This is fine so far. If the Acrobat Reader is...
2
by: Iouri | last post by:
Hi, How can I create a setup project for the VS2005 application that has an ActiveX control? I added an ActiveX control to the local folder (set CopyLocal property to True) and then created the...
1
by: Rich | last post by:
I have a solution that is in development under VS2003 and has been 'ported' to VS2005. The painful experience of running this newer version of VS revolves around one form. This form is very dense...
3
by: moroni | last post by:
No problem 2 set Access up to get address data from tblClients then to use a form as a letterhead and to keyboard in the letter content then save the letter to a tblCorrespondence Get a scanner....
1
by: Khadim | last post by:
greetings, i am trying to develop an application which is supposed to show pdf. i have added the activeX control from the acrobat in my application. everything was working fine, until i got to...
2
by: Khan | last post by:
Hi, I'm using acrobat reader contorl in my vb.net application to display pdf files. I'm using version 8.0 of acrobat, but if i run my application on other machine which has different version of...
10
by: Mauro | last post by:
I'm trying to use the following VB function to transform a pdf document to a tiff one: http://forums.microsoft.com/msdn/showpost.aspx?postid=1665127&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=1 ...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi all people, everybody, We have multiple versions of Acrobat Reader from 5.x to 8.x, I want to create a method in C# or VB.NET to check to see if the registry key for the versions...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.