I have a winforms app at uses an Access 2010 database. I use the Office.Interop to print labels I've designed in the Access DB. Right now I'm using this
Is there a way to display the print preview window without displaying the whole Access database.
Thanks for any information.
Code:
Dim app As New Access.Application
app.OpenCurrentDatabase("c:\Contacts\Contacts.accdb")
app.DoCmd.OpenReport("ThreeWideLabels", Access.AcView.acViewPreview, , , AcWindowMode.acWindowNormal)
app.Visible = TrueThanks for any information.