473,803 Members | 4,192 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PDF inside Access forms looks small in size by using ActiveX

25 New Member
hi
i am using Adobe pdf reader ActiveX in ms-access, I have given in form load()
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2.  
  3. Dim FILENAME As String
  4.  
  5. FILENAME = "D:\SAMPLES\Test.pdf"
  6.  
  7. AcroPDF5.LoadFile FILENAME
  8.  
  9. End Sub
when i run the form , i can see the Test.pdf inside the form But it looks very small in size , i can't drag also.No other option .is there on the window..

help me to get a normal view of the PDF inside access forms


thanks!
Sep 13 '06 #1
7 19253
MMcCarthy
14,534 Recognized Expert Moderator MVP
Why can't you change the size of the control in design view. The only other option i can think of is actually opening the Adobe Reader from Access. I know this can be done but i don't know the code.
Sep 13 '06 #2
PEB
1,418 Recognized Expert Top Contributor
See also the properties of your control! Especially Size Mode! There is option Clip Stretch or Zoom! Try the 3!
:)
Sep 13 '06 #3
PEB
1,418 Recognized Expert Top Contributor
And which references do you use in your visual basic for load the acrobat?

:)
Sep 13 '06 #4
mumbaimacro
25 New Member
And which references do you use in your visual basic for load the acrobat?

:)

hi i have checked the size property for the control,, dont have for the particular pdf control.

enabled References:

Adobe Acrobat 7.0 Type library
Acrobat Access3.0 type library
Adobe acrobat 7.0 browser control type 1.0

i can drag the size in desgin time , but when executing the form its still same small size pdf..

thanks
Sep 20 '06 #5
coombes
1 New Member
you need to expand the PDf active object under VBA code

assuming you are using the Acrobat 7 Browser control and have named it AcroPdf1 then the code I use is as follows In my form onload even.

You can also resize it under code when it is running using VBA
Expand|Select|Wrap|Line Numbers
  1.             Me.AcroPDF1.LoadFile ("C:\PMCMS\Dummy.pdf")
  2.             Me.AcroPDF1.setShowToolbar (False)
  3.             Me.AcroPDF1.Height = 3800
  4.             Me.AcroPDF1.Width = 12000
  5.             Me.AcroPDF1.setView ("FullScreen")
  6.             Me.AcroPDF1.Visible = True
you must of course set up the references to the type library and have the activex object dropped on to the form

Hope that helps
Oct 28 '06 #6
mumbaimacro
25 New Member
thanks buddy...

its workn.
Dec 1 '06 #7
dbstiles
1 New Member
I seem to be having difficulty enabling the Adobe Acrobat 7.0 Type library. I can't seem locate that reference in the list. Does anyone know of a reason why this library would not show up besides. Adobe Acrobat 7.0 and the SDK are both installed.

Thanks for any help you can provide.

hi i have checked the size property for the control,, dont have for the particular pdf control.

enabled References:

Adobe Acrobat 7.0 Type library
Acrobat Access3.0 type library
Adobe acrobat 7.0 browser control type 1.0

i can drag the size in desgin time , but when executing the form its still same small size pdf..

thanks
Apr 12 '07 #8

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

Similar topics

0
1255
by: Rated R1 | last post by:
I have been able to acces my MS Access tables on my pocketpc using abcDb. HOWEVER I want to be able to run my database, the forms with the dropdown querys, etc and I cant find a program that I can demo that can do that. If anyone has a demo or a full prog thatcan do that PLEASE help!!! Secondly, if I DO get it...theres one thing Im not sure of. On my comp I have the access database and it displays a pic when I call up a certain query...
7
13089
by: Stefan Saur | last post by:
Hello, I have the commands to access the AutoCAD database via ActiveX within a VB application. Now I am searching for the equivalent commands in C#: VB --> C# GetObject --> ??? CreateObject --> ???
3
1132
by: Mattt | last post by:
Hi, I have an activex control created using Sun's javabeans activex bridge, and, as such, it must be installed in a certain directory (the JRE home) if is to be installed locally.... What I would like to do is use this activex control in ASP or ASP.NET. I've seen various ways to do it but I'm not sure I'm doing it correctly. In addition, is it possible to have the control on the server and not have it downloaded to the client? It is a...
7
3278
by: dtecmeister | last post by:
Looking to see how many people could use this kind of tool. I've got several large databases I've developed in Access with MySQL as the back-end. I've started using Linux instead of windows and the only thing I can't migrate is my Access databases. I'm looking to export them in a standard file format, then provide convert functionality into SWT, Flash, HTML, Native and/or some other formats.
3
4589
by: mumbaimacro | last post by:
hi i am a newbie to access programming,, i need help to 1. view PDF inside Ms-access forms whether the PDF Location from the Folder or the Path in table. 2. view ms- photoeditor inside ms-access forms.
0
1321
by: kkrizl | last post by:
I've tried to research this problem, and I haven't been able to find any references to it. Probably because I shouldn't be doing it, but it was working, and now it's not. I'm trying to develop a small application to run on our intranet. I have a lot of old knowledge, and not a lot off access to new knowledge, so I'm shooting from the hip and fumbling. I have a small Access database that I'm using as a back end for some ..ASP pages. ...
1
1756
by: kkrizl | last post by:
I've tried to research this problem, and I haven't been able to find any references to it. Probably because I shouldn't be doing it, but it was working, and now it's not. I'm trying to develop a small application to run on our intranet. I have a lot of old knowledge, and not a lot off access to new knowledge, so I'm shooting from the hip and fumbling. I have a small Access database that I'm using as a back end for some ..ASP pages. ...
1
1911
by: mithunmo | last post by:
Hello All, How do we access form using Win32::IE::Mechanize->new( ) ? I know we have a method $mech->form_name('"name") .But what if the form has only the 'id' attribute and no name attribute, In this case how do we access the form through Win32::IE::Mechanize->new() Kindly reply
3
8277
Frinavale
by: Frinavale | last post by:
Hi there! I'm hoping that someone knows how to check the size of a file before it is uploaded to the server using JavaScript. I have seen suggested solutions using an ActiveX control to check the file size; however, I'm not happy with this solution because my application is designed to work in multiple browsers and ActiveX is limited to Internet Explorer. I cannot check the file size on the web server because IIS throws the following...
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10548
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9125
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6842
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.