Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 4th, 2003, 09:54 AM
Registered User
 
Join Date: Sep 2003
Location: , WI, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create a PDF with VB.NET

Is there a way to create a PDF with data from a database in VB.NET with out a 3rd party solution?
Thanks!

Reply With Quote
  #2 (permalink)  
Old October 11th, 2003, 06:21 PM
Registered User
 
Join Date: Jul 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I haven't tried this, but you may want to check this out:

http://www.dopostback.com/eGo/%7B0.7...file.aspx?ID=7

Reply With Quote
  #3 (permalink)  
Old October 14th, 2003, 02:49 PM
Authorized User
 
Join Date: Oct 2003
Location: Bohemia, NY, USA.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Not sure if you would consider it a third party solution or not but...

There is a version of Crystal Reports that is embedded in VS.net now. No need to buy anything. Well within the capabilities of CR to export it to PDF for you. Especially easy if you already have some experience with CR.

Thanks,
risu
Reply With Quote
  #4 (permalink)  
Old October 28th, 2003, 08:20 AM
Registered User
 
Join Date: Jul 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

risu,

Can you tell me where I could find information on using CR, and/or any good books out there that might walk me through this?

Thanks
Reply With Quote
  #5 (permalink)  
Old October 29th, 2003, 10:32 AM
Authorized User
 
Join Date: Oct 2003
Location: Bohemia, NY, USA.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

burchbt,

I have mainly just been living on their forums whenever I do work with CR (not a heck of a lot till now but will be doing more and more soon). They have lots of Technical articles as well that have helped with some problems. The link for them is below and the forum you want is down the page some.

http://support.crystaldecisions.com/...f=devzone_main

I've used this site as well for a reference on how CR integrates with VS.Net. I registered with the site to read the rest of the articles. I don't remember if there was any fee involved. IIRC it was just give a valid email address so they can sell you to mailing lists. Not too sure on that though so don't quote me .

http://www.crystalreportsbook.com/Chapters.asp

Thanks,
Risu

When you do get the CrystalReport up and running try the following bit of code for the export. I have not run it myself so I can not vouch for it's effectiveness but I got it out of my CRfor VS.net class manual.

Code:
Dim myDiskFileDestinationOptions as new DiskFileDestinationOptions()
dim FileName as String
FileName = <your local disk>
myDiskFileDestinationOptions.DiskFileName = FileName

With <your CrystalReport>.ExportOptions
.DestinationOptions = myDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.Diskfile
.ExportFormatType = ExportFormatType.ProtableDocFormat
End With

<your CrystalReport>.Export()
Reply With Quote
  #6 (permalink)  
Old October 29th, 2003, 12:16 PM
Registered User
 
Join Date: Jul 2003
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks risu!

medwar76,
you might also want to look at the following thread:
http://www.asp.net/Forums/ShowPost.a...&PostID=377711

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pdf in vb.net rajessnit@gmail.com VB.NET 0 November 14th, 2006 12:03 AM
Create pdf files from VB.net hoeknu VB How-To 4 October 27th, 2006 10:03 AM
open pdf within VB.NET saphiroth Pro VB.NET 2002/2003 0 December 16th, 2004 09:12 AM
How to create a Read-Only PDF in C#.NET? jjjooooohhnnn General .NET 1 September 15th, 2004 08:52 AM
Create a PDF with VB.NET medwar76 VS.NET 2002/2003 0 September 4th, 2003 02:38 PM



All times are GMT -4. The time now is 10:15 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.