473,403 Members | 2,359 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,403 software developers and data experts.

Control to display pdf file in VB 6.0

I'm doing the project using VB 6.0 and I want to display pdf file on the form. In my machine I've installed Adobe Acrobat 6.0 Professional and I can't find the control to add to the VB project to display the pdf file.So I want to know the control.

Anybody have any solution?
Thanks you in advance.
Sep 21 '10 #1

✓ answered by Cheng Bunhok

Thanks for your solution. But I only found the Pdf.ocx in the adobe. Cos my machine have installed the Adobe Acrobat 6.0 Professional. Now I used it in my project.The problem with this control When I open the pdf file to display on that control first time it's working,but the second time I want to open other pdf file it shows error or it doesn't display that pdf file.

Any solution for that problem?
Thanks you in advance.

4 6982
Guido Geurs
767 Expert 512MB
Look for "Adobe...."
For the reader it's "Adobe Acrobat 7.0 browser..." (see attachment)
Example of the code:
Expand|Select|Wrap|Line Numbers
  1. AcroPDF1.LoadFile ("D:\##PC TALEN##\vb6\vb.mvps.org\vsm20080327_simple asynchrous downloads.pdf")
Attached Images
File Type: gif PDF.GIF (15.0 KB, 1709 views)
Sep 21 '10 #2
Thanks for your solution. But I only found the Pdf.ocx in the adobe. Cos my machine have installed the Adobe Acrobat 6.0 Professional. Now I used it in my project.The problem with this control When I open the pdf file to display on that control first time it's working,but the second time I want to open other pdf file it shows error or it doesn't display that pdf file.

Any solution for that problem?
Thanks you in advance.
Sep 22 '10 #3
Guido Geurs
767 Expert 512MB
I have installed Adobe 6.0 Pro and VB6 tells me that the OCX is not a valid control.
The only DLL for viewing a PDF is from the viewer=
"C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\AcroPDF.dll"

Visible in VB controls is = "Adobe Acrobat 7.0 browser..."
Sep 22 '10 #4
No I've search on the internet I've known that Pdf.ocx is for Acrobat 6.0 or 5.0 Pro and the AcroPDF.dll is for Acrobat 8.0 Pro. And my problem the first time I open the pdf file to display on that control it's working,but the second time I open the other pdf file to display on that control again it shows error : "Could not find Adobe Acrobat" and "Could not find Acrobat External Window Handler.".

Sir do you have any solution to solve that?
Thanks you in advance.
Sep 23 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ravi | last post by:
My XML looks like: <abc> <def type="apple"> 1 </def> <def type="peach"> 2 </def> <def type="orange"> 3 </def> <def type="banana"> 4 </def> <def type="plum"> 5 </def> </abc>
2
by: Joe Au | last post by:
I first add a grid layout panel control to a web form, then put a data grid inside the panel. When I run the web form, the data grid is filled up but it throws outside the panel control. The panel...
5
by: Martin Moser | last post by:
Does somebody knows, if theres a way to display any file (tiff, doc, pdf, .....) "inline" on an asp.net site? What I want to do is, to display a file, which is stored in the DB, and some...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
19
by: yxq | last post by:
Hello I want to retrive the Name & Description from a Control Panel file(*.cpl) how to do? Thanks
5
by: Geoff Pennington | last post by:
My VB.Net app reads an Excel file, processes it one row at a time, and when processing is complete writes the row to a database. The typical file will have several thousand rows and may take a...
13
by: KMiller | last post by:
I would like to control entry into one or more of the tabs > I have set up on my Tab control based on set rules. Does > anyone know how to grey-out the text so that a user will > see that they do...
0
by: Athan | last post by:
I use MS activex treeview control in my asp pages. The problem I have is that some computers display the treeview with no problems while others display the control without the text on the nodes. I...
0
by: festivali | last post by:
I have a control that displays a thumbnail image (220px vertically). I use clip size mode and within VBA I assign the filename (mostly JPG). This works, however the result in 2007 is often...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.