Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Command1_Click()
Dim oPubApp As New Publisher.Application
With oPubApp
.Open "c:\Publication1.pub"
.ActiveDocument.Pages(1).SaveAsPicture "c:\Publication1.jpeg", pbPictureResolutionCommercialPrint_300dpi
.ActiveDocument.Close
.Quit
End With
Set oPubApp = Nothing
MsgBox "Save Complete!", vbInformation
End Sub
Private Sub Command1_Click()
Dim oPubApp As New Publisher.Application
With oPubApp
.ActiveWindow.Visible = False
.Open "c:\Publication1.pub", True, False, pbDoNotSaveChanges
.ActiveDocument.Pages(1).SaveAsPicture "c:\Publication1.[b][blue]jpg[/blue][/b]", pbPictureResolutionCommercialPrint_300dpi
.ActiveDocument.Close
.Quit
End With
Set oPubApp = Nothing
MsgBox "Save Complete!", vbInformation
End Sub