473,624 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A twist on PDF forms filling from VB

Hello, all, I've read through both of the groups I'm posting to, and
all over the groups, regarding filling PDF forms with data from VB. I
have Acrobat 5 (and the SDK), and am using VB 6. I can successfully
place data in a field with code like the following (leaving out
declarations for brevity):

Set AdPre = CreateObject("A croExch.AVDoc")
AdPre.Open "c:\test.pd f", "Foo"
Set formApp = CreateObject("A FormAut.App")
Set acroForm = formApp.Fields
acroForm.Item(" AA1A").Value = "FOO"

Which basically opens up the form, grabs ref to the fields
collection/object and then sets one of their values to "FOO". Yea!
Not. The darned thing opens up in Acrobat (or viewer on a system with
only viewer). :-/ What I really want is this whole process to be
quiet and in the background. That is, the end user is using my
program to enter and store data and I want my program to fill the
fields and cause the printer to emit the printed report; I don't want
the end user to see a splash on the screen as Reader comes to life and
prints the document; more precisely, I don't want Acrobat/Reader to
ever launch with a UI. That is, is there anyway to make this happen
without actually opening the document in Acrobat/Reader? To me, to
have the document open, if only for a moment, in Acrobat/Reader, when
the user has no need to view it in that program but only to have the
printed report in hand, is junky.

TIA

--HC
Jul 17 '05 #1
0 2608

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

Similar topics

0
2228
by: zelnaga | last post by:
i'm connecting to the internet via a proxy, and am having problems filling out forms... below is the code i have, and below that is the http request i am trying to make it look like. they look the same to me, but it isn't working, so i guess they aren't... $proxy = fsockopen("tcp://someaddresshere", 80, $errno, $errstr); $temp = "somethingelse=blablabla"; fputs($proxy,"GET somesite HTTP/1.0\r\n"); fputs($proxy,"Accept: */*\r\n");
1
1401
by: Bruce Skamser | last post by:
I'm new to C#, and I'd like to write a program to take the responses from a series of questions and the output would fill in forms. Specifically, I'd like the program to take the user input and the output would be filled in government forms (for new business registration). I'm not sure of a good way to fill in forms and have them print out. Does anyone have a suggestion to get me started? Thanks!
7
2570
by: jnikle | last post by:
I have a database in A2003 format that's giving me this error, but it's not the same situation I've been reading about on here. In my development copy, I have imported copies of the backend's tables, and everything works fine. I can also compile the database like this, and it works fine. However, as soon as I get rid of these copies and instead link to the real data, I get the "can not open any more databases" error. Why would it make...
34
2069
by: Luke | last post by:
Hi! I am new to PHP but I am a very experienced in Perl/CGI/templates. I work in medical informatics when we deal with very large data collection forms. Some of them have over 1000 elements! Forms are not outputted by PHP, they are designed by nurses using various visual HTML editors /drag & drop/. Ok, it is relatively easy to get all the fields submitted into the MySQL server. But there is always a chance of a data entry error or a...
1
1186
by: John | last post by:
Is there an automatic way of filling forms that have been generated using javascript? I tried to use python+mechanize but am having trouble with javascript forms. This is the way the form is created: <script src="/WebResource.axd?d=uz45jgd0NVyzsVJV_sZDrjxBvvX2yHd3hs2IGgfXLN3pPD65PTl8Gec4qFJa35leX_j-S-HQNzQg1sDk82eQYafpf0w9zI7HaoMUnMjb9ihQ96Tf0qvT-Air__85j5db0&amp;t=632972974720000000" type="text/javascript"></script>
4
1623
by: emy | last post by:
I am in need of advice of the best way to handle what I want to do. I have a website where I as of now just tell potential clients about my services. I want to upgrade the site to be able to also allow potential clients to fill in a contract and send payment. I would like for them to first be able to check if we have their date available then if we do sent to the contract form. The contract needs to have all the terms and conditions and...
1
1115
by: emy | last post by:
I am in need of advice of the best way to handle what I want to do. I have a website where I as of now just tell potential clients about my services. I want to upgrade the site to be able to also allow potential clients to fill in a contract and send payment. I would like for them to first be able to check if we have their date available then if we do sent to the contract form. The contract needs to have all the terms and conditions and allow...
2
3068
by: Toni Pohl | last post by:
Hi, some years ago I´ve implemented an classic ASP form which fills in data from a database into a PD-form. I used the free FDF Toolkit which worked very well. After submitting the PDF the asp-form reads the data of the datafields and write them into the database again. Now I want to implement an improved ASP.NET version with VB.NET and I found iText.net. - FDF seems to be completly outdated?
4
4434
by: Chuckhriczko | last post by:
I need to possibly twist an image on the z axis in Javascript. Here is the deal. We have sliding effects and so forth for our company's website but there is too much sliding. We want something more unique. We could do this in flash but I was looking for a way to possibly do it outside of flash. Essentially the effect we are trying to pull off makes an image twist. Imagine you put your hand in the air. Moving it up and down is like the y axis....
0
8234
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
8677
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
8620
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8474
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...
1
6110
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
5563
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
4079
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
2605
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
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.