473,394 Members | 1,811 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,394 software developers and data experts.

Prob Creating PDF with Adobe 7.07

( First, I'm using .net 1.1 and, yes, I posted this problem on the
Adobe Forums but that won't do any good because they have very poor support)

In the code pasted below, MyReport is a Crystal Report object. this code
works with all Adobe readers except for the new 7.07. If the client has
Adobe 7.07 nothing happens. With Adobe versions 5 and 6 the reader produces
the Crystal Report in PDF format.

Apparently they have changed something. does anyone have any ideas?

MyStream =
MyReport.FormatEngine.ExportToStream(MyExportReque stContext)
Response.ClearHeaders()
Response.ClearContent()
Response.ContentType = "application/pdf"
Dim myBuffer(MyStream.Length) As Byte
MyStream.Read(myBuffer, 0, CType(MyStream.Length, Integer))
Response.BinaryWrite(myBuffer)
Response.Flush()
Response.close()
Response.End()

--
Regards,
Gary Blakely
Apr 1 '06 #1
2 1411
That seems to be a MIME-Type problem for me.

Have you tried to see if an "upgraded from prior version" Adobe 7.0.7 will
read it?

Sorry, we have projects that uses AdobeReader ActiveX plugin to read PDF
files so we have to maintain the version we use, and cannot upgrade to 7.0.7
to see myself.

"GaryDean" <Ga******@newsgroups.nospam> ¼¶¼g©ó¶l¥ó·s»D:ek**************@TK2MSFTNGP09.phx.g bl...
( First, I'm using .net 1.1 and, yes, I posted this problem on the
Adobe Forums but that won't do any good because they have very poor
support)

In the code pasted below, MyReport is a Crystal Report object. this code
works with all Adobe readers except for the new 7.07. If the client has
Adobe 7.07 nothing happens. With Adobe versions 5 and 6 the reader
produces the Crystal Report in PDF format.

Apparently they have changed something. does anyone have any ideas?

MyStream =
MyReport.FormatEngine.ExportToStream(MyExportReque stContext)
Response.ClearHeaders()
Response.ClearContent()
Response.ContentType = "application/pdf"
Dim myBuffer(MyStream.Length) As Byte
MyStream.Read(myBuffer, 0, CType(MyStream.Length, Integer))
Response.BinaryWrite(myBuffer)
Response.Flush()
Response.close()
Response.End()

--
Regards,
Gary Blakely

Apr 1 '06 #2
Hi Gary,

I also think the problem is likely due to some breaks/changes of adobe
component from v6 to v7. We haven't any good resource on this, however,
since the component is called by the crystal report component, and the
lastest version should be built with .net framework, you can use the
reflector tool to inspect the crystal component's code to see whether you
can get the clues there. Also, I recommend you contact the crystal report's
support on this issue:

#How to get help with Crystal Reports - International and U.S.
http://support.microsoft.com/kb/100368/en-us

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Apr 3 '06 #3

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

Similar topics

2
by: Manoj Paramu Das | last post by:
Hi, Is there a way to save a page/some data(read variables) as a .pdf files without using 3rd party components? Any Sample code would be really helpful. Thanks in Advance. Regards Manoj Das
0
by: Robert Bruce | last post by:
Hello, I'm trying to round-trip some XML out of Adobe InDesign, through my application and then back into InDesign. Tables in InDesign are created using a specific namespace like this: ...
1
by: JohnC | last post by:
I have this exact same scenario. It is new and seems to be related to when we installed Adobe 7.0 Standard/Professional. We have an MDB on a LAN file server. Using Access 2K and Windows 2K. ...
0
by: musicloverlch | last post by:
I used to be able to create PDFs, automatically save them to a file, and mail them out to people. This was on Access 97 with Windows NT. We've changed to Windows XP and Access 2003. Doesn't work...
2
by: Pawan | last post by:
Hi Guys, I have this current assignment where I have to develop online forms for local municipal authorities. I have to use adobe acrobat to create online forms from PDFs (which I have never done...
1
by: kistealt | last post by:
Hi folks, i have the following problem using c# and .net. I want to print pdf files by calling the Adobe Acrobat 4 command line tool. Here's my code ProcessStartInfo psi = new...
5
by: matt | last post by:
hello, i am on an interesting project. in this project, i have to create dynamic data-entry forms for offline-users to fill out, save locally, and eventually postback to our app (when back...
3
by: veaux | last post by:
Adobe has WAY to many forums and I wasn't sure which was correct so thought I'd try here first. I'm trying to see if there is a product that will allow us to create a large (1,100 pg) directory,...
2
by: praveenkhade | last post by:
Hello Every body, I have got a prob as m a fresher…… I am creating a web project in which I have created a folder named Components , in which I included 4 class files(BookReviewsCS,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.