Version =21 VersionRequired =20 PublishOption =1 Checksum =-1053891299 Begin Form RecordSelectors = NotDefault ControlBox = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridX =24 GridY =24 Width =14700 DatasheetFontHeight =11 ItemSuffix =13 Right =15096 Bottom =9000 DatasheetGridlinesColor =15132391 RecSrcDt = Begin 0xd6f3be98d988e540 End GUID = Begin 0x3d5c9791b6dd354297e7d4abbf831332 End Caption ="Document View" DatasheetFontName ="Calibri" PrtMip = Begin 0x6801000068010000680100006801000000000000201c0000e010000001000000 , 0x010000006801000000000000a10700000100000001000000 End PrtDevMode = Begin 0x0087b9770000000000000000000000000000000000005e0100000000f4501e00 , 0x010403069c005003032f000001000100ea0a6f08640001000f002c0102000100 , 0x2c01030001004c657474657200de85650000000090511e001cb0351240511e00 , 0x09aece7bffff0000000000000000000000000000010000000000000001000000 , 0x0200000001000000ffffffff4749533400000000000000000000000044494e55 , 0x2200d80034031c00a4d6c8050000000000000000000000000000000000000000 , 0x0000000000000000060000000000000001000100000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000100000000000000000000000000000000000000 , 0x000000000000000000000000000000000000000000000000d8000000534d544a , 0x000000001000c8007b00310033003300360031003900650034002d0031003400 , 0x330062002d0034003600330061002d0062003800300039002d00620031006600 , 0x3500310064003000350066003900370033007d000000496e70757442696e0046 , 0x4f524d534f5552434500524553444c4c00556e69726573444c4c005061706572 , 0x53697a65004c4554544552004f7269656e746174696f6e00504f525452414954 , 0x00436f6c6f724d6f646500436f6c6f72005265736f6c7574696f6e0052657333 , 0x303000000000000000000000000000001c0000005634444d0100000000000000 , 0x000000000000000000000000 End PrtDevNames = Begin 0x0800220048000100000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000545330303100000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000 End OnLoad ="[Event Procedure]" AllowDatasheetView =0 FilterOnLoad =0 ShowPageMargins =0 DisplayOnSharePointSite =1 DatasheetAlternateBackColor =15921906 DatasheetGridlinesColor12 =0 FitToScreen =1 DatasheetBackThemeColorIndex =1 BorderThemeColorIndex =3 ThemeFontIndex =1 ForeThemeColorIndex =0 AlternateBackThemeColorIndex =1 AlternateBackShade =95.0 PrtDevModeW = Begin 0x00000000bc6854eec00061114800000000c51f006a000000c000611100006111 , 0x0a00000001000000000100015003000018156111e9a261007f00000018156111 , 0x01040306dc005003032f000001000100ea0a6f08640001000f002c0102000100 , 0x2c01030001004c00650074007400650072000000700261111f15611100000000 , 0x504de600049f1f005098bc7762a2061afeffffffc89b1f00be57b9773c000000 , 0x48000000c8020000000000000000000000000000010000000000000001000000 , 0x0200000001000000ffffffff4749533400000000000000000000000044494e55 , 0x2200d80034031c00a4d6c8050000000000000000000000000000000000000000 , 0x0000000000000000060000000000000001000100000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000100000000000000000000000000000000000000 , 0x000000000000000000000000000000000000000000000000d8000000534d544a , 0x000000001000c8007b00310033003300360031003900650034002d0031003400 , 0x330062002d0034003600330061002d0062003800300039002d00620031006600 , 0x3500310064003000350066003900370033007d000000496e70757442696e0046 , 0x4f524d534f5552434500524553444c4c00556e69726573444c4c005061706572 , 0x53697a65004c4554544552004f7269656e746174696f6e00504f525452414954 , 0x00436f6c6f724d6f646500436f6c6f72005265736f6c7574696f6e0052657333 , 0x303000000000000000000000000000001c0000005634444d0100000000000000 , 0x000000000000000000000000 End PrtDevNamesW = Begin 0x04001e0044000100000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000540053003000300031000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x000000000000000000000000 End NoSaveCTIWhenDisabled =1 Begin Begin Label BackStyle =0 FontSize =11 FontName ="Calibri" ThemeFontIndex =1 BackThemeColorIndex =1 BorderThemeColorIndex =0 BorderTint =50.0 ForeThemeColorIndex =0 ForeTint =50.0 GridlineThemeColorIndex =1 GridlineShade =65.0 End Begin CommandButton FontSize =11 FontWeight =400 FontName ="Calibri" ForeThemeColorIndex =0 ForeTint =75.0 GridlineThemeColorIndex =1 GridlineShade =65.0 UseTheme =1 Shape =1 Gradient =12 BackThemeColorIndex =4 BackTint =60.0 BorderLineStyle =0 BorderColor =16777215 BorderThemeColorIndex =4 BorderTint =60.0 ThemeFontIndex =1 HoverThemeColorIndex =4 HoverTint =40.0 PressedThemeColorIndex =4 PressedShade =75.0 HoverForeThemeColorIndex =0 HoverForeTint =75.0 PressedForeThemeColorIndex =0 PressedForeTint =75.0 End Begin BoundObjectFrame AddColon = NotDefault SizeMode =3 SpecialEffect =2 BorderLineStyle =0 LabelX =-1800 BackThemeColorIndex =1 BorderThemeColorIndex =1 BorderShade =65.0 GridlineThemeColorIndex =1 GridlineShade =65.0 End Begin TextBox AddColon = NotDefault FELineBreak = NotDefault BorderLineStyle =0 LabelX =-1800 FontSize =11 FontName ="Calibri" AsianLineBreak =1 BackThemeColorIndex =1 BorderThemeColorIndex =1 BorderShade =65.0 ThemeFontIndex =1 ForeThemeColorIndex =0 ForeTint =75.0 GridlineThemeColorIndex =1 GridlineShade =65.0 End Begin UnboundObjectFrame SpecialEffect =2 OldBorderStyle =1 ThemeFontIndex =1 BackThemeColorIndex =1 BorderThemeColorIndex =1 BorderShade =65.0 ForeThemeColorIndex =2 ForeShade =50.0 GridlineThemeColorIndex =1 GridlineShade =65.0 End Begin CustomControl OldBorderStyle =1 BackThemeColorIndex =1 BorderThemeColorIndex =1 BorderShade =65.0 GridlineThemeColorIndex =1 GridlineShade =65.0 End Begin WebBrowser OldBorderStyle =1 BackThemeColorIndex =1 BorderThemeColorIndex =1 BorderShade =65.0 GridlineThemeColorIndex =1 GridlineShade =65.0 End Begin Section Height =10499 Name ="Detail" GUID = Begin 0xd0275c6c9f90a44d96d1158481b19fa3 End AlternateBackColor =15921906 AlternateBackThemeColorIndex =1 AlternateBackShade =95.0 BackThemeColorIndex =1 Begin Begin CommandButton OverlapFlags =85 Left =12960 Top =120 Width =576 Height =720 ForeColor =3484194 Name ="btnClose" Caption ="Command452" OnClick ="[Event Procedure]" PictureData = Begin 0x2800000010000000100000000100040000000000800000000000000000000000 , 0x0000000000000000000000000000800000800000008080008000000080008000 , 0x8080000080808000c0c0c0000000ff00c0c0c00000ffff00ff000000c0c0c000 , 0xffff0000ffffff00ddddd0dddddddddddddd00ddddddddddddd030dddddddddd , 0xdd0330dddddddddd0033300000000dddd03330ff0dddddddd03300ff0dddd4dd , 0xd03330ff0ddd44ddd03330ff0dd44444d03330ff0d444444d03330ff0dd44444 , 0xd0330fff0ddd44ddd030ffff0dddd4ddd00fffff0dddddddd00000000ddddddd , 0xdddddddddddddddd End ObjectPalette = Begin 0x000301000000000000000000 End ControlTipText ="Close Form" GUID = Begin 0x2dcc9170eb1b664f9947b8f1b22f4661 End GridlineColor =10921638 LayoutCachedLeft =12960 LayoutCachedTop =120 LayoutCachedWidth =13536 LayoutCachedHeight =840 ForeThemeColorIndex =2 ForeTint =100.0 ForeShade =50.0 UseTheme =0 Shape =0 Gradient =0 BackColor =-2147483633 BackThemeColorIndex =-1 BackTint =100.0 BorderColor =13553360 BorderThemeColorIndex =3 BorderTint =100.0 BorderShade =90.0 HoverThemeColorIndex =-1 HoverTint =100.0 PressedThemeColorIndex =-1 PressedShade =100.0 HoverForeThemeColorIndex =-1 HoverForeTint =100.0 PressedForeThemeColorIndex =-1 PressedForeTint =100.0 WebImagePaddingLeft =3 WebImagePaddingTop =3 WebImagePaddingRight =2 WebImagePaddingBottom =2 End Begin BoundObjectFrame Visible = NotDefault SpecialEffect =0 OverlapFlags =85 Left =10020 Top =600 Width =1560 Height =1920 TabIndex =1 BorderColor =10921638 Name ="OLEBound_PathFile" GUID = Begin 0x8b7333bb254ee4409e09a8e22829e0a6 End GridlineColor =10921638 LayoutCachedLeft =10020 LayoutCachedTop =600 LayoutCachedWidth =11580 LayoutCachedHeight =2520 End Begin WebBrowser OverlapFlags =85 Left =120 Top =120 Width =9600 Height =7560 AutoActivate =1 TabIndex =2 BorderColor =10921638 Name ="WebBrowser10" OleData = Begin 0x000e0000d0cf11e0a1b11ae1000000000000000000000000000000003e000300 , 0xfeff090006000000000000000000000001000000020000000000000000100000 , 0x0400000001000000feffffff0000000003000000ffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xfffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffff52006f006f007400200045006e007400720079000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000016000500ffffffffffffffffffffffff000000000000000000000000 , 0x000000000000000000000000000000000000000000000000feffffff00000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000ffffffffffffffffffffffff000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000ffffffffffffffffffffffff000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000ffffffffffffffffffffffff000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000052006f006f007400200045006e007400720079000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000016000500ffffffffffffffff0100000061f956880a34d011a96b00c0 , 0x4fd705a2000000000000000000000000c07d7dc28196d6010500000000010000 , 0x0000000003004f006c0065004f0062006a006500630074004400610074006100 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x000000001e000201ffffffff02000000ffffffff000000000000000000000000 , 0x00000000000000000000000000000000000000000000000001000000ac000000 , 0x0000000003004100630063006500730073004f0062006a005300690074006500 , 0x4400610074006100000000000000000000000000000000000000000000000000 , 0x0000000026000200ffffffffffffffffffffffff000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000038000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000ffffffffffffffffffffffff000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x00000000fffffffffffffffffefffffffdfffffffefffffffeffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xfffffffffeffffff0200000003000000feffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff , 0xffffffff38000000000000000100000000000000000000000000000000000000 , 0x0000000038000000000000000000000000000000000000000000000000000000 , 0x0000000061f956880a34d011a96b00c04fd705a24c000000e0170000cf150000 , 0x0000000000000000000000000000000000000000000000004c00000000000000 , 0x0000000001000000e0d057007335cf11ae6908002b2e12620800000000000000 , 0x4c0000000114020000000000c000000000000046800000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000001000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000000000000000000000000000000000000000000000000000 , 0x0000000000000000 End GUID = Begin 0xec1da358f30fe5499bcffc72532e2124 End GridlineColor =10921638 LayoutCachedLeft =120 LayoutCachedTop =120 LayoutCachedWidth =9720 LayoutCachedHeight =7680 ControlSource ="=[txtPath]" HyperlinkBinderDescription ="1|=[txtPath]" End Begin TextBox Visible = NotDefault OverlapFlags =85 IMESentenceMode =3 Left =9960 Top =120 Height =345 TabIndex =3 BorderColor =10921638 ForeColor =4210752 Name ="txtPath" GUID = Begin 0xf38eacd5ee2d7a4db31bd838cf313726 End GridlineColor =10921638 LayoutCachedLeft =9960 LayoutCachedTop =120 LayoutCachedWidth =11400 LayoutCachedHeight =465 End End End End End CodeBehindForm Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Compare Database Option Explicit Private Sub btnClose_Click() DoCmd.Close acForm, Me.Name End Sub Private Sub Form_Load() If IsNull(Me.OpenArgs) Then MsgBox "No document to show", , "Path not specified" Exit Sub Else If Not FSO.FileExists(Me.OpenArgs) Then MsgBox "Your computer does not have access to the named file. You need to download the file to view it." Exit Sub Else Showdocument OpenArgs End If End If End Sub Private Sub Showdocument(strPath As String) Dim strExt As String Dim sPathFileHTML As String Dim oWordApp As Object Dim oDoc As Object strExt = GetFileExt(strPath) Select Case strExt Case "docx" 'save word doc as HTML sPathFileHTML = CurrentProject.Path & "\temp.html" Set oWordApp = CreateObject("Word.Application") Set oDoc = oWordApp.Documents.Open(strPath) oDoc.SaveAs2 FileName:=sPathFileHTML, FileFormat:=8 'wdFormatHTML oDoc.Close False oWordApp.Quit Set oDoc = Nothing Set oWordApp = Nothing Case Else sPathFileHTML = strPath End Select 'open in browser control Me.txtPath.Value = sPathFileHTML End Sub