|
-
October 9th, 2001, 07:13 PM
#1
Show Adobe PDF file in VB and save it to SQL Sever
Hi guys,
Does anyone know how to show a Adobe pdf file or picture in VB? Do I need any additional control?
In addition, I want to save the pdf file in SQL Server 7.0 database. If we can treat the pdf file like general picture (like Bmp or others), there should be no problem. But it seems that SQL Sever doesn't think pdf is a picture file type. Can you help me?
Thank you.
Regards,
Michi
-
October 10th, 2001, 06:00 PM
#2
Re: Show Adobe PDF file in VB and save it to SQL Sever
OK, I made it through by myself. I added a control to my project:
Acrobat Control for ActiveX (file name: pdf.ocx)
It will show PDF file. To save this file to DB, just like to save a general image.
Regards,
Michi
-
June 20th, 2002, 11:47 AM
#3
I have added the pdf.ocx in my program as well, but I cant seem to populate on a VB form. Can you tell me how you did that?
-
June 20th, 2002, 03:41 PM
#4
The code for me is fairly simple. I am using pdf.ocx version 5.0.5.452
Code:
pdfImage.Visible = True
Call pdfImage.LoadFile(strFullyQualifiedFileName)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|