StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
Viewing PDF in VB .NET
Viewing PDF in VB .NET
Post Reply
Like
1
Viewing PDF in VB .NET
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StarkMike
StarkMike
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 436,
Visits: 944
I'm just curious how labor intensive it is to view PDFs in VB .NET, whether by purchasing a component or writing code.
Thanks
Reply
Like
1
Replies
StarkMike
StarkMike
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
I
finally
found a solution and I wanted to share it with the StrataFrame community.
For viewing a PDF in VB.NET you can use the
Adobe Acrobat Control for ActiveX
.
Hope this helps someone else! ;-)
Reply
Like
1
Ben Hayat
Ben Hayat
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 374,
Visits: 1.2K
For viewing a PDF in VB.NET you can use the Adobe Acrobat Control for ActiveX.
I read somewhere that it is not advisable to mix unmanaged and manged code in the same executable due to the way garbage collection works. Although, MS is still using a lot of old unmanaged code written in C (not even in C++) that are still being used in .Net apps. For example, the vector graphic engine that is used in Expression Design, is from 12 years ago, when MS bought it from another company. This was said by the lead developer of Expression Design, however, all that stuff has been wrapped with managed code.
..ßen
Reply
Like
1
Trent Taylor
Trent Taylor
posted 18 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Ben, you are correct. But it also depends on how much usage the interop will get. If your entire application is hinged around it, then yeah, bad idea for sure
But just for a minor viewer it shoulnd't cause too many issues...if any. One thing that .NET does really well is create an interop interface to the COM and Ax... classes. The only downside that I see with using an ActiveX control is that you either have to distribute it, or in this case make sure Adobe Reader is installed. But you are correct, certain ActiveX controls do notplay nice with .NET...but the more popular ones, such as this Adobe Acrobat control or the Flash ActiveX shouldn't cause too many issues. I will agree with Ben, though, that if part of your application relies heavily on opening and viewing PDF documents, then this may cause some memory and interopability issues once the volume is increased.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Viewing PDF in VB .NET
StarkMike
-
18 Years Ago
You will definitely want to purchase a tool in order to do this....
Trent L. Taylor
-
18 Years Ago
Atalasoft worked great for us.
Keith Chisarik
-
18 Years Ago
I [i]finally[/i] found a solution and I wanted to share it with the...
StarkMike
-
18 Years Ago
[quote]For viewing a PDF in VB.NET you can use the Adobe Acrobat...
Ben Hayat
-
18 Years Ago
Ben, you are correct. But it also depends on how much usage the...
Trent L. Taylor
-
18 Years Ago
Wow! Thanks guys for such great advice. My entire application wont be...
StarkMike
-
18 Years Ago
Hi,
maybe you should have a look at this too:
...
Ralph Rutschmann
-
18 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search