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

how to export a VB Report to microsoft word or to PDF ?

Hi All

could anyone tell me how to export a VB Report to microsoft word or to PDF ?
Nov 12 '11 #1
1 2194
8,435 Expert 8TB
Could you be more specific as to what you mean by a "VB report"? Is this something you're currently writing out to to text file, or are you using Crystal Reports, or what?

Also, it depends a bit on what you mean by exporting. For example, you could write text to a file and name it with an extension of ".doc". When it's opened, Windows will automatically invoke Word (or whatever your default application is for that extension).

Writing out a PDF file is a different matter, and may require a third-party product. I mean, sure you could just write a text file with a ".PDF" extension. But when the user opens it, the Adobe Acrobat Reader (or equivalent) probably won't like it.
Dec 18 '11 #2

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

Similar topics

by: TomT | last post by:
I have created an ASP App that seems to be working well. I can get the data out of the Access DB and displayed in screen fine. But instead of sending it to the screen, is there any way I can...
by: Paolo | last post by:
Hello, I am trying to create a procedure to export my Access data to a word template. I would like to export data from two tables to a word file at the same time. My two tables are named CASES...
by: Majstor | last post by:
Does anybody know how to export Report in Word, Excel or HTML with pictures (Access 2000)? I don't use snapshot format.
by: Mariana | last post by:
Hello, I am exporting reports in pdf format from .net 2005 . The export is working fine; however the user values of stored procedure parameters does not show in the report. What do I need to do in...
by: Scott | last post by:
I usually preview a report and click the button to publish the report to Word document from time to time. It works correctly until today. It produced below error message. Microsoft Office...
by: ljungers | last post by:
Wondering if somone knows how to open a Access report in Word or export it to Word. Currently I'm opening and printing a report using VBA with the following command (DoCmd.OpenReport "TheReportName",...
by: beemomo | last post by:
I have some invoice data on an MS Access form, and I wish to export the data into Microsoft Word document, can anyone help me please? Many thanks..
by: djamila | last post by:
Hi, I work in a c# project that uses Microsoft Word to generate report. In my program I use Interop.Word reference. When I run the program in my PC with Microsoft Word 2003, all work well....
by: jolaunt | last post by:
Hello I have an Access database and want to export a query or report to microsoft word. I have the following code which works fine: Private Sub cmdLetterToCustomer_Click() DoCmd.OutputTo...
by: ghiey | last post by:
hi to all, i have searched for a solution regarding exporting access 2007 reports to excel file. i have converted to access 2007 my database from access 2003. i guess microsoft omitted the ease...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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...

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.