Solved

Printing Microsoft Access 2003 report in VB 6

Posted on 2006-07-03
2
152 Views
Last Modified: 2011-04-14
I found the fucntion on Experts Exhange

"Public Function fPrintReportOLE(theDBName As String, theReport As String) As Boolean"

 and it works but it opens the Database and the database has a pop up security message.
 
Number 1 I do not want the user to open the database  They will not have access installed only run time

Number 2 How do I get rid of the security questions?

Any help I would be thankfull
0
Comment
Question by:MKadric
2 Comments
 
LVL 35

Accepted Solution

by:
Raynard7 earned 125 total points
ID: 17033887
If they do not have access installed then you will not be able to open the report on the machines.

You would be best using ADO to connect to the db and then recreate the report in your application.

The security questions relate to the security settings on the individual  machine.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now