Solved

Printing Microsoft Access 2003 report in VB 6

Posted on 2006-07-03
2
151 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Reading the Contents of a Directory In Access VBA 5 58
passing a value with stream reader AFTER a ";" 3 58
Copy a row 12 58
SLMGR Switches Are Not Working On KMS Host 3 69
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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

920 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

15 Experts available now in Live!

Get 1:1 Help Now