Version =20
VersionRequired =20
Begin Form
    AllowFilters = NotDefault
    PopUp = NotDefault
    Modal = NotDefault
    RecordSelectors = NotDefault
    MaxButton = NotDefault
    MinButton = NotDefault
    AutoCenter = NotDefault
    NavigationButtons = NotDefault
    AllowDeletions = NotDefault
    DividingLines = NotDefault
    AllowAdditions = NotDefault
    AllowDesignChanges = NotDefault
    DefaultView =0
    BorderStyle =1
    PictureAlignment =2
    DatasheetGridlinesBehavior =3
    GridY =10
    Width =6645
    DatasheetFontHeight =11
    ItemSuffix =43
    Left =-16140
    Top =-1425
    Right =-6840
    Bottom =10920
    DatasheetGridlinesColor =14806254
    RecSrcDt = Begin
        0xeb366d1c54d7e440
    End
    Caption ="OpenAccess"
    OnCurrent ="[Event Procedure]"
    DatasheetFontName ="Calibri"
    PrtMip = Begin
        0x6801000068010000680100006801000000000000201c0000e010000001000000 ,
        0x010000006801000000000000a10700000100000001000000
    End
    FilterOnLoad =0
    ShowPageMargins =0
    DisplayOnSharePointSite =1
    DatasheetAlternateBackColor =15921906
    DatasheetGridlinesColor12 =0
    FitToScreen =255
    DatasheetBackThemeColorIndex =1
    BorderThemeColorIndex =3
    ThemeFontIndex =1
    ForeThemeColorIndex =0
    AlternateBackThemeColorIndex =1
    AlternateBackShade =95.0
    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
            Width =1701
            Height =283
            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 OptionButton
            BorderLineStyle =0
            LabelX =230
            LabelY =-30
            BorderThemeColorIndex =1
            BorderShade =65.0
            GridlineThemeColorIndex =1
            GridlineShade =65.0
        End
        Begin CheckBox
            BorderLineStyle =0
            LabelX =230
            LabelY =-30
            BorderThemeColorIndex =1
            BorderShade =65.0
            GridlineThemeColorIndex =1
            GridlineShade =65.0
        End
        Begin OptionGroup
            SpecialEffect =3
            BorderLineStyle =0
            Width =1701
            Height =1701
            BackThemeColorIndex =1
            BorderThemeColorIndex =1
            BorderShade =65.0
            GridlineThemeColorIndex =1
            GridlineShade =65.0
        End
        Begin TextBox
            AddColon = NotDefault
            FELineBreak = NotDefault
            BorderLineStyle =0
            Width =1701
            LabelX =-1701
            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 EmptyCell
            Height =240
            GridlineColor =12632256
            GridlineThemeColorIndex =1
            GridlineShade =65.0
        End
        Begin Section
            Height =5839
            Name ="Détail"
            AlternateBackColor =15921906
            AlternateBackThemeColorIndex =1
            AlternateBackShade =95.0
            BackThemeColorIndex =1
            Begin
                Begin Label
                    OverlapFlags =85
                    TextAlign =2
                    TextFontFamily =49
                    Width =6645
                    Height =330
                    FontSize =12
                    FontWeight =700
                    BorderColor =8355711
                    ForeColor =8355711
                    Name ="lbl_title"
                    Caption ="OpenAccess - Generate your Source Code"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedWidth =6645
                    LayoutCachedHeight =330
                    ThemeFontIndex =-1
                End
                Begin Label
                    FontItalic = NotDefault
                    OverlapFlags =85
                    TextAlign =3
                    TextFontFamily =49
                    Left =1858
                    Top =5442
                    Width =4599
                    Height =223
                    FontSize =8
                    BorderColor =8355711
                    Name ="lbl_author"
                    Caption ="Conseil départemental du Bas-Rhin, 2016"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =1858
                    LayoutCachedTop =5442
                    LayoutCachedWidth =6457
                    LayoutCachedHeight =5665
                    ThemeFontIndex =-1
                    ForeTint =100.0
                End
                Begin OptionGroup
                    TabStop = NotDefault
                    OverlapFlags =93
                    Left =283
                    Top =573
                    Width =6123
                    Height =1981
                    BorderColor =10921638
                    Name ="zne_export"
                    DefaultValue ="1"
                    GridlineColor =10921638

                    LayoutCachedLeft =283
                    LayoutCachedTop =573
                    LayoutCachedWidth =6406
                    LayoutCachedHeight =2554
                    Begin
                        Begin Label
                            BackStyle =1
                            OverlapFlags =215
                            TextFontFamily =49
                            Left =410
                            Top =453
                            Width =3165
                            Height =315
                            FontSize =9
                            BorderColor =8355711
                            Name ="lbl_export_title"
                            Caption ="Generate the sources files"
                            FontName ="Consolas"
                            GridlineColor =10921638
                            LayoutCachedLeft =410
                            LayoutCachedTop =453
                            LayoutCachedWidth =3575
                            LayoutCachedHeight =768
                            ThemeFontIndex =-1
                            ForeTint =100.0
                        End
                    End
                End
                Begin OptionGroup
                    TabStop = NotDefault
                    OverlapFlags =93
                    Left =283
                    Top =2842
                    Width =6123
                    Height =1291
                    TabIndex =1
                    BorderColor =10921638
                    Name ="zne_import"
                    GridlineColor =10921638

                    LayoutCachedLeft =283
                    LayoutCachedTop =2842
                    LayoutCachedWidth =6406
                    LayoutCachedHeight =4133
                    Begin
                        Begin Label
                            BackStyle =1
                            OverlapFlags =215
                            TextFontFamily =49
                            Left =410
                            Top =2721
                            Width =4290
                            Height =315
                            FontSize =9
                            BorderColor =8355711
                            Name ="lbl_import_title"
                            Caption ="Update your app from the sources files"
                            FontName ="Consolas"
                            GridlineColor =10921638
                            LayoutCachedLeft =410
                            LayoutCachedTop =2721
                            LayoutCachedWidth =4700
                            LayoutCachedHeight =3036
                            ThemeFontIndex =-1
                            ForeTint =100.0
                        End
                    End
                End
                Begin CommandButton
                    OverlapFlags =223
                    TextFontFamily =49
                    Left =5394
                    Top =680
                    Width =804
                    Height =739
                    FontSize =9
                    TabIndex =5
                    Name ="cmd_export"
                    Caption ="Make sources"
                    OnClick ="[Event Procedure]"
                    FontName ="Consolas"
                    ControlTipText ="Run the OpenAccess export"
                    LeftPadding =60
                    RightPadding =75
                    BottomPadding =120
                    GridlineColor =10921638
                    ImageData = Begin
                        0x2800000010000000100000000100200000000000000000000000000000000000 ,
                        0x0000000000000000c0a8a0ff807060ff807060ff807060ff807060ff807060ff ,
                        0x807060ff807060ff807060ff807060ff807060ff807060ff0000000000000000 ,
                        0x0000000000000000c0b0a0fffff8f0fffff8f0fffff8f0fffff8f0fffff8f0ff ,
                        0xfff8f0fffff8f0fffff0f0fffff0f0fffff0f0ff807060ff0000000000000000 ,
                        0x0000000000000000c0b0a0fffff8fffffff8f0fffff8f0fffff8f0fffff8f0ff ,
                        0xfff8f0fffff8f0fffff8f0fffff8f0fffff8f0ff807060ff0000000000000000 ,
                        0x0000000000000000c0b0a0fffff8ffffe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0ff ,
                        0xe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0fffff8f0ffb0a090ffffffff50ffffff20 ,
                        0xffffff0000000000c0b0a0fffff8fffffff8f0fffff8f0fffff8f0fffff8f0ff ,
                        0xfff8f0fffff8f0fffff0f0fffff0f0fffff8f0ffd0d0c0ff805030ffe0c0b090 ,
                        0xffffff1000000000c0b0a0fffff8ffffe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0ff ,
                        0xe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0fffff8f0ffe0e0e0ff905830ff905840ff ,
                        0xe0c8c0a000000000c0b0a0fffffffffffff8fffffff8f0fffff8f0fffff8f0ff ,
                        0xfff8f0fffff8f0fffff8f0fffff8f0fffff8f0ffe0e0e0ffb06030ffc06830ff ,
                        0x905840ffc0907040c0b8a0ffffffffffe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0ff ,
                        0xe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0fffff8f0ffe0e0e0fff0a880ffe08050ff ,
                        0xc06030ff905840ffc0b8a0fffffffffffffffffffffffffffff8fffffff8ffff ,
                        0xfff8f0fffff8f0fffff8f0fffff8f0fffff8ffffe0e0e0ffffa880ffffb890ff ,
                        0xa07050ffc0907020d0b8b0ffffffffffe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0ff ,
                        0xe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0fffff8fffff0e8e0ffc08060ffb07860ff ,
                        0xf0e0e09000000000d0b8b0ffffffffffffffffffffffffffffffffffffffffff ,
                        0xfff8fffffff8fffffff8f0fffff8f0fffff8ffffd0d0d0ffc09070fff0d8d080 ,
                        0xffffff2000000000d0b8b0ffffffffffe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0ff ,
                        0xe0d0d0ffe0d0d0ffe0d0d0ffe0d0d0fffff8ffffb0a8a0ffffffff60ffffff20 ,
                        0x0000000000000000d0b8b0ffffffffffffffffffffffffffffffffffffffffff ,
                        0xfffffffffffffffffff8fffffff8fffffff8ffff908870ffffffff30ffffff10 ,
                        0x0000000000000000d0b8b0ffd0b8b0ffd0b8b0ffd0b8b0ffd0b8b0ffd0b8b0ff ,
                        0xd0b8a0ffd0b8a0ffc0b8a0ffc0b8a0ffc0b0a0ffc0b0a0ff0000000000000000 ,
                        0x0000000000000000909090ffe0e0e0ff909090ffffffffff707070e0ffffffff ,
                        0x808080ffffffffff808080ffffffffff707070ffd0c8c0ff0000000000000000 ,
                        0x0000000000000000d0c8d0ff505050ffb0b8b0ff202820ff30283050202820ff ,
                        0x30283040202820ff40404080202820ff40383060202820ff0000000000000000 ,
                        0x0000000000000000
                    End

                    LayoutCachedLeft =5394
                    LayoutCachedTop =680
                    LayoutCachedWidth =6198
                    LayoutCachedHeight =1419
                    ForeTint =100.0
                    Gradient =0
                    BackColor =14277081
                    BackThemeColorIndex =1
                    BackTint =100.0
                    BackShade =85.0
                    BorderColor =14277081
                    BorderThemeColorIndex =1
                    BorderTint =100.0
                    BorderShade =85.0
                    ThemeFontIndex =-1
                    HoverColor =-2147483633
                    HoverThemeColorIndex =-1
                    HoverTint =100.0
                    PressedColor =-2147483633
                    PressedThemeColorIndex =-1
                    PressedShade =100.0
                    HoverForeColor =5855577
                    HoverForeTint =65.0
                    PressedForeColor =-2147483633
                    PressedForeThemeColorIndex =-1
                    PressedForeTint =100.0
                    Shadow =-1
                    QuickStyle =22
                    QuickStyleMask =-113
                    WebImagePaddingTop =1
                    Overlaps =1
                End
                Begin CommandButton
                    OverlapFlags =223
                    TextFontFamily =49
                    Left =5225
                    Top =2947
                    Width =805
                    Height =739
                    FontSize =9
                    TabIndex =7
                    Name ="cmd_import"
                    Caption ="Update from sources"
                    OnClick ="[Event Procedure]"
                    FontName ="Consolas"
                    ControlTipText ="Run the OpenAccess import"
                    LeftPadding =60
                    RightPadding =75
                    BottomPadding =120
                    GridlineColor =10921638
                    ImageData = Begin
                        0x2800000010000000100000000100200000000000000000000000000000000000 ,
                        0x0000000000000000000000ff000000ff00000000000000ff000000ff00000000 ,
                        0x000000ff000000ff000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000000000ff000000ff00000000000000ff000000ff00000000 ,
                        0x000000ff000000ff000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000020 ,
                        0x000000ff0000005000000000000000000000000000000000c0585080000000ff ,
                        0x00000030000000000000000000000000000000000000000000000020000000ff ,
                        0x808080ff000000ffc0585080000000ff0000003000000000c06050ffffc0c0ff ,
                        0x000000ff0000000000000000000000000000000000000020000000ff808080ff ,
                        0x000000ff00000010c06050ffffc0c0ff000000ff00000000e07070a0c06050ff ,
                        0xc060605000000000000000000000000000000020000000ff808080ff000000ff ,
                        0x0000001000000000e07070a0c06050ffc06060500000000000000000b0a090ff ,
                        0x604830ff604830ff604830ff604030ff000000ff808080ff000000ff604830ff ,
                        0x604830ff604830ff0000000000000000000000000000000000000000c0a890ff ,
                        0xfffffffff0e8e0ffd0d0d0ff000000ff808080ff000000ffe0d0c0fff0d0c0ff ,
                        0xf0d0c0ff604830ff0000000000000000c0585080000000ff00000030c0a8a0ff ,
                        0xffffffffe0e0e0ff000000ff808080ff000000ff907060ff907060ff806860ff ,
                        0xf0d0c0ff604830ff0000000000000000c06050ffffc0c0ff000000ffc0a8a0ff ,
                        0xe0e0e0ff000000ff40d8f0ff000000ffb08870ffe0d8d0fff0f0e0ff806860ff ,
                        0xf0d0c0ff604830ff0000000000000000e07070a0c06050ffc0606050b09890ff ,
                        0x000000ff40d8f0ff000000fff0f8f0ffc09080ffb08870ff907860ff807060ff ,
                        0xf0d8c0ff604830ff0000000000000000000000000000000000000000000000ff ,
                        0xf0f8f0ff000000fff0f8f0fffffffffffffffffffff8f0fffff0f0fffff0e0ff ,
                        0xf0d8d0ff604830ff0000000000000000000000000000000000000000c0a8a0ff ,
                        0x000000ffb09080ffb08870ffffffffffc09080ffb08870ff907860ff807060ff ,
                        0xf0d8d0ff604830ff0000000000000000000000000000000000000000d0b8a0ff ,
                        0xfffffffffffffffffffffffffffffffffffffffffffffffffff8f0fffff8f0ff ,
                        0xfff8f0ff604830ff0000000000000000000000000000000000000000b090e0ff ,
                        0x7040a0ff6038a0ff6038a0ff603890ff603890ff603890ff603890ff603890ff ,
                        0x603890ff603890ff0000000000000000000000000000000000000000b090e0ff ,
                        0xb090d0ffa088d0ffa080d0ffa078d0ff9078d0ff9068c0ff8058b0ff7048b0ff ,
                        0x7048b0ff7048b0ff
                    End

                    LayoutCachedLeft =5225
                    LayoutCachedTop =2947
                    LayoutCachedWidth =6030
                    LayoutCachedHeight =3686
                    ForeTint =100.0
                    Gradient =0
                    BackColor =14277081
                    BackThemeColorIndex =1
                    BackTint =100.0
                    BackShade =85.0
                    BorderColor =14277081
                    BorderThemeColorIndex =1
                    BorderTint =100.0
                    BorderShade =85.0
                    ThemeFontIndex =-1
                    HoverColor =-2147483633
                    HoverThemeColorIndex =-1
                    HoverTint =100.0
                    PressedColor =-2147483633
                    PressedThemeColorIndex =-1
                    PressedShade =100.0
                    HoverForeColor =5855577
                    HoverForeTint =65.0
                    PressedForeColor =-2147483633
                    PressedForeThemeColorIndex =-1
                    PressedForeTint =100.0
                    Shadow =-1
                    QuickStyle =22
                    QuickStyleMask =-113
                    WebImagePaddingTop =1
                    Overlaps =1
                End
                Begin Label
                    FontItalic = NotDefault
                    BackStyle =1
                    OverlapFlags =93
                    TextFontFamily =49
                    Left =283
                    Top =5102
                    Width =6187
                    Height =223
                    FontSize =8
                    BorderColor =8355711
                    ForeColor =8355711
                    Name ="lbl_log_path"
                    Caption ="C:\\...\\Log"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =283
                    LayoutCachedTop =5102
                    LayoutCachedWidth =6470
                    LayoutCachedHeight =5325
                    ThemeFontIndex =-1
                End
                Begin CommandButton
                    OverlapFlags =87
                    TextFontFamily =49
                    Left =5442
                    Top =4762
                    Width =397
                    FontSize =9
                    TabIndex =8
                    Name ="cmd_open_log"
                    Caption ="Commande8"
                    OnClick ="[Event Procedure]"
                    FontName ="Consolas"
                    ObjectPalette = Begin
                        0x000301000000000000000000
                    End
                    ControlTipText ="Open the log file with your default text editor"
                    LeftPadding =60
                    RightPadding =75
                    BottomPadding =120
                    GridlineColor =10921638
                    ImageData = Begin
                        0x2800000010000000100000000100200000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x000000000000000000000000000000000000000030506050204860ff303040ff ,
                        0x3040505000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000030506050305060ff4088a0ff3090b0ff ,
                        0x304050ff50809040000000000000000000000000000000000000000000000000 ,
                        0x00000000000000000000000030506050305060ff3088b0ff40b8e0ff90e0f0ff ,
                        0x90d0e0ff6090a0ff0000000000000000000000006068602060606070606060b0 ,
                        0x606060f0505850f0505850b0405050c03080a0ff40b8e0ff90e0f0ff90e0f0ff ,
                        0x6098b0ff6088a050000000000000000070707040707060b0a09090ffc0b0a0ff ,
                        0xe0c8b0ffe0c8b0ffc0a8a0ff908080ff505850b080c0d0ffa0d8f0ff6098b0ff ,
                        0x6088a050000000000000000080787020707870b0b0b0b0ffffe8e0ffffe0d0ff ,
                        0xf0e0d0fff0d8c0fff0d0c0fff0d0b0ffb09890ff505850c0608890ff6088a050 ,
                        0x00000000000000000000000080787070b0a8a0fffff8f0fffff0e0ffffe8e0ff ,
                        0xffe8e0ffffe0d0fff0d8d0fff0d8c0fff0d0c0ff908880ff50606080f0d8c000 ,
                        0x000000000000000000000000808070b0d0d0d0fffff8fffffff8f0fffff0f0ff ,
                        0xfff0e0ffffe8e0fff0e0d0fff0e0d0fff0d8c0ffc0b0a0ff605860c0f0d8c000 ,
                        0x000000000000000000000000808080f0f0f0f0fffffffffffff8fffffff8f0ff ,
                        0xfff0f0fffff0e0ffffe8e0fff0e0d0fff0d8d0ffe0c8b0ff606060f0f0d8c000 ,
                        0x000000000000000000000000908080f0f0f0f0fffffffffffffffffffff8ffff ,
                        0xfff8f0fffff0f0ffffe8e0ffffe8e0ffffe0d0fff0d0c0ff606060f000000000 ,
                        0x000000000000000000000000908880b0e0d8d0ffffffffffffffffffffffffff ,
                        0xfff8f0fffff8f0fffff0f0fffff0e0ffffe0d0ffd0b8b0ff606860c000000000 ,
                        0x00000000000000000000000090888070b0b0b0ffffffffffffffffffffffffff ,
                        0xfffffffffff8f0fffff8f0fffff0f0ffffe8e0ffa09890ff6068607000000000 ,
                        0x00000000000000000000000090888020908880b0c0c0c0ffffffffffffffffff ,
                        0xfffffffffffffffffff8fffffff8f0ffc0b8b0ff707070b07070702000000000 ,
                        0x0000000000000000000000000000000090888040908880b0b0b0b0ffe0d8d0ff ,
                        0xf0f0f0fff0f8f0ffd0d8d0ffb0a8a0ff807870b0807870400000000000000000 ,
                        0x00000000000000000000000000000000000000009088802090888070908880b0 ,
                        0x908880f0808080f0808080b08080707080787020000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000
                    End

                    LayoutCachedLeft =5442
                    LayoutCachedTop =4762
                    LayoutCachedWidth =5839
                    LayoutCachedHeight =5045
                    ForeTint =100.0
                    Gradient =0
                    BackColor =14277081
                    BackThemeColorIndex =1
                    BackTint =100.0
                    BackShade =85.0
                    BorderColor =14277081
                    BorderThemeColorIndex =1
                    BorderTint =100.0
                    BorderShade =85.0
                    ThemeFontIndex =-1
                    HoverColor =-2147483633
                    HoverThemeColorIndex =-1
                    HoverTint =100.0
                    PressedColor =-2147483633
                    PressedThemeColorIndex =-1
                    PressedShade =100.0
                    HoverForeColor =5855577
                    HoverForeTint =65.0
                    PressedForeColor =-2147483633
                    PressedForeThemeColorIndex =-1
                    PressedForeTint =100.0
                    Shadow =-1
                    QuickStyle =22
                    QuickStyleMask =-113
                    WebImagePaddingTop =1
                    Overlaps =1
                End
                Begin CommandButton
                    OverlapFlags =87
                    TextFontFamily =49
                    Left =6009
                    Top =4762
                    Width =454
                    FontSize =9
                    TabIndex =9
                    Name ="cmd_open_log_dir"
                    Caption ="Commande9"
                    OnClick ="[Event Procedure]"
                    FontName ="Consolas"
                    ControlTipText ="Open the log directory"
                    LeftPadding =60
                    RightPadding =75
                    BottomPadding =120
                    GridlineColor =10921638
                    ImageData = Begin
                        0x2800000010000000100000000100200000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000708890ff608090ff607880ff507080ff506070ff405860ff ,
                        0x404850ff303840ff203030ff202030ff101820ff101010ff101020ff00000000 ,
                        0x0000000000000000708890ff90a0b0ff70b0d0ff0090d0ff0090d0ff0090d0ff ,
                        0x0090c0ff1088c0ff1080b0ff1080b0ff2078a0ff207090ff204860ff20303050 ,
                        0x0000000000000000808890ff80c0d0ff90a8b0ff80e0ffff60d0ffff50c8ffff ,
                        0x50c8ffff40c0f0ff30b0f0ff30a8f0ff20a0e0ff1090d0ff206880ff202830b0 ,
                        0x00000000000000008090a0ff80d0f0ff90a8b0ff90c0d0ff70d8ffff60d0ffff ,
                        0x60d0ffff50c8ffff50c0ffff40b8f0ff30b0f0ff30a8f0ff1088d0ff204860ff ,
                        0x10283020000000008090a0ff80d8f0ff80c8e0ff90a8b0ff80e0ffff70d0ffff ,
                        0x60d8ffff60d0ffff60d0ffff50c8ffff40c0f0ff40b8f0ff30b0f0ff206880ff ,
                        0x10486090000000008098a0ff90e0f0ff90e0ffff90a8b0ff90b8c0ff70d8ffff ,
                        0x60d8ffff60d8ffff60d8ffff60d0ffff50d0ffff50c8ffff40b8f0ff30a0e0ff ,
                        0x406070f0506070308098a0ff90e0f0ffa0e8ffff80c8e0ff90a8b0ff80e0ffff ,
                        0x80e0ffff80e0ffff80e0ffff80e0ffff80e0ffff80e0ffff70d8ffff70d8ffff ,
                        0x50a8d0ff506070a090a0a0ffa0e8f0ffa0e8ffffa0e8ffff90b0c0ff90b0c0ff ,
                        0x90a8b0ff90a8b0ff80a0b0ff80a0b0ff8098a0ff8098a0ff8090a0ff8090a0ff ,
                        0x808890ff708890ff90a0b0ffa0e8f0ffa0f0ffffa0e8ffffa0e8ffff80d8ffff ,
                        0x60d8ffff60d8ffff60d8ffff60d8ffff60d8ffff60d8ffff708890ff00000000 ,
                        0x000000000000000090a0b0ffa0f0f0ffb0f0f0ffa0f0ffffa0e8ffffa0e8ffff ,
                        0x70d8ffff90a0a0ff8098a0ff8098a0ff8090a0ff809090ff708890ff00000000 ,
                        0x000000000000000090a8b0ffa0d0e0ffb0f0f0ffb0f0f0ffa0f0ffffa0e8ffff ,
                        0x90a0b0ff80a8b0800000000000000000000000000000000000000000906850ff ,
                        0x906850ff906850ff90a8b05090a8b0ff90a8b0ff90a8b0ff90a8b0ff90a8b0ff ,
                        0x90a8b090000000000000000000000000000000000000000000000000a0787050 ,
                        0x906850ff906850ff000000000000000000000000000000000000000000000000 ,
                        0x000000000000000000000000907860ff9068506000000000a0787010a09080ff ,
                        0xa0887050907860ff000000000000000000000000000000000000000000000000 ,
                        0x000000000000000000000000a0988040a09080ffa08880ffb09880ffa0908080 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000000000000000000000000000000000000000000000000000 ,
                        0x0000000000000000
                    End

                    LayoutCachedLeft =6009
                    LayoutCachedTop =4762
                    LayoutCachedWidth =6463
                    LayoutCachedHeight =5045
                    ForeTint =100.0
                    Gradient =0
                    BackColor =14277081
                    BackThemeColorIndex =1
                    BackTint =100.0
                    BackShade =85.0
                    BorderColor =14277081
                    BorderThemeColorIndex =1
                    BorderTint =100.0
                    BorderShade =85.0
                    ThemeFontIndex =-1
                    HoverColor =-2147483633
                    HoverThemeColorIndex =-1
                    HoverTint =100.0
                    PressedColor =-2147483633
                    PressedThemeColorIndex =-1
                    PressedShade =100.0
                    HoverForeColor =5855577
                    HoverForeTint =65.0
                    PressedForeColor =-2147483633
                    PressedForeThemeColorIndex =-1
                    PressedForeTint =100.0
                    Shadow =-1
                    QuickStyle =22
                    QuickStyleMask =-113
                    WebImagePaddingTop =1
                    Overlaps =1
                End
                Begin Label
                    BackStyle =1
                    OverlapFlags =85
                    TextFontFamily =49
                    Left =285
                    Top =4815
                    Width =4170
                    Height =225
                    FontSize =9
                    BorderColor =8355711
                    ForeColor =8355711
                    Name ="lbl_log_path_see"
                    Caption ="See the log file for more informations:"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =285
                    LayoutCachedTop =4815
                    LayoutCachedWidth =4455
                    LayoutCachedHeight =5040
                    ThemeFontIndex =-1
                End
                Begin CheckBox
                    OverlapFlags =85
                    Left =283
                    Top =5452
                    Width =226
                    Height =224
                    TabIndex =10
                    BorderColor =10921638
                    Name ="chk_debug_mode"
                    DefaultValue ="True"
                    ControlTipText ="Activate debug mode (log file more verbose)"
                    GridlineColor =10921638

                    LayoutCachedLeft =283
                    LayoutCachedTop =5452
                    LayoutCachedWidth =509
                    LayoutCachedHeight =5676
                    Begin
                        Begin Label
                            BackStyle =1
                            OverlapFlags =85
                            TextFontFamily =49
                            Left =558
                            Top =5442
                            Width =1155
                            Height =270
                            FontSize =9
                            BorderColor =8355711
                            ForeColor =8355711
                            Name ="lbl_debug_mode"
                            Caption ="Debug Mode"
                            FontName ="Consolas"
                            GridlineColor =10921638
                            LayoutCachedLeft =558
                            LayoutCachedTop =5442
                            LayoutCachedWidth =1713
                            LayoutCachedHeight =5712
                            ThemeFontIndex =-1
                        End
                    End
                End
                Begin Label
                    Visible = NotDefault
                    BackStyle =1
                    OverlapFlags =85
                    TextAlign =2
                    TextFontFamily =49
                    Left =283
                    Top =4308
                    Width =6111
                    Height =284
                    FontSize =9
                    FontWeight =700
                    BorderColor =8355711
                    Name ="lbl_progression_msg"
                    Caption ="Running..."
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =283
                    LayoutCachedTop =4308
                    LayoutCachedWidth =6394
                    LayoutCachedHeight =4592
                    ThemeFontIndex =-1
                    ForeTint =100.0
                End
                Begin Label
                    BackStyle =1
                    OverlapFlags =223
                    TextFontFamily =49
                    Left =396
                    Top =1870
                    Width =1995
                    Height =285
                    FontSize =9
                    BorderColor =8355711
                    Name ="lbl_include_tables"
                    Caption ="Include data from:"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =396
                    LayoutCachedTop =1870
                    LayoutCachedWidth =2391
                    LayoutCachedHeight =2155
                    ThemeFontIndex =-1
                    ForeTint =100.0
                End
                Begin TextBox
                    Locked = NotDefault
                    OldBorderStyle =4
                    OverlapFlags =215
                    TextFontFamily =49
                    BorderLineStyle =3
                    IMESentenceMode =3
                    Left =396
                    Top =2154
                    Width =5837
                    Height =270
                    FontSize =9
                    TabIndex =4
                    BorderColor =8355711
                    ForeColor =8355711
                    Name ="txt_include_tables"
                    FontName ="Consolas"
                    GridlineColor =10921638

                    LayoutCachedLeft =396
                    LayoutCachedTop =2154
                    LayoutCachedWidth =6233
                    LayoutCachedHeight =2424
                    BorderThemeColorIndex =0
                    BorderTint =50.0
                    BorderShade =100.0
                    ThemeFontIndex =-1
                    ForeTint =50.0
                End
                Begin CheckBox
                    OverlapFlags =215
                    Left =453
                    Top =877
                    Width =283
                    Height =226
                    TabIndex =3
                    BorderColor =10921638
                    Name ="chk_zip"
                    DefaultValue ="True"
                    GridlineColor =10921638

                    LayoutCachedLeft =453
                    LayoutCachedTop =877
                    LayoutCachedWidth =736
                    LayoutCachedHeight =1103
                    DatasheetCaption ="Compress a copy of the current project before exporting the sources"
                    Begin
                        Begin Label
                            BackStyle =1
                            OverlapFlags =215
                            TextFontFamily =49
                            Left =740
                            Top =850
                            Width =1800
                            Height =270
                            FontSize =9
                            BorderColor =8355711
                            Name ="lbl_zip"
                            Caption ="Zip the app file"
                            FontName ="Consolas"
                            GridlineColor =10921638
                            LayoutCachedLeft =740
                            LayoutCachedTop =850
                            LayoutCachedWidth =2540
                            LayoutCachedHeight =1120
                            ThemeFontIndex =-1
                            ForeTint =100.0
                        End
                    End
                End
                Begin CheckBox
                    OverlapFlags =215
                    Left =453
                    Top =1219
                    Width =283
                    Height =226
                    TabIndex =2
                    BorderColor =10921638
                    Name ="chk_optimizer"
                    DefaultValue ="True"
                    ControlTipText ="Exports only the tables defs, queries, forms, reports, macros and modules modifi"
                        "ed since the last Open Access export"
                    GridlineColor =10921638

                    LayoutCachedLeft =453
                    LayoutCachedTop =1219
                    LayoutCachedWidth =736
                    LayoutCachedHeight =1445
                    Begin
                        Begin Label
                            BackStyle =1
                            OverlapFlags =215
                            TextFontFamily =49
                            Left =735
                            Top =1190
                            Width =2700
                            Height =270
                            FontSize =9
                            BorderColor =8355711
                            Name ="lbl_optimizer"
                            Caption ="Export newer objects only"
                            FontName ="Consolas"
                            GridlineColor =10921638
                            LayoutCachedLeft =735
                            LayoutCachedTop =1190
                            LayoutCachedWidth =3435
                            LayoutCachedHeight =1460
                            ThemeFontIndex =-1
                            ForeTint =100.0
                        End
                    End
                End
                Begin CheckBox
                    OverlapFlags =215
                    Left =453
                    Top =3201
                    Width =283
                    Height =226
                    TabIndex =6
                    BorderColor =10921638
                    Name ="chk_backup"
                    DefaultValue ="True"
                    ControlTipText ="Create a backup of the current project before proceeding to the import"
                    GridlineColor =10921638

                    LayoutCachedLeft =453
                    LayoutCachedTop =3201
                    LayoutCachedWidth =736
                    LayoutCachedHeight =3427
                    Begin
                        Begin Label
                            BackStyle =1
                            OverlapFlags =215
                            TextFontFamily =49
                            Left =735
                            Top =3175
                            Width =3015
                            Height =270
                            FontSize =9
                            BorderColor =8355711
                            Name ="lbl_backup"
                            Caption ="Backup the app before import"
                            FontName ="Consolas"
                            GridlineColor =10921638
                            LayoutCachedLeft =735
                            LayoutCachedTop =3175
                            LayoutCachedWidth =3750
                            LayoutCachedHeight =3445
                            ThemeFontIndex =-1
                            ForeTint =100.0
                        End
                    End
                End
                Begin Label
                    BackStyle =1
                    OverlapFlags =215
                    TextAlign =2
                    TextFontFamily =49
                    Left =5385
                    Top =1530
                    Width =794
                    Height =226
                    FontSize =9
                    FontWeight =700
                    BorderColor =8355711
                    Name ="lbl_export"
                    Caption ="Export"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =5385
                    LayoutCachedTop =1530
                    LayoutCachedWidth =6179
                    LayoutCachedHeight =1756
                    ThemeFontIndex =-1
                    ForeTint =100.0
                End
                Begin Label
                    BackStyle =1
                    OverlapFlags =215
                    TextAlign =2
                    TextFontFamily =49
                    Left =5215
                    Top =3800
                    Width =825
                    Height =225
                    FontSize =9
                    FontWeight =700
                    BorderColor =8355711
                    Name ="lbl_import"
                    Caption ="Import"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =5215
                    LayoutCachedTop =3800
                    LayoutCachedWidth =6040
                    LayoutCachedHeight =4025
                    ThemeFontIndex =-1
                    ForeTint =100.0
                End
                Begin Label
                    BackStyle =1
                    OverlapFlags =223
                    TextFontFamily =49
                    Left =396
                    Top =1530
                    Width =1995
                    Height =285
                    FontSize =9
                    BorderColor =8355711
                    Name ="Étiquette41"
                    Caption ="Source's date:"
                    FontName ="Consolas"
                    GridlineColor =10921638
                    LayoutCachedLeft =396
                    LayoutCachedTop =1530
                    LayoutCachedWidth =2391
                    LayoutCachedHeight =1815
                    ThemeFontIndex =-1
                    ForeTint =100.0
                End
                Begin TextBox
                    Locked = NotDefault
                    OldBorderStyle =0
                    OverlapFlags =215
                    TextFontFamily =49
                    IMESentenceMode =3
                    Left =1984
                    Top =1530
                    Width =2057
                    Height =270
                    FontSize =9
                    TabIndex =11
                    BorderColor =8355711
                    ForeColor =8355711
                    Name ="txt_sources_date"
                    FontName ="Consolas"
                    GridlineColor =10921638

                    LayoutCachedLeft =1984
                    LayoutCachedTop =1530
                    LayoutCachedWidth =4041
                    LayoutCachedHeight =1800
                    BorderThemeColorIndex =0
                    BorderTint =50.0
                    BorderShade =100.0
                    ThemeFontIndex =-1
                    ForeTint =50.0
                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
Dim RUNNING_OP As Boolean

Private Sub cmd_export_Click()
Dim optimizer, zip As Boolean
optimizer = Me.chk_optimizer
zip = Me.chk_zip

If Me.chk_debug_mode Then
    OA_Log.set_debug_mode
End If

RUNNING_OP = True

' update log path
logger "cmd_export_Click", "INFO", "Run Export"
Me.lbl_log_path.Caption = OA_Log.log_file

' update state
Call update_state

' start export
Dim result As Variant
result = make_sources(optimizer, zip)

' update state
RUNNING_OP = False
Call update_state

'display result
Call display_status(result)

End Sub

Private Sub cmd_import_Click()
Dim backup As Boolean

backup = Me.chk_backup

If Me.chk_debug_mode Then
    OA_Log.set_debug_mode
End If

RUNNING_OP = True

' update log path
logger "cmd_import_Click", "INFO", "Run Export"
Me.lbl_log_path.Caption = OA_Log.log_file

' update state
Call update_state

' start export
Dim result As Variant
result = update_from_sources(backup)

' update state
RUNNING_OP = False
Call update_state

'display result
Call display_status(result)

End Sub

Private Sub cmd_open_log_Click()
'open the current log file with the default text editor

    Application.FollowHyperlink OA_Log.log_file()

End Sub

Private Sub cmd_open_log_dir_Click()
'open the current log directory with file explorer

    Shell "explorer.exe " & OA_Log.log_dir()

End Sub

Private Sub Form_Current()
    Call update_state
    
    Me.lbl_log_path.Caption = OA_Log.log_dir
    Me.txt_include_tables = get_include_tables()
    Me.txt_sources_date = oa_param("sources_date", "(No date)")
    
End Sub

Private Sub display_status(result As Variant)
    On Error GoTo err
    Dim msg As String
    msg = "Operation ended with status: " & vbNewLine
    
    Select Case CInt(result)
        Case opCompleted
            msg = msg & "> Done"
        Case opInterrupted
            msg = msg & "> Interrupted"
        Case opCancelled
            msg = msg & "> Cancelled"
        Case Else
            GoTo err
    End Select
    
    MsgBox msg, vbInformation, "Open Access"
    
    Exit Sub
err:
    MsgBox msg & "> (unable to read the returned status)", vbExclamation, "Open Access"
End Sub

Private Sub update_state()
Dim control As control
Dim enable As Boolean

    Me.lbl_progression_msg.Visible = RUNNING_OP

    For Each control In Me.Controls
        If control.ControlType = acCheckBox Or _
           control.ControlType = acCommandButton Or _
           control.ControlType = acTextBox Then
            
            enable = (Not RUNNING_OP)
           
            If control.name = "cmd_open_log" Then
                enable = enable And (Len(OA_Log.log_file) > 0)
            End If

            control.Enabled = enable
            
        End If
    Next control
    
    DoCmd.Hourglass RUNNING_OP

End Sub
