?
Solved

Printing Microsoft Access 2003 report in VB 6

Posted on 2006-07-03
2
Medium Priority
?
157 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
1 Comment
 
LVL 35

Accepted Solution

by:
Raynard7 earned 250 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

839 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