Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27513

VS 2010 Access labels interface

$
0
0
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
Code:

        Dim app As New Access.Application
        app.OpenCurrentDatabase("c:\Contacts\Contacts.accdb")
        app.DoCmd.OpenReport("ThreeWideLabels", Access.AcView.acViewPreview, , , AcWindowMode.acWindowNormal)
        app.Visible = True

Is there a way to display the print preview window without displaying the whole Access database.

Thanks for any information.

Viewing all articles
Browse latest Browse all 27513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>