'*************************************************************************
'
'      Author       : Esben Laursen (hyber (at) hyber (dot) dk)
'      
'      Webpage      : http://www.hyber.dk
'
'      Notes        :
'
'      License      : This program is free software; you can redistribute
'                     it and/or modify it under the terms of the GNU
'                     General Public License as published by the Free
'                     Software Foundation; either version 2 of the License
'
'*************************************************************************

Option Strict Off
Option Explicit On 

Friend Class frmSettings
    Inherits System.Windows.Forms.Form
#Region "Windows Form Designer generated code "
    Public Sub New()
        MyBase.New()
        If m_vb6FormDefInstance Is Nothing Then
            If m_InitializingDefInstance Then
                m_vb6FormDefInstance = Me
            Else
                Try
                    'For the start-up form, the first instance created is the default instance.
                    If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
                        m_vb6FormDefInstance = Me
                    End If
                Catch
                End Try
            End If
        End If
        'This call is required by the Windows Form Designer.
        InitializeComponent()
    End Sub
    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
        If Disposing Then
            If Not components Is Nothing Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(Disposing)
    End Sub
    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer
    Public ToolTip1 As System.Windows.Forms.ToolTip
    Public WithEvents cmdApply As System.Windows.Forms.Button
    Public WithEvents cmdCancel As System.Windows.Forms.Button
    Public WithEvents chkShowLog As System.Windows.Forms.CheckBox
    Public WithEvents fraShow As System.Windows.Forms.GroupBox
    Public WithEvents cmdRunFirstTime As System.Windows.Forms.Button
    Public WithEvents chkFirstTime As System.Windows.Forms.CheckBox
    Public WithEvents fraGuide As System.Windows.Forms.GroupBox
    Public WithEvents _SSTab1_TabPage0 As System.Windows.Forms.TabPage
    Public WithEvents txtUsername As System.Windows.Forms.TextBox
    Public WithEvents txtPassword As System.Windows.Forms.TextBox
    Public WithEvents chkSavePassword As System.Windows.Forms.CheckBox
    Public WithEvents Label1 As System.Windows.Forms.Label
    Public WithEvents Label2 As System.Windows.Forms.Label
    Public WithEvents fraUserInfo As System.Windows.Forms.GroupBox
    Public WithEvents txtHostname As System.Windows.Forms.TextBox
    Public WithEvents lblURIHelp As System.Windows.Forms.Label
    Public WithEvents Label5 As System.Windows.Forms.Label
    Public WithEvents Label3 As System.Windows.Forms.Label
    Public WithEvents fraHostInfo As System.Windows.Forms.GroupBox
    Public WithEvents cmdTestLogin As System.Windows.Forms.Button
    Public WithEvents lblTestLogout As System.Windows.Forms.Label
    Public WithEvents lblTestLogin As System.Windows.Forms.Label
    Public WithEvents fraTestLogin As System.Windows.Forms.GroupBox
    Public WithEvents chkSaveLog As System.Windows.Forms.CheckBox
    Public WithEvents cmdLogDel As System.Windows.Forms.Button
    Public WithEvents cmdLogBrowse As System.Windows.Forms.Button
    Public WithEvents txtLogPath As System.Windows.Forms.TextBox
    Public WithEvents lblLogPath As System.Windows.Forms.Label
    Public WithEvents fraNormalLog As System.Windows.Forms.GroupBox
    Public WithEvents cmdLogDelXML As System.Windows.Forms.Button
    Public WithEvents txtLogPathXML As System.Windows.Forms.TextBox
    Public WithEvents cmdXMLBrowse As System.Windows.Forms.Button
    Public WithEvents lblXMLWarning As System.Windows.Forms.Label
    Public WithEvents lblPathXML As System.Windows.Forms.Label
    Public WithEvents fraXMLLog As System.Windows.Forms.GroupBox
    Public WithEvents chkSaveLogXML As System.Windows.Forms.CheckBox
    Public WithEvents SSTab1 As System.Windows.Forms.TabControl
    Public WithEvents cmdOK As System.Windows.Forms.Button
    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.
    'Do not modify it using the code editor.
    Public WithEvents txtURI As System.Windows.Forms.TextBox
    Public WithEvents lblURL As System.Windows.Forms.Label
    Public WithEvents _SSTab1_TabPage2 As System.Windows.Forms.TabPage
    Public WithEvents _SSTab1_TabPage3 As System.Windows.Forms.TabPage
    Friend WithEvents _SSTab1_TabPage1 As System.Windows.Forms.TabPage
    Public WithEvents fraDeletion As System.Windows.Forms.GroupBox
    Public WithEvents optDelNever As System.Windows.Forms.RadioButton
    Public WithEvents optDelAllways As System.Windows.Forms.RadioButton
    Public WithEvents optDelAskUser As System.Windows.Forms.RadioButton
    Public WithEvents lblDeletion As System.Windows.Forms.Label
    Public WithEvents fraOverwrite As System.Windows.Forms.GroupBox
    Public WithEvents optOverwriteOutlook As System.Windows.Forms.RadioButton
    Public WithEvents optOverwriteeGW As System.Windows.Forms.RadioButton
    Public WithEvents optOverwriteAsk As System.Windows.Forms.RadioButton
    Public WithEvents Label7 As System.Windows.Forms.Label
    Friend WithEvents picShowStartup As System.Windows.Forms.PictureBox
    Friend WithEvents picFirstTime As System.Windows.Forms.PictureBox
    Friend WithEvents picDelWarning As System.Windows.Forms.PictureBox
    Friend WithEvents picOverwriteWarning As System.Windows.Forms.PictureBox
    Friend WithEvents picUserInfo As System.Windows.Forms.PictureBox
    Friend WithEvents picHostInfo As System.Windows.Forms.PictureBox
    Friend WithEvents picTestLogin As System.Windows.Forms.PictureBox
    Friend WithEvents picLog As System.Windows.Forms.PictureBox
    Friend WithEvents picXMLLog As System.Windows.Forms.PictureBox
    Friend WithEvents picXMLWarning As System.Windows.Forms.PictureBox
    Friend WithEvents errProvider As System.Windows.Forms.ErrorProvider
    Friend WithEvents dlgSave As System.Windows.Forms.SaveFileDialog
    Friend WithEvents numPort As System.Windows.Forms.NumericUpDown
    Friend WithEvents lblDomain As System.Windows.Forms.Label
    Friend WithEvents txtDomain As System.Windows.Forms.TextBox
    Friend WithEvents lblTestLoginWillSave As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents fraLogLevel As System.Windows.Forms.GroupBox
    Friend WithEvents trbLogLevel As System.Windows.Forms.TrackBar
    Friend WithEvents lblLoglevel As System.Windows.Forms.Label
    Friend WithEvents lblLogLevelInfo As System.Windows.Forms.Label
    Friend WithEvents picLogLevel As System.Windows.Forms.PictureBox
    Friend WithEvents fraCheckTime As System.Windows.Forms.GroupBox
    Friend WithEvents picCheckTime As System.Windows.Forms.PictureBox
    Friend WithEvents cboCheckTime As System.Windows.Forms.CheckBox
    Friend WithEvents lblCheckTime As System.Windows.Forms.Label
    Friend WithEvents fraSaveDB As System.Windows.Forms.GroupBox
    Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox
    Friend WithEvents lblSyncDB As System.Windows.Forms.Label
    Friend WithEvents chkSaveDB As System.Windows.Forms.CheckBox
    Friend WithEvents fraCheckNewVersion As System.Windows.Forms.GroupBox
    Friend WithEvents picNewVersion As System.Windows.Forms.PictureBox
    Friend WithEvents chkNewVersion As System.Windows.Forms.CheckBox
    Friend WithEvents cmdNewVersion As System.Windows.Forms.Button
    Friend WithEvents chkUseSSL As System.Windows.Forms.CheckBox
    Friend WithEvents lblSSLHelp As System.Windows.Forms.Label
    Friend WithEvents picSSL As System.Windows.Forms.PictureBox
    Friend WithEvents _SSTab1_TabPage4 As System.Windows.Forms.TabPage
    Friend WithEvents PictureBox2 As System.Windows.Forms.PictureBox
    Friend WithEvents cmdCheckDB As System.Windows.Forms.Button
    Friend WithEvents rdoCalendar As System.Windows.Forms.RadioButton
    Friend WithEvents rdoContacts As System.Windows.Forms.RadioButton
    Friend WithEvents rdoToDo As System.Windows.Forms.RadioButton
    Friend WithEvents lblDBResult As System.Windows.Forms.Label
    Friend WithEvents rdoNotes As System.Windows.Forms.RadioButton
    Friend WithEvents chkEnableUtils As System.Windows.Forms.CheckBox
    Friend WithEvents fraDBCheck As System.Windows.Forms.GroupBox
    Friend WithEvents fraCheckoFolder As System.Windows.Forms.GroupBox
    Friend WithEvents rdooCalendar As System.Windows.Forms.RadioButton
    Friend WithEvents cmdCheckFolder As System.Windows.Forms.Button
    Friend WithEvents rdooContacts As System.Windows.Forms.RadioButton
    Friend WithEvents rdooNotes As System.Windows.Forms.RadioButton
    Friend WithEvents rdooToDos As System.Windows.Forms.RadioButton
    Friend WithEvents PictureBox3 As System.Windows.Forms.PictureBox
    Friend WithEvents picUtilsWarning As System.Windows.Forms.PictureBox
    Friend WithEvents lblUtilsWarning As System.Windows.Forms.Label
    Friend WithEvents tabAutoSync As System.Windows.Forms.TabPage
    Friend WithEvents fraSyncStartup As System.Windows.Forms.GroupBox
    Friend WithEvents chkStartCal As System.Windows.Forms.CheckBox
    Friend WithEvents chkStartcon As System.Windows.Forms.CheckBox
    Friend WithEvents chkStartToDo As System.Windows.Forms.CheckBox
    Friend WithEvents ChkStartNote As System.Windows.Forms.CheckBox
    Friend WithEvents Label6 As System.Windows.Forms.Label
    Friend WithEvents picStartup As System.Windows.Forms.PictureBox
    Friend WithEvents frmAutoSync As System.Windows.Forms.GroupBox
    Friend WithEvents PictureBox4 As System.Windows.Forms.PictureBox
    Friend WithEvents lblAutoSync As System.Windows.Forms.Label
    Friend WithEvents chkAutoNote As System.Windows.Forms.CheckBox
    Friend WithEvents chkAutoToDo As System.Windows.Forms.CheckBox
    Friend WithEvents chkAutoCon As System.Windows.Forms.CheckBox
    Friend WithEvents chkAutoCal As System.Windows.Forms.CheckBox
    Friend WithEvents numAutoInterval As System.Windows.Forms.NumericUpDown
    Friend WithEvents Label8 As System.Windows.Forms.Label
    Friend WithEvents chkStartEnable As System.Windows.Forms.CheckBox
    Friend WithEvents chkAutoEnable As System.Windows.Forms.CheckBox
    Friend WithEvents fraHaltCriticalErr As System.Windows.Forms.GroupBox
    Friend WithEvents chkErrHalt As System.Windows.Forms.CheckBox
    Friend WithEvents PictureBox5 As System.Windows.Forms.PictureBox
    Friend WithEvents Label9 As System.Windows.Forms.Label
    Friend WithEvents PictureBox6 As System.Windows.Forms.PictureBox
    Friend WithEvents Label10 As System.Windows.Forms.Label
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmSettings))
        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
        Me.cmdApply = New System.Windows.Forms.Button
        Me.cmdCancel = New System.Windows.Forms.Button
        Me.SSTab1 = New System.Windows.Forms.TabControl
        Me._SSTab1_TabPage0 = New System.Windows.Forms.TabPage
        Me.fraHaltCriticalErr = New System.Windows.Forms.GroupBox
        Me.PictureBox6 = New System.Windows.Forms.PictureBox
        Me.Label10 = New System.Windows.Forms.Label
        Me.Label9 = New System.Windows.Forms.Label
        Me.PictureBox5 = New System.Windows.Forms.PictureBox
        Me.chkErrHalt = New System.Windows.Forms.CheckBox
        Me.fraCheckNewVersion = New System.Windows.Forms.GroupBox
        Me.cmdNewVersion = New System.Windows.Forms.Button
        Me.chkNewVersion = New System.Windows.Forms.CheckBox
        Me.picNewVersion = New System.Windows.Forms.PictureBox
        Me.fraShow = New System.Windows.Forms.GroupBox
        Me.picShowStartup = New System.Windows.Forms.PictureBox
        Me.chkShowLog = New System.Windows.Forms.CheckBox
        Me.fraGuide = New System.Windows.Forms.GroupBox
        Me.cmdRunFirstTime = New System.Windows.Forms.Button
        Me.chkFirstTime = New System.Windows.Forms.CheckBox
        Me.picFirstTime = New System.Windows.Forms.PictureBox
        Me._SSTab1_TabPage1 = New System.Windows.Forms.TabPage
        Me.fraSaveDB = New System.Windows.Forms.GroupBox
        Me.chkSaveDB = New System.Windows.Forms.CheckBox
        Me.lblSyncDB = New System.Windows.Forms.Label
        Me.PictureBox1 = New System.Windows.Forms.PictureBox
        Me.fraCheckTime = New System.Windows.Forms.GroupBox
        Me.lblCheckTime = New System.Windows.Forms.Label
        Me.cboCheckTime = New System.Windows.Forms.CheckBox
        Me.picCheckTime = New System.Windows.Forms.PictureBox
        Me.fraDeletion = New System.Windows.Forms.GroupBox
        Me.picDelWarning = New System.Windows.Forms.PictureBox
        Me.optDelNever = New System.Windows.Forms.RadioButton
        Me.optDelAllways = New System.Windows.Forms.RadioButton
        Me.optDelAskUser = New System.Windows.Forms.RadioButton
        Me.lblDeletion = New System.Windows.Forms.Label
        Me.fraOverwrite = New System.Windows.Forms.GroupBox
        Me.picOverwriteWarning = New System.Windows.Forms.PictureBox
        Me.optOverwriteOutlook = New System.Windows.Forms.RadioButton
        Me.optOverwriteeGW = New System.Windows.Forms.RadioButton
        Me.optOverwriteAsk = New System.Windows.Forms.RadioButton
        Me.Label7 = New System.Windows.Forms.Label
        Me.tabAutoSync = New System.Windows.Forms.TabPage
        Me.chkAutoEnable = New System.Windows.Forms.CheckBox
        Me.chkStartEnable = New System.Windows.Forms.CheckBox
        Me.fraSyncStartup = New System.Windows.Forms.GroupBox
        Me.picStartup = New System.Windows.Forms.PictureBox
        Me.Label6 = New System.Windows.Forms.Label
        Me.ChkStartNote = New System.Windows.Forms.CheckBox
        Me.chkStartToDo = New System.Windows.Forms.CheckBox
        Me.chkStartcon = New System.Windows.Forms.CheckBox
        Me.chkStartCal = New System.Windows.Forms.CheckBox
        Me.frmAutoSync = New System.Windows.Forms.GroupBox
        Me.Label8 = New System.Windows.Forms.Label
        Me.numAutoInterval = New System.Windows.Forms.NumericUpDown
        Me.PictureBox4 = New System.Windows.Forms.PictureBox
        Me.lblAutoSync = New System.Windows.Forms.Label
        Me.chkAutoNote = New System.Windows.Forms.CheckBox
        Me.chkAutoToDo = New System.Windows.Forms.CheckBox
        Me.chkAutoCon = New System.Windows.Forms.CheckBox
        Me.chkAutoCal = New System.Windows.Forms.CheckBox
        Me._SSTab1_TabPage3 = New System.Windows.Forms.TabPage
        Me.fraLogLevel = New System.Windows.Forms.GroupBox
        Me.picLogLevel = New System.Windows.Forms.PictureBox
        Me.lblLogLevelInfo = New System.Windows.Forms.Label
        Me.lblLoglevel = New System.Windows.Forms.Label
        Me.trbLogLevel = New System.Windows.Forms.TrackBar
        Me.chkSaveLog = New System.Windows.Forms.CheckBox
        Me.fraNormalLog = New System.Windows.Forms.GroupBox
        Me.picLog = New System.Windows.Forms.PictureBox
        Me.cmdLogDel = New System.Windows.Forms.Button
        Me.cmdLogBrowse = New System.Windows.Forms.Button
        Me.txtLogPath = New System.Windows.Forms.TextBox
        Me.lblLogPath = New System.Windows.Forms.Label
        Me.fraXMLLog = New System.Windows.Forms.GroupBox
        Me.picXMLLog = New System.Windows.Forms.PictureBox
        Me.picXMLWarning = New System.Windows.Forms.PictureBox
        Me.cmdLogDelXML = New System.Windows.Forms.Button
        Me.txtLogPathXML = New System.Windows.Forms.TextBox
        Me.cmdXMLBrowse = New System.Windows.Forms.Button
        Me.lblXMLWarning = New System.Windows.Forms.Label
        Me.lblPathXML = New System.Windows.Forms.Label
        Me.chkSaveLogXML = New System.Windows.Forms.CheckBox
        Me._SSTab1_TabPage4 = New System.Windows.Forms.TabPage
        Me.picUtilsWarning = New System.Windows.Forms.PictureBox
        Me.lblUtilsWarning = New System.Windows.Forms.Label
        Me.fraCheckoFolder = New System.Windows.Forms.GroupBox
        Me.rdooCalendar = New System.Windows.Forms.RadioButton
        Me.cmdCheckFolder = New System.Windows.Forms.Button
        Me.rdooContacts = New System.Windows.Forms.RadioButton
        Me.rdooNotes = New System.Windows.Forms.RadioButton
        Me.rdooToDos = New System.Windows.Forms.RadioButton
        Me.PictureBox3 = New System.Windows.Forms.PictureBox
        Me.chkEnableUtils = New System.Windows.Forms.CheckBox
        Me.fraDBCheck = New System.Windows.Forms.GroupBox
        Me.lblDBResult = New System.Windows.Forms.Label
        Me.rdoCalendar = New System.Windows.Forms.RadioButton
        Me.cmdCheckDB = New System.Windows.Forms.Button
        Me.PictureBox2 = New System.Windows.Forms.PictureBox
        Me.rdoContacts = New System.Windows.Forms.RadioButton
        Me.rdoNotes = New System.Windows.Forms.RadioButton
        Me.rdoToDo = New System.Windows.Forms.RadioButton
        Me._SSTab1_TabPage2 = New System.Windows.Forms.TabPage
        Me.fraUserInfo = New System.Windows.Forms.GroupBox
        Me.lblDomain = New System.Windows.Forms.Label
        Me.txtDomain = New System.Windows.Forms.TextBox
        Me.picUserInfo = New System.Windows.Forms.PictureBox
        Me.txtUsername = New System.Windows.Forms.TextBox
        Me.txtPassword = New System.Windows.Forms.TextBox
        Me.chkSavePassword = New System.Windows.Forms.CheckBox
        Me.Label1 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.fraHostInfo = New System.Windows.Forms.GroupBox
        Me.picSSL = New System.Windows.Forms.PictureBox
        Me.lblSSLHelp = New System.Windows.Forms.Label
        Me.chkUseSSL = New System.Windows.Forms.CheckBox
        Me.numPort = New System.Windows.Forms.NumericUpDown
        Me.Label3 = New System.Windows.Forms.Label
        Me.picHostInfo = New System.Windows.Forms.PictureBox
        Me.txtURI = New System.Windows.Forms.TextBox
        Me.txtHostname = New System.Windows.Forms.TextBox
        Me.lblURIHelp = New System.Windows.Forms.Label
        Me.Label5 = New System.Windows.Forms.Label
        Me.lblURL = New System.Windows.Forms.Label
        Me.fraTestLogin = New System.Windows.Forms.GroupBox
        Me.Label4 = New System.Windows.Forms.Label
        Me.lblTestLoginWillSave = New System.Windows.Forms.Label
        Me.picTestLogin = New System.Windows.Forms.PictureBox
        Me.cmdTestLogin = New System.Windows.Forms.Button
        Me.lblTestLogout = New System.Windows.Forms.Label
        Me.lblTestLogin = New System.Windows.Forms.Label
        Me.cmdOK = New System.Windows.Forms.Button
        Me.errProvider = New System.Windows.Forms.ErrorProvider
        Me.dlgSave = New System.Windows.Forms.SaveFileDialog
        Me.SSTab1.SuspendLayout()
        Me._SSTab1_TabPage0.SuspendLayout()
        Me.fraHaltCriticalErr.SuspendLayout()
        Me.fraCheckNewVersion.SuspendLayout()
        Me.fraShow.SuspendLayout()
        Me.fraGuide.SuspendLayout()
        Me._SSTab1_TabPage1.SuspendLayout()
        Me.fraSaveDB.SuspendLayout()
        Me.fraCheckTime.SuspendLayout()
        Me.fraDeletion.SuspendLayout()
        Me.fraOverwrite.SuspendLayout()
        Me.tabAutoSync.SuspendLayout()
        Me.fraSyncStartup.SuspendLayout()
        Me.frmAutoSync.SuspendLayout()
        CType(Me.numAutoInterval, System.ComponentModel.ISupportInitialize).BeginInit()
        Me._SSTab1_TabPage3.SuspendLayout()
        Me.fraLogLevel.SuspendLayout()
        CType(Me.trbLogLevel, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.fraNormalLog.SuspendLayout()
        Me.fraXMLLog.SuspendLayout()
        Me._SSTab1_TabPage4.SuspendLayout()
        Me.fraCheckoFolder.SuspendLayout()
        Me.fraDBCheck.SuspendLayout()
        Me._SSTab1_TabPage2.SuspendLayout()
        Me.fraUserInfo.SuspendLayout()
        Me.fraHostInfo.SuspendLayout()
        CType(Me.numPort, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.fraTestLogin.SuspendLayout()
        Me.SuspendLayout()
        '
        'cmdApply
        '
        Me.cmdApply.BackColor = System.Drawing.SystemColors.Control
        Me.cmdApply.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdApply.Enabled = False
        Me.cmdApply.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdApply.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdApply.Image = CType(resources.GetObject("cmdApply.Image"), System.Drawing.Image)
        Me.cmdApply.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.cmdApply.Location = New System.Drawing.Point(360, 488)
        Me.cmdApply.Name = "cmdApply"
        Me.cmdApply.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdApply.Size = New System.Drawing.Size(81, 25)
        Me.cmdApply.TabIndex = 102
        Me.cmdApply.Text = "&Apply"
        '
        'cmdCancel
        '
        Me.cmdCancel.BackColor = System.Drawing.SystemColors.Control
        Me.cmdCancel.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.cmdCancel.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdCancel.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdCancel.Image = CType(resources.GetObject("cmdCancel.Image"), System.Drawing.Image)
        Me.cmdCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.cmdCancel.Location = New System.Drawing.Point(272, 488)
        Me.cmdCancel.Name = "cmdCancel"
        Me.cmdCancel.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdCancel.Size = New System.Drawing.Size(81, 25)
        Me.cmdCancel.TabIndex = 101
        Me.cmdCancel.Text = "&Cancel"
        '
        'SSTab1
        '
        Me.SSTab1.Controls.Add(Me._SSTab1_TabPage0)
        Me.SSTab1.Controls.Add(Me._SSTab1_TabPage1)
        Me.SSTab1.Controls.Add(Me.tabAutoSync)
        Me.SSTab1.Controls.Add(Me._SSTab1_TabPage2)
        Me.SSTab1.Controls.Add(Me._SSTab1_TabPage3)
        Me.SSTab1.Controls.Add(Me._SSTab1_TabPage4)
        Me.SSTab1.Dock = System.Windows.Forms.DockStyle.Top
        Me.SSTab1.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.SSTab1.ItemSize = New System.Drawing.Size(42, 18)
        Me.SSTab1.Location = New System.Drawing.Point(0, 0)
        Me.SSTab1.Name = "SSTab1"
        Me.SSTab1.SelectedIndex = 0
        Me.SSTab1.Size = New System.Drawing.Size(450, 480)
        Me.SSTab1.TabIndex = 0
        '
        '_SSTab1_TabPage0
        '
        Me._SSTab1_TabPage0.Controls.Add(Me.fraHaltCriticalErr)
        Me._SSTab1_TabPage0.Controls.Add(Me.fraCheckNewVersion)
        Me._SSTab1_TabPage0.Controls.Add(Me.fraShow)
        Me._SSTab1_TabPage0.Controls.Add(Me.fraGuide)
        Me._SSTab1_TabPage0.Location = New System.Drawing.Point(4, 22)
        Me._SSTab1_TabPage0.Name = "_SSTab1_TabPage0"
        Me._SSTab1_TabPage0.Size = New System.Drawing.Size(442, 454)
        Me._SSTab1_TabPage0.TabIndex = 0
        Me._SSTab1_TabPage0.Text = "General"
        '
        'fraHaltCriticalErr
        '
        Me.fraHaltCriticalErr.Controls.Add(Me.PictureBox6)
        Me.fraHaltCriticalErr.Controls.Add(Me.Label10)
        Me.fraHaltCriticalErr.Controls.Add(Me.Label9)
        Me.fraHaltCriticalErr.Controls.Add(Me.PictureBox5)
        Me.fraHaltCriticalErr.Controls.Add(Me.chkErrHalt)
        Me.fraHaltCriticalErr.Location = New System.Drawing.Point(8, 336)
        Me.fraHaltCriticalErr.Name = "fraHaltCriticalErr"
        Me.fraHaltCriticalErr.Size = New System.Drawing.Size(424, 112)
        Me.fraHaltCriticalErr.TabIndex = 47
        Me.fraHaltCriticalErr.TabStop = False
        Me.fraHaltCriticalErr.Text = "Halt on Critical Errors"
        '
        'PictureBox6
        '
        Me.PictureBox6.Image = CType(resources.GetObject("PictureBox6.Image"), System.Drawing.Image)
        Me.PictureBox6.Location = New System.Drawing.Point(80, 72)
        Me.PictureBox6.Name = "PictureBox6"
        Me.PictureBox6.Size = New System.Drawing.Size(24, 24)
        Me.PictureBox6.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.PictureBox6.TabIndex = 52
        Me.PictureBox6.TabStop = False
        '
        'Label10
        '
        Me.Label10.Location = New System.Drawing.Point(112, 64)
        Me.Label10.Name = "Label10"
        Me.Label10.Size = New System.Drawing.Size(288, 40)
        Me.Label10.TabIndex = 51
        Me.Label10.Text = "Warning: You should only disable this if you are 100% sure that there is no way a" & _
        "round. This option could add an avalanche of errors in your sync."
        '
        'Label9
        '
        Me.Label9.Location = New System.Drawing.Point(112, 24)
        Me.Label9.Name = "Label9"
        Me.Label9.Size = New System.Drawing.Size(184, 24)
        Me.Label9.TabIndex = 2
        Me.Label9.Text = "Should the syncronization stop on critical errors?"
        '
        'PictureBox5
        '
        Me.PictureBox5.Image = CType(resources.GetObject("PictureBox5.Image"), System.Drawing.Image)
        Me.PictureBox5.Location = New System.Drawing.Point(8, 24)
        Me.PictureBox5.Name = "PictureBox5"
        Me.PictureBox5.Size = New System.Drawing.Size(64, 64)
        Me.PictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.PictureBox5.TabIndex = 1
        Me.PictureBox5.TabStop = False
        '
        'chkErrHalt
        '
        Me.chkErrHalt.Location = New System.Drawing.Point(328, 24)
        Me.chkErrHalt.Name = "chkErrHalt"
        Me.chkErrHalt.Size = New System.Drawing.Size(72, 24)
        Me.chkErrHalt.TabIndex = 0
        Me.chkErrHalt.Text = "Enabled"
        '
        'fraCheckNewVersion
        '
        Me.fraCheckNewVersion.Controls.Add(Me.cmdNewVersion)
        Me.fraCheckNewVersion.Controls.Add(Me.chkNewVersion)
        Me.fraCheckNewVersion.Controls.Add(Me.picNewVersion)
        Me.fraCheckNewVersion.Location = New System.Drawing.Point(8, 216)
        Me.fraCheckNewVersion.Name = "fraCheckNewVersion"
        Me.fraCheckNewVersion.Size = New System.Drawing.Size(424, 112)
        Me.fraCheckNewVersion.TabIndex = 46
        Me.fraCheckNewVersion.TabStop = False
        Me.fraCheckNewVersion.Text = "New Version Check"
        '
        'cmdNewVersion
        '
        Me.cmdNewVersion.Location = New System.Drawing.Point(320, 40)
        Me.cmdNewVersion.Name = "cmdNewVersion"
        Me.cmdNewVersion.Size = New System.Drawing.Size(89, 25)
        Me.cmdNewVersion.TabIndex = 2
        Me.cmdNewVersion.Text = "C&heck Now"
        '
        'chkNewVersion
        '
        Me.chkNewVersion.Location = New System.Drawing.Point(112, 48)
        Me.chkNewVersion.Name = "chkNewVersion"
        Me.chkNewVersion.Size = New System.Drawing.Size(184, 24)
        Me.chkNewVersion.TabIndex = 1
        Me.chkNewVersion.Text = "Check for new version on startup"
        '
        'picNewVersion
        '
        Me.picNewVersion.Image = CType(resources.GetObject("picNewVersion.Image"), System.Drawing.Image)
        Me.picNewVersion.Location = New System.Drawing.Point(16, 24)
        Me.picNewVersion.Name = "picNewVersion"
        Me.picNewVersion.Size = New System.Drawing.Size(72, 72)
        Me.picNewVersion.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picNewVersion.TabIndex = 0
        Me.picNewVersion.TabStop = False
        '
        'fraShow
        '
        Me.fraShow.BackColor = System.Drawing.SystemColors.Control
        Me.fraShow.Controls.Add(Me.picShowStartup)
        Me.fraShow.Controls.Add(Me.chkShowLog)
        Me.fraShow.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraShow.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraShow.Location = New System.Drawing.Point(8, 16)
        Me.fraShow.Name = "fraShow"
        Me.fraShow.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraShow.Size = New System.Drawing.Size(424, 88)
        Me.fraShow.TabIndex = 0
        Me.fraShow.TabStop = False
        Me.fraShow.Text = "Show on startup"
        '
        'picShowStartup
        '
        Me.picShowStartup.Image = CType(resources.GetObject("picShowStartup.Image"), System.Drawing.Image)
        Me.picShowStartup.Location = New System.Drawing.Point(16, 12)
        Me.picShowStartup.Name = "picShowStartup"
        Me.picShowStartup.Size = New System.Drawing.Size(72, 72)
        Me.picShowStartup.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picShowStartup.TabIndex = 40
        Me.picShowStartup.TabStop = False
        '
        'chkShowLog
        '
        Me.chkShowLog.BackColor = System.Drawing.SystemColors.Control
        Me.chkShowLog.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkShowLog.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkShowLog.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkShowLog.Location = New System.Drawing.Point(320, 40)
        Me.chkShowLog.Name = "chkShowLog"
        Me.chkShowLog.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkShowLog.Size = New System.Drawing.Size(89, 17)
        Me.chkShowLog.TabIndex = 1
        Me.chkShowLog.Text = "Show Log"
        '
        'fraGuide
        '
        Me.fraGuide.BackColor = System.Drawing.SystemColors.Control
        Me.fraGuide.Controls.Add(Me.cmdRunFirstTime)
        Me.fraGuide.Controls.Add(Me.chkFirstTime)
        Me.fraGuide.Controls.Add(Me.picFirstTime)
        Me.fraGuide.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraGuide.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraGuide.Location = New System.Drawing.Point(8, 112)
        Me.fraGuide.Name = "fraGuide"
        Me.fraGuide.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraGuide.Size = New System.Drawing.Size(424, 96)
        Me.fraGuide.TabIndex = 41
        Me.fraGuide.TabStop = False
        Me.fraGuide.Text = "First time guide"
        '
        'cmdRunFirstTime
        '
        Me.cmdRunFirstTime.BackColor = System.Drawing.SystemColors.Control
        Me.cmdRunFirstTime.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdRunFirstTime.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdRunFirstTime.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdRunFirstTime.Location = New System.Drawing.Point(320, 56)
        Me.cmdRunFirstTime.Name = "cmdRunFirstTime"
        Me.cmdRunFirstTime.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdRunFirstTime.Size = New System.Drawing.Size(89, 25)
        Me.cmdRunFirstTime.TabIndex = 3
        Me.cmdRunFirstTime.Text = "&Run Now"
        '
        'chkFirstTime
        '
        Me.chkFirstTime.BackColor = System.Drawing.SystemColors.Control
        Me.chkFirstTime.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkFirstTime.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkFirstTime.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkFirstTime.Location = New System.Drawing.Point(112, 64)
        Me.chkFirstTime.Name = "chkFirstTime"
        Me.chkFirstTime.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkFirstTime.Size = New System.Drawing.Size(208, 17)
        Me.chkFirstTime.TabIndex = 2
        Me.chkFirstTime.Text = "Do not run ""First time guide"" at load"
        '
        'picFirstTime
        '
        Me.picFirstTime.Image = CType(resources.GetObject("picFirstTime.Image"), System.Drawing.Image)
        Me.picFirstTime.Location = New System.Drawing.Point(16, 24)
        Me.picFirstTime.Name = "picFirstTime"
        Me.picFirstTime.Size = New System.Drawing.Size(64, 64)
        Me.picFirstTime.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picFirstTime.TabIndex = 44
        Me.picFirstTime.TabStop = False
        '
        '_SSTab1_TabPage1
        '
        Me._SSTab1_TabPage1.Controls.Add(Me.fraSaveDB)
        Me._SSTab1_TabPage1.Controls.Add(Me.fraCheckTime)
        Me._SSTab1_TabPage1.Controls.Add(Me.fraDeletion)
        Me._SSTab1_TabPage1.Controls.Add(Me.fraOverwrite)
        Me._SSTab1_TabPage1.Location = New System.Drawing.Point(4, 22)
        Me._SSTab1_TabPage1.Name = "_SSTab1_TabPage1"
        Me._SSTab1_TabPage1.Size = New System.Drawing.Size(442, 454)
        Me._SSTab1_TabPage1.TabIndex = 3
        Me._SSTab1_TabPage1.Text = "Sync"
        '
        'fraSaveDB
        '
        Me.fraSaveDB.Controls.Add(Me.chkSaveDB)
        Me.fraSaveDB.Controls.Add(Me.lblSyncDB)
        Me.fraSaveDB.Controls.Add(Me.PictureBox1)
        Me.fraSaveDB.Location = New System.Drawing.Point(8, 312)
        Me.fraSaveDB.Name = "fraSaveDB"
        Me.fraSaveDB.Size = New System.Drawing.Size(424, 104)
        Me.fraSaveDB.TabIndex = 57
        Me.fraSaveDB.TabStop = False
        Me.fraSaveDB.Text = "Save SyncDB for each update"
        '
        'chkSaveDB
        '
        Me.chkSaveDB.Location = New System.Drawing.Point(304, 40)
        Me.chkSaveDB.Name = "chkSaveDB"
        Me.chkSaveDB.TabIndex = 8
        Me.chkSaveDB.Text = "Enabled"
        '
        'lblSyncDB
        '
        Me.lblSyncDB.Location = New System.Drawing.Point(88, 24)
        Me.lblSyncDB.Name = "lblSyncDB"
        Me.lblSyncDB.Size = New System.Drawing.Size(208, 64)
        Me.lblSyncDB.TabIndex = 1
        Me.lblSyncDB.Text = "If checked, eGWOSync will save the database for each item that is created, delete" & _
        "d or updated. This can possibly slow the sync significant, but will be more safe" & _
        " regarding to errors."
        '
        'PictureBox1
        '
        Me.PictureBox1.Image = CType(resources.GetObject("PictureBox1.Image"), System.Drawing.Image)
        Me.PictureBox1.Location = New System.Drawing.Point(8, 24)
        Me.PictureBox1.Name = "PictureBox1"
        Me.PictureBox1.Size = New System.Drawing.Size(72, 72)
        Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.PictureBox1.TabIndex = 0
        Me.PictureBox1.TabStop = False
        '
        'fraCheckTime
        '
        Me.fraCheckTime.Controls.Add(Me.lblCheckTime)
        Me.fraCheckTime.Controls.Add(Me.cboCheckTime)
        Me.fraCheckTime.Controls.Add(Me.picCheckTime)
        Me.fraCheckTime.Location = New System.Drawing.Point(8, 200)
        Me.fraCheckTime.Name = "fraCheckTime"
        Me.fraCheckTime.Size = New System.Drawing.Size(424, 104)
        Me.fraCheckTime.TabIndex = 56
        Me.fraCheckTime.TabStop = False
        Me.fraCheckTime.Text = "Check Server Time"
        '
        'lblCheckTime
        '
        Me.lblCheckTime.Location = New System.Drawing.Point(88, 32)
        Me.lblCheckTime.Name = "lblCheckTime"
        Me.lblCheckTime.Size = New System.Drawing.Size(200, 40)
        Me.lblCheckTime.TabIndex = 2
        Me.lblCheckTime.Text = "Check to see if the servers time is serious out of sync with the local machines t" & _
        "ime."
        '
        'cboCheckTime
        '
        Me.cboCheckTime.Location = New System.Drawing.Point(304, 40)
        Me.cboCheckTime.Name = "cboCheckTime"
        Me.cboCheckTime.TabIndex = 7
        Me.cboCheckTime.Text = "Enabled"
        '
        'picCheckTime
        '
        Me.picCheckTime.Image = CType(resources.GetObject("picCheckTime.Image"), System.Drawing.Image)
        Me.picCheckTime.Location = New System.Drawing.Point(16, 24)
        Me.picCheckTime.Name = "picCheckTime"
        Me.picCheckTime.Size = New System.Drawing.Size(64, 64)
        Me.picCheckTime.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picCheckTime.TabIndex = 0
        Me.picCheckTime.TabStop = False
        '
        'fraDeletion
        '
        Me.fraDeletion.BackColor = System.Drawing.SystemColors.Control
        Me.fraDeletion.Controls.Add(Me.picDelWarning)
        Me.fraDeletion.Controls.Add(Me.optDelNever)
        Me.fraDeletion.Controls.Add(Me.optDelAllways)
        Me.fraDeletion.Controls.Add(Me.optDelAskUser)
        Me.fraDeletion.Controls.Add(Me.lblDeletion)
        Me.fraDeletion.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraDeletion.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraDeletion.Location = New System.Drawing.Point(8, 16)
        Me.fraDeletion.Name = "fraDeletion"
        Me.fraDeletion.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraDeletion.Size = New System.Drawing.Size(424, 80)
        Me.fraDeletion.TabIndex = 54
        Me.fraDeletion.TabStop = False
        Me.fraDeletion.Text = "Before Deletion"
        '
        'picDelWarning
        '
        Me.picDelWarning.Image = CType(resources.GetObject("picDelWarning.Image"), System.Drawing.Image)
        Me.picDelWarning.Location = New System.Drawing.Point(16, 16)
        Me.picDelWarning.Name = "picDelWarning"
        Me.picDelWarning.Size = New System.Drawing.Size(72, 56)
        Me.picDelWarning.TabIndex = 53
        Me.picDelWarning.TabStop = False
        '
        'optDelNever
        '
        Me.optDelNever.BackColor = System.Drawing.SystemColors.Control
        Me.optDelNever.Cursor = System.Windows.Forms.Cursors.Default
        Me.optDelNever.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.optDelNever.ForeColor = System.Drawing.SystemColors.ControlText
        Me.optDelNever.Location = New System.Drawing.Point(280, 48)
        Me.optDelNever.Name = "optDelNever"
        Me.optDelNever.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.optDelNever.Size = New System.Drawing.Size(136, 17)
        Me.optDelNever.TabIndex = 3
        Me.optDelNever.TabStop = True
        Me.optDelNever.Text = "Never delete"
        '
        'optDelAllways
        '
        Me.optDelAllways.BackColor = System.Drawing.SystemColors.Control
        Me.optDelAllways.Cursor = System.Windows.Forms.Cursors.Default
        Me.optDelAllways.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.optDelAllways.ForeColor = System.Drawing.SystemColors.ControlText
        Me.optDelAllways.Location = New System.Drawing.Point(280, 32)
        Me.optDelAllways.Name = "optDelAllways"
        Me.optDelAllways.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.optDelAllways.Size = New System.Drawing.Size(136, 17)
        Me.optDelAllways.TabIndex = 2
        Me.optDelAllways.TabStop = True
        Me.optDelAllways.Text = "Allways delete"
        '
        'optDelAskUser
        '
        Me.optDelAskUser.BackColor = System.Drawing.SystemColors.Control
        Me.optDelAskUser.Cursor = System.Windows.Forms.Cursors.Default
        Me.optDelAskUser.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.optDelAskUser.ForeColor = System.Drawing.SystemColors.ControlText
        Me.optDelAskUser.Location = New System.Drawing.Point(280, 16)
        Me.optDelAskUser.Name = "optDelAskUser"
        Me.optDelAskUser.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.optDelAskUser.Size = New System.Drawing.Size(136, 17)
        Me.optDelAskUser.TabIndex = 1
        Me.optDelAskUser.TabStop = True
        Me.optDelAskUser.Text = "Ask user"
        '
        'lblDeletion
        '
        Me.lblDeletion.BackColor = System.Drawing.SystemColors.Control
        Me.lblDeletion.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblDeletion.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblDeletion.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblDeletion.Location = New System.Drawing.Point(88, 16)
        Me.lblDeletion.Name = "lblDeletion"
        Me.lblDeletion.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblDeletion.Size = New System.Drawing.Size(184, 48)
        Me.lblDeletion.TabIndex = 49
        Me.lblDeletion.Text = "Default behavior before deleting a item"
        '
        'fraOverwrite
        '
        Me.fraOverwrite.BackColor = System.Drawing.SystemColors.Control
        Me.fraOverwrite.Controls.Add(Me.picOverwriteWarning)
        Me.fraOverwrite.Controls.Add(Me.optOverwriteOutlook)
        Me.fraOverwrite.Controls.Add(Me.optOverwriteeGW)
        Me.fraOverwrite.Controls.Add(Me.optOverwriteAsk)
        Me.fraOverwrite.Controls.Add(Me.Label7)
        Me.fraOverwrite.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraOverwrite.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraOverwrite.Location = New System.Drawing.Point(8, 104)
        Me.fraOverwrite.Name = "fraOverwrite"
        Me.fraOverwrite.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraOverwrite.Size = New System.Drawing.Size(424, 80)
        Me.fraOverwrite.TabIndex = 55
        Me.fraOverwrite.TabStop = False
        Me.fraOverwrite.Text = "Before Overwrite"
        '
        'picOverwriteWarning
        '
        Me.picOverwriteWarning.Image = CType(resources.GetObject("picOverwriteWarning.Image"), System.Drawing.Image)
        Me.picOverwriteWarning.Location = New System.Drawing.Point(16, 16)
        Me.picOverwriteWarning.Name = "picOverwriteWarning"
        Me.picOverwriteWarning.Size = New System.Drawing.Size(72, 56)
        Me.picOverwriteWarning.TabIndex = 58
        Me.picOverwriteWarning.TabStop = False
        '
        'optOverwriteOutlook
        '
        Me.optOverwriteOutlook.BackColor = System.Drawing.SystemColors.Control
        Me.optOverwriteOutlook.Cursor = System.Windows.Forms.Cursors.Default
        Me.optOverwriteOutlook.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.optOverwriteOutlook.ForeColor = System.Drawing.SystemColors.ControlText
        Me.optOverwriteOutlook.Location = New System.Drawing.Point(280, 56)
        Me.optOverwriteOutlook.Name = "optOverwriteOutlook"
        Me.optOverwriteOutlook.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.optOverwriteOutlook.Size = New System.Drawing.Size(136, 17)
        Me.optOverwriteOutlook.TabIndex = 6
        Me.optOverwriteOutlook.TabStop = True
        Me.optOverwriteOutlook.Text = "Overwrite Outlook"
        '
        'optOverwriteeGW
        '
        Me.optOverwriteeGW.BackColor = System.Drawing.SystemColors.Control
        Me.optOverwriteeGW.Cursor = System.Windows.Forms.Cursors.Default
        Me.optOverwriteeGW.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.optOverwriteeGW.ForeColor = System.Drawing.SystemColors.ControlText
        Me.optOverwriteeGW.Location = New System.Drawing.Point(280, 40)
        Me.optOverwriteeGW.Name = "optOverwriteeGW"
        Me.optOverwriteeGW.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.optOverwriteeGW.Size = New System.Drawing.Size(136, 17)
        Me.optOverwriteeGW.TabIndex = 5
        Me.optOverwriteeGW.TabStop = True
        Me.optOverwriteeGW.Text = "Overwrite eGroupware"
        '
        'optOverwriteAsk
        '
        Me.optOverwriteAsk.BackColor = System.Drawing.SystemColors.Control
        Me.optOverwriteAsk.Cursor = System.Windows.Forms.Cursors.Default
        Me.optOverwriteAsk.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.optOverwriteAsk.ForeColor = System.Drawing.SystemColors.ControlText
        Me.optOverwriteAsk.Location = New System.Drawing.Point(280, 24)
        Me.optOverwriteAsk.Name = "optOverwriteAsk"
        Me.optOverwriteAsk.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.optOverwriteAsk.Size = New System.Drawing.Size(136, 17)
        Me.optOverwriteAsk.TabIndex = 4
        Me.optOverwriteAsk.TabStop = True
        Me.optOverwriteAsk.Text = "Ask user"
        '
        'Label7
        '
        Me.Label7.BackColor = System.Drawing.SystemColors.Control
        Me.Label7.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label7.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label7.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label7.Location = New System.Drawing.Point(88, 24)
        Me.Label7.Name = "Label7"
        Me.Label7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label7.Size = New System.Drawing.Size(184, 48)
        Me.Label7.TabIndex = 57
        Me.Label7.Text = "Default behavior if both Outlook and eGroupware has changed since last sync"
        '
        'tabAutoSync
        '
        Me.tabAutoSync.Controls.Add(Me.chkAutoEnable)
        Me.tabAutoSync.Controls.Add(Me.chkStartEnable)
        Me.tabAutoSync.Controls.Add(Me.fraSyncStartup)
        Me.tabAutoSync.Controls.Add(Me.frmAutoSync)
        Me.tabAutoSync.Location = New System.Drawing.Point(4, 22)
        Me.tabAutoSync.Name = "tabAutoSync"
        Me.tabAutoSync.Size = New System.Drawing.Size(442, 454)
        Me.tabAutoSync.TabIndex = 5
        Me.tabAutoSync.Text = "AutoSync"
        '
        'chkAutoEnable
        '
        Me.chkAutoEnable.Location = New System.Drawing.Point(16, 168)
        Me.chkAutoEnable.Name = "chkAutoEnable"
        Me.chkAutoEnable.Size = New System.Drawing.Size(408, 24)
        Me.chkAutoEnable.TabIndex = 57
        Me.chkAutoEnable.Text = "Enable Auto Syncronization"
        '
        'chkStartEnable
        '
        Me.chkStartEnable.Location = New System.Drawing.Point(8, 16)
        Me.chkStartEnable.Name = "chkStartEnable"
        Me.chkStartEnable.Size = New System.Drawing.Size(408, 24)
        Me.chkStartEnable.TabIndex = 56
        Me.chkStartEnable.Text = "Enable Syncronization On Startup"
        '
        'fraSyncStartup
        '
        Me.fraSyncStartup.Controls.Add(Me.picStartup)
        Me.fraSyncStartup.Controls.Add(Me.Label6)
        Me.fraSyncStartup.Controls.Add(Me.ChkStartNote)
        Me.fraSyncStartup.Controls.Add(Me.chkStartToDo)
        Me.fraSyncStartup.Controls.Add(Me.chkStartcon)
        Me.fraSyncStartup.Controls.Add(Me.chkStartCal)
        Me.fraSyncStartup.Location = New System.Drawing.Point(8, 40)
        Me.fraSyncStartup.Name = "fraSyncStartup"
        Me.fraSyncStartup.Size = New System.Drawing.Size(424, 120)
        Me.fraSyncStartup.TabIndex = 0
        Me.fraSyncStartup.TabStop = False
        Me.fraSyncStartup.Text = "Sync On Startup"
        '
        'picStartup
        '
        Me.picStartup.Image = CType(resources.GetObject("picStartup.Image"), System.Drawing.Image)
        Me.picStartup.Location = New System.Drawing.Point(16, 24)
        Me.picStartup.Name = "picStartup"
        Me.picStartup.Size = New System.Drawing.Size(64, 72)
        Me.picStartup.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picStartup.TabIndex = 54
        Me.picStartup.TabStop = False
        '
        'Label6
        '
        Me.Label6.Location = New System.Drawing.Point(104, 24)
        Me.Label6.Name = "Label6"
        Me.Label6.Size = New System.Drawing.Size(168, 32)
        Me.Label6.TabIndex = 4
        Me.Label6.Text = "What to sync on eGWOSync startup"
        '
        'ChkStartNote
        '
        Me.ChkStartNote.Location = New System.Drawing.Point(280, 88)
        Me.ChkStartNote.Name = "ChkStartNote"
        Me.ChkStartNote.TabIndex = 3
        Me.ChkStartNote.Text = "Sync Notes"
        '
        'chkStartToDo
        '
        Me.chkStartToDo.Location = New System.Drawing.Point(280, 64)
        Me.chkStartToDo.Name = "chkStartToDo"
        Me.chkStartToDo.TabIndex = 2
        Me.chkStartToDo.Text = "Sync ToDo's"
        '
        'chkStartcon
        '
        Me.chkStartcon.Location = New System.Drawing.Point(280, 40)
        Me.chkStartcon.Name = "chkStartcon"
        Me.chkStartcon.TabIndex = 1
        Me.chkStartcon.Text = "Sync Contacts"
        '
        'chkStartCal
        '
        Me.chkStartCal.Location = New System.Drawing.Point(280, 16)
        Me.chkStartCal.Name = "chkStartCal"
        Me.chkStartCal.TabIndex = 0
        Me.chkStartCal.Text = "Sync Calendar"
        '
        'frmAutoSync
        '
        Me.frmAutoSync.Controls.Add(Me.Label8)
        Me.frmAutoSync.Controls.Add(Me.numAutoInterval)
        Me.frmAutoSync.Controls.Add(Me.PictureBox4)
        Me.frmAutoSync.Controls.Add(Me.lblAutoSync)
        Me.frmAutoSync.Controls.Add(Me.chkAutoNote)
        Me.frmAutoSync.Controls.Add(Me.chkAutoToDo)
        Me.frmAutoSync.Controls.Add(Me.chkAutoCon)
        Me.frmAutoSync.Controls.Add(Me.chkAutoCal)
        Me.frmAutoSync.Location = New System.Drawing.Point(8, 192)
        Me.frmAutoSync.Name = "frmAutoSync"
        Me.frmAutoSync.Size = New System.Drawing.Size(424, 152)
        Me.frmAutoSync.TabIndex = 55
        Me.frmAutoSync.TabStop = False
        Me.frmAutoSync.Text = "Auto Sync"
        '
        'Label8
        '
        Me.Label8.Location = New System.Drawing.Point(104, 122)
        Me.Label8.Name = "Label8"
        Me.Label8.Size = New System.Drawing.Size(144, 16)
        Me.Label8.TabIndex = 56
        Me.Label8.Text = "Sync every (minutes):"
        '
        'numAutoInterval
        '
        Me.numAutoInterval.Location = New System.Drawing.Point(280, 120)
        Me.numAutoInterval.Maximum = New Decimal(New Integer() {9999, 0, 0, 0})
        Me.numAutoInterval.Minimum = New Decimal(New Integer() {1, 0, 0, 0})
        Me.numAutoInterval.Name = "numAutoInterval"
        Me.numAutoInterval.Size = New System.Drawing.Size(64, 20)
        Me.numAutoInterval.TabIndex = 55
        Me.numAutoInterval.Value = New Decimal(New Integer() {30, 0, 0, 0})
        '
        'PictureBox4
        '
        Me.PictureBox4.Image = CType(resources.GetObject("PictureBox4.Image"), System.Drawing.Image)
        Me.PictureBox4.Location = New System.Drawing.Point(16, 24)
        Me.PictureBox4.Name = "PictureBox4"
        Me.PictureBox4.Size = New System.Drawing.Size(72, 72)
        Me.PictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.PictureBox4.TabIndex = 54
        Me.PictureBox4.TabStop = False
        '
        'lblAutoSync
        '
        Me.lblAutoSync.Location = New System.Drawing.Point(104, 40)
        Me.lblAutoSync.Name = "lblAutoSync"
        Me.lblAutoSync.Size = New System.Drawing.Size(168, 32)
        Me.lblAutoSync.TabIndex = 4
        Me.lblAutoSync.Text = "What to auto syncronize"
        '
        'chkAutoNote
        '
        Me.chkAutoNote.Location = New System.Drawing.Point(280, 88)
        Me.chkAutoNote.Name = "chkAutoNote"
        Me.chkAutoNote.TabIndex = 3
        Me.chkAutoNote.Text = "Sync Notes"
        '
        'chkAutoToDo
        '
        Me.chkAutoToDo.Location = New System.Drawing.Point(280, 64)
        Me.chkAutoToDo.Name = "chkAutoToDo"
        Me.chkAutoToDo.TabIndex = 2
        Me.chkAutoToDo.Text = "Sync ToDo's"
        '
        'chkAutoCon
        '
        Me.chkAutoCon.Location = New System.Drawing.Point(280, 40)
        Me.chkAutoCon.Name = "chkAutoCon"
        Me.chkAutoCon.TabIndex = 1
        Me.chkAutoCon.Text = "Sync Contacts"
        '
        'chkAutoCal
        '
        Me.chkAutoCal.Location = New System.Drawing.Point(280, 16)
        Me.chkAutoCal.Name = "chkAutoCal"
        Me.chkAutoCal.TabIndex = 0
        Me.chkAutoCal.Text = "Sync Calendar"
        '
        '_SSTab1_TabPage3
        '
        Me._SSTab1_TabPage3.Controls.Add(Me.fraLogLevel)
        Me._SSTab1_TabPage3.Controls.Add(Me.chkSaveLog)
        Me._SSTab1_TabPage3.Controls.Add(Me.fraNormalLog)
        Me._SSTab1_TabPage3.Controls.Add(Me.fraXMLLog)
        Me._SSTab1_TabPage3.Controls.Add(Me.chkSaveLogXML)
        Me._SSTab1_TabPage3.Location = New System.Drawing.Point(4, 22)
        Me._SSTab1_TabPage3.Name = "_SSTab1_TabPage3"
        Me._SSTab1_TabPage3.Size = New System.Drawing.Size(442, 454)
        Me._SSTab1_TabPage3.TabIndex = 2
        Me._SSTab1_TabPage3.Text = "Logging"
        '
        'fraLogLevel
        '
        Me.fraLogLevel.Controls.Add(Me.picLogLevel)
        Me.fraLogLevel.Controls.Add(Me.lblLogLevelInfo)
        Me.fraLogLevel.Controls.Add(Me.lblLoglevel)
        Me.fraLogLevel.Controls.Add(Me.trbLogLevel)
        Me.fraLogLevel.Location = New System.Drawing.Point(8, 8)
        Me.fraLogLevel.Name = "fraLogLevel"
        Me.fraLogLevel.Size = New System.Drawing.Size(424, 112)
        Me.fraLogLevel.TabIndex = 17
        Me.fraLogLevel.TabStop = False
        Me.fraLogLevel.Text = "Log Level"
        '
        'picLogLevel
        '
        Me.picLogLevel.Image = CType(resources.GetObject("picLogLevel.Image"), System.Drawing.Image)
        Me.picLogLevel.Location = New System.Drawing.Point(16, 24)
        Me.picLogLevel.Name = "picLogLevel"
        Me.picLogLevel.Size = New System.Drawing.Size(72, 72)
        Me.picLogLevel.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picLogLevel.TabIndex = 28
        Me.picLogLevel.TabStop = False
        '
        'lblLogLevelInfo
        '
        Me.lblLogLevelInfo.Location = New System.Drawing.Point(200, 40)
        Me.lblLogLevelInfo.Name = "lblLogLevelInfo"
        Me.lblLogLevelInfo.Size = New System.Drawing.Size(208, 64)
        Me.lblLogLevelInfo.TabIndex = 27
        '
        'lblLoglevel
        '
        Me.lblLoglevel.Location = New System.Drawing.Point(192, 16)
        Me.lblLoglevel.Name = "lblLoglevel"
        Me.lblLoglevel.Size = New System.Drawing.Size(216, 16)
        Me.lblLoglevel.TabIndex = 26
        Me.lblLoglevel.Text = "Log Level: "
        '
        'trbLogLevel
        '
        Me.trbLogLevel.LargeChange = 1
        Me.trbLogLevel.Location = New System.Drawing.Point(144, 24)
        Me.trbLogLevel.Maximum = 4
        Me.trbLogLevel.Name = "trbLogLevel"
        Me.trbLogLevel.Orientation = System.Windows.Forms.Orientation.Vertical
        Me.trbLogLevel.Size = New System.Drawing.Size(42, 72)
        Me.trbLogLevel.TabIndex = 1
        Me.trbLogLevel.TickStyle = System.Windows.Forms.TickStyle.Both
        Me.trbLogLevel.Value = 3
        '
        'chkSaveLog
        '
        Me.chkSaveLog.BackColor = System.Drawing.SystemColors.Control
        Me.chkSaveLog.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkSaveLog.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkSaveLog.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkSaveLog.Location = New System.Drawing.Point(16, 136)
        Me.chkSaveLog.Name = "chkSaveLog"
        Me.chkSaveLog.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkSaveLog.Size = New System.Drawing.Size(137, 17)
        Me.chkSaveLog.TabIndex = 2
        Me.chkSaveLog.Text = "Save log to file"
        '
        'fraNormalLog
        '
        Me.fraNormalLog.BackColor = System.Drawing.SystemColors.Control
        Me.fraNormalLog.Controls.Add(Me.picLog)
        Me.fraNormalLog.Controls.Add(Me.cmdLogDel)
        Me.fraNormalLog.Controls.Add(Me.cmdLogBrowse)
        Me.fraNormalLog.Controls.Add(Me.txtLogPath)
        Me.fraNormalLog.Controls.Add(Me.lblLogPath)
        Me.fraNormalLog.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraNormalLog.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraNormalLog.Location = New System.Drawing.Point(8, 160)
        Me.fraNormalLog.Name = "fraNormalLog"
        Me.fraNormalLog.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraNormalLog.Size = New System.Drawing.Size(424, 96)
        Me.fraNormalLog.TabIndex = 11
        Me.fraNormalLog.TabStop = False
        Me.fraNormalLog.Text = "Normal Log"
        '
        'picLog
        '
        Me.picLog.Image = CType(resources.GetObject("picLog.Image"), System.Drawing.Image)
        Me.picLog.Location = New System.Drawing.Point(16, 24)
        Me.picLog.Name = "picLog"
        Me.picLog.Size = New System.Drawing.Size(72, 64)
        Me.picLog.TabIndex = 23
        Me.picLog.TabStop = False
        '
        'cmdLogDel
        '
        Me.cmdLogDel.BackColor = System.Drawing.SystemColors.Control
        Me.cmdLogDel.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdLogDel.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdLogDel.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdLogDel.Location = New System.Drawing.Point(248, 48)
        Me.cmdLogDel.Name = "cmdLogDel"
        Me.cmdLogDel.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdLogDel.Size = New System.Drawing.Size(81, 25)
        Me.cmdLogDel.TabIndex = 4
        Me.cmdLogDel.Text = "Delete Log"
        '
        'cmdLogBrowse
        '
        Me.cmdLogBrowse.BackColor = System.Drawing.SystemColors.Control
        Me.cmdLogBrowse.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdLogBrowse.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdLogBrowse.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdLogBrowse.Location = New System.Drawing.Point(336, 48)
        Me.cmdLogBrowse.Name = "cmdLogBrowse"
        Me.cmdLogBrowse.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdLogBrowse.Size = New System.Drawing.Size(81, 25)
        Me.cmdLogBrowse.TabIndex = 5
        Me.cmdLogBrowse.Text = "Browse"
        '
        'txtLogPath
        '
        Me.txtLogPath.AcceptsReturn = True
        Me.txtLogPath.AutoSize = False
        Me.txtLogPath.BackColor = System.Drawing.SystemColors.Window
        Me.txtLogPath.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtLogPath.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtLogPath.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtLogPath.Location = New System.Drawing.Point(152, 16)
        Me.txtLogPath.MaxLength = 0
        Me.txtLogPath.Name = "txtLogPath"
        Me.txtLogPath.ReadOnly = True
        Me.txtLogPath.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtLogPath.Size = New System.Drawing.Size(240, 19)
        Me.txtLogPath.TabIndex = 3
        Me.txtLogPath.Text = ""
        '
        'lblLogPath
        '
        Me.lblLogPath.BackColor = System.Drawing.SystemColors.Control
        Me.lblLogPath.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblLogPath.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblLogPath.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblLogPath.Location = New System.Drawing.Point(104, 16)
        Me.lblLogPath.Name = "lblLogPath"
        Me.lblLogPath.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblLogPath.Size = New System.Drawing.Size(33, 17)
        Me.lblLogPath.TabIndex = 13
        Me.lblLogPath.Text = "Path:"
        Me.lblLogPath.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'fraXMLLog
        '
        Me.fraXMLLog.BackColor = System.Drawing.SystemColors.Control
        Me.fraXMLLog.Controls.Add(Me.picXMLLog)
        Me.fraXMLLog.Controls.Add(Me.picXMLWarning)
        Me.fraXMLLog.Controls.Add(Me.cmdLogDelXML)
        Me.fraXMLLog.Controls.Add(Me.txtLogPathXML)
        Me.fraXMLLog.Controls.Add(Me.cmdXMLBrowse)
        Me.fraXMLLog.Controls.Add(Me.lblXMLWarning)
        Me.fraXMLLog.Controls.Add(Me.lblPathXML)
        Me.fraXMLLog.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraXMLLog.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraXMLLog.Location = New System.Drawing.Point(8, 296)
        Me.fraXMLLog.Name = "fraXMLLog"
        Me.fraXMLLog.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraXMLLog.Size = New System.Drawing.Size(424, 144)
        Me.fraXMLLog.TabIndex = 15
        Me.fraXMLLog.TabStop = False
        Me.fraXMLLog.Text = "XML Log"
        '
        'picXMLLog
        '
        Me.picXMLLog.Image = CType(resources.GetObject("picXMLLog.Image"), System.Drawing.Image)
        Me.picXMLLog.Location = New System.Drawing.Point(16, 24)
        Me.picXMLLog.Name = "picXMLLog"
        Me.picXMLLog.Size = New System.Drawing.Size(72, 64)
        Me.picXMLLog.TabIndex = 25
        Me.picXMLLog.TabStop = False
        '
        'picXMLWarning
        '
        Me.picXMLWarning.Image = CType(resources.GetObject("picXMLWarning.Image"), System.Drawing.Image)
        Me.picXMLWarning.Location = New System.Drawing.Point(104, 96)
        Me.picXMLWarning.Name = "picXMLWarning"
        Me.picXMLWarning.Size = New System.Drawing.Size(24, 24)
        Me.picXMLWarning.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picXMLWarning.TabIndex = 24
        Me.picXMLWarning.TabStop = False
        '
        'cmdLogDelXML
        '
        Me.cmdLogDelXML.BackColor = System.Drawing.SystemColors.Control
        Me.cmdLogDelXML.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdLogDelXML.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdLogDelXML.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdLogDelXML.Location = New System.Drawing.Point(248, 64)
        Me.cmdLogDelXML.Name = "cmdLogDelXML"
        Me.cmdLogDelXML.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdLogDelXML.Size = New System.Drawing.Size(81, 25)
        Me.cmdLogDelXML.TabIndex = 8
        Me.cmdLogDelXML.Text = "Delete Log"
        '
        'txtLogPathXML
        '
        Me.txtLogPathXML.AcceptsReturn = True
        Me.txtLogPathXML.AutoSize = False
        Me.txtLogPathXML.BackColor = System.Drawing.SystemColors.Window
        Me.txtLogPathXML.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtLogPathXML.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtLogPathXML.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtLogPathXML.Location = New System.Drawing.Point(152, 32)
        Me.txtLogPathXML.MaxLength = 0
        Me.txtLogPathXML.Name = "txtLogPathXML"
        Me.txtLogPathXML.ReadOnly = True
        Me.txtLogPathXML.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtLogPathXML.Size = New System.Drawing.Size(240, 19)
        Me.txtLogPathXML.TabIndex = 7
        Me.txtLogPathXML.Text = ""
        '
        'cmdXMLBrowse
        '
        Me.cmdXMLBrowse.BackColor = System.Drawing.SystemColors.Control
        Me.cmdXMLBrowse.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdXMLBrowse.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdXMLBrowse.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdXMLBrowse.Location = New System.Drawing.Point(336, 64)
        Me.cmdXMLBrowse.Name = "cmdXMLBrowse"
        Me.cmdXMLBrowse.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdXMLBrowse.Size = New System.Drawing.Size(81, 25)
        Me.cmdXMLBrowse.TabIndex = 9
        Me.cmdXMLBrowse.Text = "Browse"
        '
        'lblXMLWarning
        '
        Me.lblXMLWarning.BackColor = System.Drawing.SystemColors.Control
        Me.lblXMLWarning.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblXMLWarning.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblXMLWarning.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblXMLWarning.Location = New System.Drawing.Point(136, 96)
        Me.lblXMLWarning.Name = "lblXMLWarning"
        Me.lblXMLWarning.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblXMLWarning.Size = New System.Drawing.Size(272, 40)
        Me.lblXMLWarning.TabIndex = 20
        Me.lblXMLWarning.Text = "Warning: Will produce a lot of data, and will include the password in clear text!" & _
        " This is only ment for debuging purposes."
        Me.lblXMLWarning.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
        '
        'lblPathXML
        '
        Me.lblPathXML.BackColor = System.Drawing.SystemColors.Control
        Me.lblPathXML.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblPathXML.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblPathXML.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblPathXML.Location = New System.Drawing.Point(104, 32)
        Me.lblPathXML.Name = "lblPathXML"
        Me.lblPathXML.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblPathXML.Size = New System.Drawing.Size(33, 17)
        Me.lblPathXML.TabIndex = 17
        Me.lblPathXML.Text = "Path:"
        Me.lblPathXML.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'chkSaveLogXML
        '
        Me.chkSaveLogXML.BackColor = System.Drawing.SystemColors.Control
        Me.chkSaveLogXML.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkSaveLogXML.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkSaveLogXML.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkSaveLogXML.Location = New System.Drawing.Point(16, 272)
        Me.chkSaveLogXML.Name = "chkSaveLogXML"
        Me.chkSaveLogXML.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkSaveLogXML.Size = New System.Drawing.Size(377, 17)
        Me.chkSaveLogXML.TabIndex = 6
        Me.chkSaveLogXML.Text = "Save XML data sendt/recieved to the eGroupWare server."
        '
        '_SSTab1_TabPage4
        '
        Me._SSTab1_TabPage4.Controls.Add(Me.picUtilsWarning)
        Me._SSTab1_TabPage4.Controls.Add(Me.lblUtilsWarning)
        Me._SSTab1_TabPage4.Controls.Add(Me.fraCheckoFolder)
        Me._SSTab1_TabPage4.Controls.Add(Me.chkEnableUtils)
        Me._SSTab1_TabPage4.Controls.Add(Me.fraDBCheck)
        Me._SSTab1_TabPage4.Location = New System.Drawing.Point(4, 22)
        Me._SSTab1_TabPage4.Name = "_SSTab1_TabPage4"
        Me._SSTab1_TabPage4.Size = New System.Drawing.Size(442, 454)
        Me._SSTab1_TabPage4.TabIndex = 4
        Me._SSTab1_TabPage4.Text = "Utilities"
        '
        'picUtilsWarning
        '
        Me.picUtilsWarning.Image = CType(resources.GetObject("picUtilsWarning.Image"), System.Drawing.Image)
        Me.picUtilsWarning.Location = New System.Drawing.Point(144, 8)
        Me.picUtilsWarning.Name = "picUtilsWarning"
        Me.picUtilsWarning.Size = New System.Drawing.Size(24, 24)
        Me.picUtilsWarning.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picUtilsWarning.TabIndex = 50
        Me.picUtilsWarning.TabStop = False
        '
        'lblUtilsWarning
        '
        Me.lblUtilsWarning.Location = New System.Drawing.Point(176, 8)
        Me.lblUtilsWarning.Name = "lblUtilsWarning"
        Me.lblUtilsWarning.Size = New System.Drawing.Size(200, 24)
        Me.lblUtilsWarning.TabIndex = 49
        Me.lblUtilsWarning.Text = "Warning: Do not use these utils unless you have a specific reason to do so!"
        '
        'fraCheckoFolder
        '
        Me.fraCheckoFolder.Controls.Add(Me.rdooCalendar)
        Me.fraCheckoFolder.Controls.Add(Me.cmdCheckFolder)
        Me.fraCheckoFolder.Controls.Add(Me.rdooContacts)
        Me.fraCheckoFolder.Controls.Add(Me.rdooNotes)
        Me.fraCheckoFolder.Controls.Add(Me.rdooToDos)
        Me.fraCheckoFolder.Controls.Add(Me.PictureBox3)
        Me.fraCheckoFolder.Location = New System.Drawing.Point(8, 176)
        Me.fraCheckoFolder.Name = "fraCheckoFolder"
        Me.fraCheckoFolder.Size = New System.Drawing.Size(424, 128)
        Me.fraCheckoFolder.TabIndex = 2
        Me.fraCheckoFolder.TabStop = False
        Me.fraCheckoFolder.Text = "Check for doublets in Outlook folder"
        '
        'rdooCalendar
        '
        Me.rdooCalendar.Location = New System.Drawing.Point(136, 24)
        Me.rdooCalendar.Name = "rdooCalendar"
        Me.rdooCalendar.Size = New System.Drawing.Size(136, 24)
        Me.rdooCalendar.TabIndex = 2
        Me.rdooCalendar.Text = "Check Calendar Folder"
        '
        'cmdCheckFolder
        '
        Me.cmdCheckFolder.Location = New System.Drawing.Point(328, 96)
        Me.cmdCheckFolder.Name = "cmdCheckFolder"
        Me.cmdCheckFolder.TabIndex = 1
        Me.cmdCheckFolder.Text = "Check Now"
        '
        'rdooContacts
        '
        Me.rdooContacts.Location = New System.Drawing.Point(136, 48)
        Me.rdooContacts.Name = "rdooContacts"
        Me.rdooContacts.Size = New System.Drawing.Size(136, 24)
        Me.rdooContacts.TabIndex = 2
        Me.rdooContacts.Text = "Check Contacts Folder"
        '
        'rdooNotes
        '
        Me.rdooNotes.Location = New System.Drawing.Point(136, 72)
        Me.rdooNotes.Name = "rdooNotes"
        Me.rdooNotes.Size = New System.Drawing.Size(136, 24)
        Me.rdooNotes.TabIndex = 2
        Me.rdooNotes.Text = "Check Notes Folder"
        '
        'rdooToDos
        '
        Me.rdooToDos.Location = New System.Drawing.Point(136, 96)
        Me.rdooToDos.Name = "rdooToDos"
        Me.rdooToDos.Size = New System.Drawing.Size(136, 24)
        Me.rdooToDos.TabIndex = 2
        Me.rdooToDos.Text = "Check ToDo's Folder"
        '
        'PictureBox3
        '
        Me.PictureBox3.Image = CType(resources.GetObject("PictureBox3.Image"), System.Drawing.Image)
        Me.PictureBox3.Location = New System.Drawing.Point(16, 32)
        Me.PictureBox3.Name = "PictureBox3"
        Me.PictureBox3.Size = New System.Drawing.Size(80, 80)
        Me.PictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.PictureBox3.TabIndex = 0
        Me.PictureBox3.TabStop = False
        '
        'chkEnableUtils
        '
        Me.chkEnableUtils.Location = New System.Drawing.Point(16, 8)
        Me.chkEnableUtils.Name = "chkEnableUtils"
        Me.chkEnableUtils.Size = New System.Drawing.Size(128, 24)
        Me.chkEnableUtils.TabIndex = 1
        Me.chkEnableUtils.Text = "Enable Utillities"
        '
        'fraDBCheck
        '
        Me.fraDBCheck.Controls.Add(Me.lblDBResult)
        Me.fraDBCheck.Controls.Add(Me.rdoCalendar)
        Me.fraDBCheck.Controls.Add(Me.cmdCheckDB)
        Me.fraDBCheck.Controls.Add(Me.PictureBox2)
        Me.fraDBCheck.Controls.Add(Me.rdoContacts)
        Me.fraDBCheck.Controls.Add(Me.rdoNotes)
        Me.fraDBCheck.Controls.Add(Me.rdoToDo)
        Me.fraDBCheck.Location = New System.Drawing.Point(8, 40)
        Me.fraDBCheck.Name = "fraDBCheck"
        Me.fraDBCheck.Size = New System.Drawing.Size(424, 128)
        Me.fraDBCheck.TabIndex = 0
        Me.fraDBCheck.TabStop = False
        Me.fraDBCheck.Text = "XML Database Consistence Check"
        '
        'lblDBResult
        '
        Me.lblDBResult.Location = New System.Drawing.Point(256, 40)
        Me.lblDBResult.Name = "lblDBResult"
        Me.lblDBResult.Size = New System.Drawing.Size(160, 16)
        Me.lblDBResult.TabIndex = 3
        Me.lblDBResult.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'rdoCalendar
        '
        Me.rdoCalendar.Location = New System.Drawing.Point(136, 24)
        Me.rdoCalendar.Name = "rdoCalendar"
        Me.rdoCalendar.Size = New System.Drawing.Size(120, 24)
        Me.rdoCalendar.TabIndex = 2
        Me.rdoCalendar.Text = "Check Calendar DB"
        '
        'cmdCheckDB
        '
        Me.cmdCheckDB.Location = New System.Drawing.Point(328, 96)
        Me.cmdCheckDB.Name = "cmdCheckDB"
        Me.cmdCheckDB.TabIndex = 1
        Me.cmdCheckDB.Text = "Check Now"
        '
        'PictureBox2
        '
        Me.PictureBox2.Image = CType(resources.GetObject("PictureBox2.Image"), System.Drawing.Image)
        Me.PictureBox2.Location = New System.Drawing.Point(16, 32)
        Me.PictureBox2.Name = "PictureBox2"
        Me.PictureBox2.Size = New System.Drawing.Size(80, 80)
        Me.PictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.PictureBox2.TabIndex = 0
        Me.PictureBox2.TabStop = False
        '
        'rdoContacts
        '
        Me.rdoContacts.Location = New System.Drawing.Point(136, 48)
        Me.rdoContacts.Name = "rdoContacts"
        Me.rdoContacts.Size = New System.Drawing.Size(120, 24)
        Me.rdoContacts.TabIndex = 2
        Me.rdoContacts.Text = "Check Contacts DB"
        '
        'rdoNotes
        '
        Me.rdoNotes.Location = New System.Drawing.Point(136, 72)
        Me.rdoNotes.Name = "rdoNotes"
        Me.rdoNotes.Size = New System.Drawing.Size(120, 24)
        Me.rdoNotes.TabIndex = 2
        Me.rdoNotes.Text = "Check Notes DB"
        '
        'rdoToDo
        '
        Me.rdoToDo.Location = New System.Drawing.Point(136, 96)
        Me.rdoToDo.Name = "rdoToDo"
        Me.rdoToDo.Size = New System.Drawing.Size(120, 24)
        Me.rdoToDo.TabIndex = 2
        Me.rdoToDo.Text = "Check ToDo's DB"
        '
        '_SSTab1_TabPage2
        '
        Me._SSTab1_TabPage2.Controls.Add(Me.fraUserInfo)
        Me._SSTab1_TabPage2.Controls.Add(Me.fraHostInfo)
        Me._SSTab1_TabPage2.Controls.Add(Me.fraTestLogin)
        Me._SSTab1_TabPage2.Location = New System.Drawing.Point(4, 22)
        Me._SSTab1_TabPage2.Name = "_SSTab1_TabPage2"
        Me._SSTab1_TabPage2.Size = New System.Drawing.Size(442, 454)
        Me._SSTab1_TabPage2.TabIndex = 1
        Me._SSTab1_TabPage2.Text = "Host/User"
        '
        'fraUserInfo
        '
        Me.fraUserInfo.BackColor = System.Drawing.SystemColors.Control
        Me.fraUserInfo.Controls.Add(Me.lblDomain)
        Me.fraUserInfo.Controls.Add(Me.txtDomain)
        Me.fraUserInfo.Controls.Add(Me.picUserInfo)
        Me.fraUserInfo.Controls.Add(Me.txtUsername)
        Me.fraUserInfo.Controls.Add(Me.txtPassword)
        Me.fraUserInfo.Controls.Add(Me.chkSavePassword)
        Me.fraUserInfo.Controls.Add(Me.Label1)
        Me.fraUserInfo.Controls.Add(Me.Label2)
        Me.fraUserInfo.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraUserInfo.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraUserInfo.Location = New System.Drawing.Point(8, 16)
        Me.fraUserInfo.Name = "fraUserInfo"
        Me.fraUserInfo.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraUserInfo.Size = New System.Drawing.Size(424, 128)
        Me.fraUserInfo.TabIndex = 2
        Me.fraUserInfo.TabStop = False
        Me.fraUserInfo.Text = "User Information"
        '
        'lblDomain
        '
        Me.lblDomain.Location = New System.Drawing.Point(84, 96)
        Me.lblDomain.Name = "lblDomain"
        Me.lblDomain.Size = New System.Drawing.Size(112, 16)
        Me.lblDomain.TabIndex = 10
        Me.lblDomain.Text = "Domain:"
        Me.lblDomain.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'txtDomain
        '
        Me.txtDomain.Location = New System.Drawing.Point(200, 96)
        Me.txtDomain.Name = "txtDomain"
        Me.txtDomain.Size = New System.Drawing.Size(192, 20)
        Me.txtDomain.TabIndex = 4
        Me.txtDomain.Text = ""
        '
        'picUserInfo
        '
        Me.picUserInfo.Image = CType(resources.GetObject("picUserInfo.Image"), System.Drawing.Image)
        Me.picUserInfo.Location = New System.Drawing.Point(16, 16)
        Me.picUserInfo.Name = "picUserInfo"
        Me.picUserInfo.Size = New System.Drawing.Size(64, 64)
        Me.picUserInfo.TabIndex = 8
        Me.picUserInfo.TabStop = False
        '
        'txtUsername
        '
        Me.txtUsername.AcceptsReturn = True
        Me.txtUsername.AutoSize = False
        Me.txtUsername.BackColor = System.Drawing.SystemColors.Window
        Me.txtUsername.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtUsername.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtUsername.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtUsername.Location = New System.Drawing.Point(200, 24)
        Me.txtUsername.MaxLength = 0
        Me.txtUsername.Name = "txtUsername"
        Me.txtUsername.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtUsername.Size = New System.Drawing.Size(192, 19)
        Me.txtUsername.TabIndex = 1
        Me.txtUsername.Text = ""
        '
        'txtPassword
        '
        Me.txtPassword.AcceptsReturn = True
        Me.txtPassword.AutoSize = False
        Me.txtPassword.BackColor = System.Drawing.SystemColors.Window
        Me.txtPassword.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtPassword.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtPassword.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtPassword.Location = New System.Drawing.Point(200, 48)
        Me.txtPassword.MaxLength = 0
        Me.txtPassword.Name = "txtPassword"
        Me.txtPassword.PasswordChar = Microsoft.VisualBasic.ChrW(42)
        Me.txtPassword.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtPassword.Size = New System.Drawing.Size(192, 19)
        Me.txtPassword.TabIndex = 2
        Me.txtPassword.Text = ""
        '
        'chkSavePassword
        '
        Me.chkSavePassword.BackColor = System.Drawing.SystemColors.Control
        Me.chkSavePassword.Cursor = System.Windows.Forms.Cursors.Default
        Me.chkSavePassword.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chkSavePassword.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkSavePassword.Location = New System.Drawing.Point(200, 72)
        Me.chkSavePassword.Name = "chkSavePassword"
        Me.chkSavePassword.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chkSavePassword.Size = New System.Drawing.Size(137, 17)
        Me.chkSavePassword.TabIndex = 3
        Me.chkSavePassword.Text = "Save Password"
        '
        'Label1
        '
        Me.Label1.BackColor = System.Drawing.SystemColors.Control
        Me.Label1.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label1.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.Location = New System.Drawing.Point(84, 25)
        Me.Label1.Name = "Label1"
        Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label1.Size = New System.Drawing.Size(112, 17)
        Me.Label1.TabIndex = 7
        Me.Label1.Text = "Username:"
        Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'Label2
        '
        Me.Label2.BackColor = System.Drawing.SystemColors.Control
        Me.Label2.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label2.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label2.Location = New System.Drawing.Point(88, 48)
        Me.Label2.Name = "Label2"
        Me.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label2.Size = New System.Drawing.Size(104, 17)
        Me.Label2.TabIndex = 6
        Me.Label2.Text = "Password:"
        Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'fraHostInfo
        '
        Me.fraHostInfo.BackColor = System.Drawing.SystemColors.Control
        Me.fraHostInfo.Controls.Add(Me.picSSL)
        Me.fraHostInfo.Controls.Add(Me.lblSSLHelp)
        Me.fraHostInfo.Controls.Add(Me.chkUseSSL)
        Me.fraHostInfo.Controls.Add(Me.numPort)
        Me.fraHostInfo.Controls.Add(Me.Label3)
        Me.fraHostInfo.Controls.Add(Me.picHostInfo)
        Me.fraHostInfo.Controls.Add(Me.txtURI)
        Me.fraHostInfo.Controls.Add(Me.txtHostname)
        Me.fraHostInfo.Controls.Add(Me.lblURIHelp)
        Me.fraHostInfo.Controls.Add(Me.Label5)
        Me.fraHostInfo.Controls.Add(Me.lblURL)
        Me.fraHostInfo.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraHostInfo.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraHostInfo.Location = New System.Drawing.Point(8, 152)
        Me.fraHostInfo.Name = "fraHostInfo"
        Me.fraHostInfo.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraHostInfo.Size = New System.Drawing.Size(424, 160)
        Me.fraHostInfo.TabIndex = 24
        Me.fraHostInfo.TabStop = False
        Me.fraHostInfo.Text = "Host Infomation"
        '
        'picSSL
        '
        Me.picSSL.Image = CType(resources.GetObject("picSSL.Image"), System.Drawing.Image)
        Me.picSSL.Location = New System.Drawing.Point(104, 128)
        Me.picSSL.Name = "picSSL"
        Me.picSSL.Size = New System.Drawing.Size(24, 24)
        Me.picSSL.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.picSSL.TabIndex = 48
        Me.picSSL.TabStop = False
        '
        'lblSSLHelp
        '
        Me.lblSSLHelp.Location = New System.Drawing.Point(136, 128)
        Me.lblSSLHelp.Name = "lblSSLHelp"
        Me.lblSSLHelp.Size = New System.Drawing.Size(272, 24)
        Me.lblSSLHelp.TabIndex = 47
        Me.lblSSLHelp.Text = "Please note that SSL only works with trusted websites. Read the manual for more d" & _
        "etails about the subject"
        '
        'chkUseSSL
        '
        Me.chkUseSSL.Location = New System.Drawing.Point(208, 40)
        Me.chkUseSSL.Name = "chkUseSSL"
        Me.chkUseSSL.Size = New System.Drawing.Size(176, 24)
        Me.chkUseSSL.TabIndex = 46
        Me.chkUseSSL.Text = "Use SSL/Secure"
        '
        'numPort
        '
        Me.numPort.Location = New System.Drawing.Point(136, 40)
        Me.numPort.Maximum = New Decimal(New Integer() {65535, 0, 0, 0})
        Me.numPort.Name = "numPort"
        Me.numPort.Size = New System.Drawing.Size(64, 20)
        Me.numPort.TabIndex = 6
        '
        'Label3
        '
        Me.Label3.BackColor = System.Drawing.SystemColors.Control
        Me.Label3.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label3.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label3.Location = New System.Drawing.Point(72, 16)
        Me.Label3.Name = "Label3"
        Me.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label3.Size = New System.Drawing.Size(57, 17)
        Me.Label3.TabIndex = 28
        Me.Label3.Text = "Hostname:"
        Me.Label3.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'picHostInfo
        '
        Me.picHostInfo.Image = CType(resources.GetObject("picHostInfo.Image"), System.Drawing.Image)
        Me.picHostInfo.Location = New System.Drawing.Point(16, 24)
        Me.picHostInfo.Name = "picHostInfo"
        Me.picHostInfo.Size = New System.Drawing.Size(64, 64)
        Me.picHostInfo.TabIndex = 45
        Me.picHostInfo.TabStop = False
        '
        'txtURI
        '
        Me.txtURI.AcceptsReturn = True
        Me.txtURI.AutoSize = False
        Me.txtURI.BackColor = System.Drawing.SystemColors.Window
        Me.txtURI.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtURI.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtURI.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtURI.Location = New System.Drawing.Point(136, 64)
        Me.txtURI.MaxLength = 0
        Me.txtURI.Name = "txtURI"
        Me.txtURI.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtURI.Size = New System.Drawing.Size(256, 19)
        Me.txtURI.TabIndex = 7
        Me.txtURI.Text = ""
        '
        'txtHostname
        '
        Me.txtHostname.AcceptsReturn = True
        Me.txtHostname.AutoSize = False
        Me.txtHostname.BackColor = System.Drawing.SystemColors.Window
        Me.txtHostname.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtHostname.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtHostname.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtHostname.Location = New System.Drawing.Point(136, 16)
        Me.txtHostname.MaxLength = 0
        Me.txtHostname.Name = "txtHostname"
        Me.txtHostname.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtHostname.Size = New System.Drawing.Size(256, 19)
        Me.txtHostname.TabIndex = 5
        Me.txtHostname.Text = ""
        '
        'lblURIHelp
        '
        Me.lblURIHelp.BackColor = System.Drawing.SystemColors.Control
        Me.lblURIHelp.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblURIHelp.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblURIHelp.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblURIHelp.Location = New System.Drawing.Point(136, 88)
        Me.lblURIHelp.Name = "lblURIHelp"
        Me.lblURIHelp.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblURIHelp.Size = New System.Drawing.Size(272, 27)
        Me.lblURIHelp.TabIndex = 32
        Me.lblURIHelp.Text = "This would be /egroupware/xmlrpc.php for a default eGroupware install"
        '
        'Label5
        '
        Me.Label5.BackColor = System.Drawing.SystemColors.Control
        Me.Label5.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label5.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label5.Location = New System.Drawing.Point(88, 40)
        Me.Label5.Name = "Label5"
        Me.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label5.Size = New System.Drawing.Size(41, 17)
        Me.Label5.TabIndex = 30
        Me.Label5.Text = "Port:"
        Me.Label5.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'lblURL
        '
        Me.lblURL.BackColor = System.Drawing.SystemColors.Control
        Me.lblURL.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblURL.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblURL.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblURL.Location = New System.Drawing.Point(96, 64)
        Me.lblURL.Name = "lblURL"
        Me.lblURL.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblURL.Size = New System.Drawing.Size(33, 17)
        Me.lblURL.TabIndex = 29
        Me.lblURL.Text = "URI:"
        Me.lblURL.TextAlign = System.Drawing.ContentAlignment.TopRight
        '
        'fraTestLogin
        '
        Me.fraTestLogin.BackColor = System.Drawing.SystemColors.Control
        Me.fraTestLogin.Controls.Add(Me.Label4)
        Me.fraTestLogin.Controls.Add(Me.lblTestLoginWillSave)
        Me.fraTestLogin.Controls.Add(Me.picTestLogin)
        Me.fraTestLogin.Controls.Add(Me.cmdTestLogin)
        Me.fraTestLogin.Controls.Add(Me.lblTestLogout)
        Me.fraTestLogin.Controls.Add(Me.lblTestLogin)
        Me.fraTestLogin.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.fraTestLogin.ForeColor = System.Drawing.SystemColors.ControlText
        Me.fraTestLogin.Location = New System.Drawing.Point(8, 320)
        Me.fraTestLogin.Name = "fraTestLogin"
        Me.fraTestLogin.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.fraTestLogin.Size = New System.Drawing.Size(424, 96)
        Me.fraTestLogin.TabIndex = 33
        Me.fraTestLogin.TabStop = False
        Me.fraTestLogin.Text = "Test Login"
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(176, 16)
        Me.Label4.Name = "Label4"
        Me.Label4.TabIndex = 39
        Me.Label4.Text = "Progress:"
        Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'lblTestLoginWillSave
        '
        Me.lblTestLoginWillSave.Location = New System.Drawing.Point(128, 56)
        Me.lblTestLoginWillSave.Name = "lblTestLoginWillSave"
        Me.lblTestLoginWillSave.Size = New System.Drawing.Size(120, 32)
        Me.lblTestLoginWillSave.TabIndex = 38
        Me.lblTestLoginWillSave.Text = "Note: Testing login will save all settings made"
        '
        'picTestLogin
        '
        Me.picTestLogin.Image = CType(resources.GetObject("picTestLogin.Image"), System.Drawing.Image)
        Me.picTestLogin.Location = New System.Drawing.Point(16, 24)
        Me.picTestLogin.Name = "picTestLogin"
        Me.picTestLogin.Size = New System.Drawing.Size(80, 64)
        Me.picTestLogin.TabIndex = 37
        Me.picTestLogin.TabStop = False
        '
        'cmdTestLogin
        '
        Me.cmdTestLogin.BackColor = System.Drawing.SystemColors.Control
        Me.cmdTestLogin.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdTestLogin.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdTestLogin.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdTestLogin.Location = New System.Drawing.Point(296, 56)
        Me.cmdTestLogin.Name = "cmdTestLogin"
        Me.cmdTestLogin.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdTestLogin.Size = New System.Drawing.Size(81, 25)
        Me.cmdTestLogin.TabIndex = 8
        Me.cmdTestLogin.Text = "Test Login"
        '
        'lblTestLogout
        '
        Me.lblTestLogout.BackColor = System.Drawing.SystemColors.Control
        Me.lblTestLogout.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblTestLogout.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblTestLogout.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblTestLogout.Location = New System.Drawing.Point(264, 32)
        Me.lblTestLogout.Name = "lblTestLogout"
        Me.lblTestLogout.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblTestLogout.Size = New System.Drawing.Size(145, 17)
        Me.lblTestLogout.TabIndex = 36
        Me.lblTestLogout.Text = "No logout test done yet"
        Me.lblTestLogout.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'lblTestLogin
        '
        Me.lblTestLogin.BackColor = System.Drawing.SystemColors.Control
        Me.lblTestLogin.Cursor = System.Windows.Forms.Cursors.Default
        Me.lblTestLogin.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.lblTestLogin.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lblTestLogin.Location = New System.Drawing.Point(264, 16)
        Me.lblTestLogin.Name = "lblTestLogin"
        Me.lblTestLogin.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.lblTestLogin.Size = New System.Drawing.Size(145, 17)
        Me.lblTestLogin.TabIndex = 34
        Me.lblTestLogin.Text = "No login test done yet"
        Me.lblTestLogin.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        'cmdOK
        '
        Me.cmdOK.BackColor = System.Drawing.SystemColors.Control
        Me.cmdOK.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdOK.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdOK.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdOK.Image = CType(resources.GetObject("cmdOK.Image"), System.Drawing.Image)
        Me.cmdOK.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
        Me.cmdOK.Location = New System.Drawing.Point(184, 488)
        Me.cmdOK.Name = "cmdOK"
        Me.cmdOK.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdOK.Size = New System.Drawing.Size(81, 25)
        Me.cmdOK.TabIndex = 100
        Me.cmdOK.Text = "&OK"
        '
        'errProvider
        '
        Me.errProvider.ContainerControl = Me
        '
        'dlgSave
        '
        Me.dlgSave.Filter = "Log Files (*.log, *.txt) | *.log; *.txt |All Files (*.*)| *.*"
        '
        'frmSettings
        '
        Me.AcceptButton = Me.cmdOK
        Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
        Me.BackColor = System.Drawing.SystemColors.Control
        Me.CancelButton = Me.cmdCancel
        Me.ClientSize = New System.Drawing.Size(450, 519)
        Me.Controls.Add(Me.cmdApply)
        Me.Controls.Add(Me.cmdCancel)
        Me.Controls.Add(Me.SSTab1)
        Me.Controls.Add(Me.cmdOK)
        Me.Cursor = System.Windows.Forms.Cursors.Default
        Me.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.Location = New System.Drawing.Point(3, 22)
        Me.MaximizeBox = False
        Me.Name = "frmSettings"
        Me.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Text = "eGWOSync - Settings"
        Me.SSTab1.ResumeLayout(False)
        Me._SSTab1_TabPage0.ResumeLayout(False)
        Me.fraHaltCriticalErr.ResumeLayout(False)
        Me.fraCheckNewVersion.ResumeLayout(False)
        Me.fraShow.ResumeLayout(False)
        Me.fraGuide.ResumeLayout(False)
        Me._SSTab1_TabPage1.ResumeLayout(False)
        Me.fraSaveDB.ResumeLayout(False)
        Me.fraCheckTime.ResumeLayout(False)
        Me.fraDeletion.ResumeLayout(False)
        Me.fraOverwrite.ResumeLayout(False)
        Me.tabAutoSync.ResumeLayout(False)
        Me.fraSyncStartup.ResumeLayout(False)
        Me.frmAutoSync.ResumeLayout(False)
        CType(Me.numAutoInterval, System.ComponentModel.ISupportInitialize).EndInit()
        Me._SSTab1_TabPage3.ResumeLayout(False)
        Me.fraLogLevel.ResumeLayout(False)
        CType(Me.trbLogLevel, System.ComponentModel.ISupportInitialize).EndInit()
        Me.fraNormalLog.ResumeLayout(False)
        Me.fraXMLLog.ResumeLayout(False)
        Me._SSTab1_TabPage4.ResumeLayout(False)
        Me.fraCheckoFolder.ResumeLayout(False)
        Me.fraDBCheck.ResumeLayout(False)
        Me._SSTab1_TabPage2.ResumeLayout(False)
        Me.fraUserInfo.ResumeLayout(False)
        Me.fraHostInfo.ResumeLayout(False)
        CType(Me.numPort, System.ComponentModel.ISupportInitialize).EndInit()
        Me.fraTestLogin.ResumeLayout(False)
        Me.ResumeLayout(False)

    End Sub
#End Region
#Region "Upgrade Support "
    Private Shared m_vb6FormDefInstance As frmSettings
    Private Shared m_InitializingDefInstance As Boolean
    Public Shared Property DefInstance() As frmSettings
        Get
            If m_vb6FormDefInstance Is Nothing OrElse m_vb6FormDefInstance.IsDisposed Then
                m_InitializingDefInstance = True
                m_vb6FormDefInstance = New frmSettings
                m_InitializingDefInstance = False
            End If
            DefInstance = m_vb6FormDefInstance
        End Get
        Set(ByVal Value As frmSettings)
            m_vb6FormDefInstance = Value
        End Set
    End Property
#End Region

    Dim mbolDirty As Boolean

    Private Sub cboTimeZone_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs)
        Call SetDirty()
    End Sub

    Private Sub chkFirstTime_CheckedChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkFirstTime.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkSaveLog_CheckedChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkSaveLog.CheckedChanged
        Call ActivateNormalLog((Me.chkSaveLog.Checked))
        Call SetDirty()
    End Sub

    Private Sub ActivateNormalLog(ByRef pbolEnabled As Boolean)
        If pbolEnabled Then
            With Me
                .fraNormalLog.Enabled = True
                .lblLogPath.Enabled = True
                .txtLogPath.BackColor = System.Drawing.ColorTranslator.FromOle(&H80000009)
                .txtLogPath.Enabled = True
                .cmdLogBrowse.Enabled = True
                .cmdLogDel.Enabled = True
            End With
        Else
            With Me
                .fraNormalLog.Enabled = False
                .lblLogPath.Enabled = False
                .txtLogPath.BackColor = System.Drawing.ColorTranslator.FromOle(&H8000000F)
                .txtLogPath.Enabled = False
                .cmdLogBrowse.Enabled = False
                .cmdLogDel.Enabled = False
            End With
        End If

    End Sub

    Private Sub chkSaveLogXML_CheckedChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkSaveLogXML.CheckedChanged
        Call SetDirty()
        Call ActivateXMLLog((Me.chkSaveLogXML.Checked))
    End Sub

    Private Sub ActivateXMLLog(ByRef pbolEnabled As Boolean)
        If pbolEnabled Then
            With Me
                .fraXMLLog.Enabled = True
                .lblPathXML.Enabled = True
                .txtLogPathXML.Enabled = True
                .txtLogPathXML.BackColor = System.Drawing.ColorTranslator.FromOle(&H80000009)
                .lblXMLWarning.Enabled = True
                .cmdXMLBrowse.Enabled = True
                .cmdLogDelXML.Enabled = True
            End With
        Else
            With Me
                .fraXMLLog.Enabled = False
                .lblPathXML.Enabled = False
                .txtLogPathXML.Enabled = False
                .txtLogPathXML.BackColor = System.Drawing.ColorTranslator.FromOle(&H8000000F)
                .lblXMLWarning.Enabled = False
                .cmdXMLBrowse.Enabled = False
                .cmdLogDelXML.Enabled = False
            End With
        End If
    End Sub

    Private Sub cmdApply_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdApply.Click
        Call SaveSettings()
        mbolDirty = False
        Me.cmdApply.Enabled = False
    End Sub

    Private Sub cmdCancel_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdCancel.Click
        Call Me.Close()
    End Sub

    Private Sub cmdLogBrowse_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdLogBrowse.Click
        Me.dlgSave.Title = "Select path and filename"
        Me.dlgSave.FileName = Me.txtLogPath.Text
        Me.dlgSave.ShowDialog()
        Me.txtLogPath.Text = Me.dlgSave.FileName
    End Sub

    Private Sub cmdLogDel_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdLogDel.Click
        Dim fsoFile As New Scripting.FileSystemObject

        If fsoFile.FileExists(Me.txtLogPath.Text) Then
            Call fsoFile.DeleteFile(Me.txtLogPath.Text)
        End If
        fsoFile = Nothing
    End Sub

    Private Sub cmdLogDelXML_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdLogDelXML.Click
        Dim fsoFile As New Scripting.FileSystemObject

        If fsoFile.FileExists(Me.txtLogPathXML.Text) Then
            Call fsoFile.DeleteFile(Me.txtLogPathXML.Text)
        End If
        fsoFile = Nothing
    End Sub

    Private Sub cmdOK_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdOK.Click
        Call SaveSettings()
        Call Me.Close()
    End Sub

    Private Sub SaveSettings()

        Dim dp As New clsDataProtection(Application.ProductName)
        With gSettings

            ' ************* General TAB ***************
            .StartupShowLog = Me.chkShowLog.Checked
            .NotFirstTime = Me.chkFirstTime.Checked
            .CheckForNewVersion = Me.chkNewVersion.Checked
            .HaltOnCriticalErr = Me.chkErrHalt.Checked

            ' ************* Sync TAB ****************
            .DeleteAllways = Me.optDelAllways.Checked
            .DeleteAskUser = Me.optDelAskUser.Checked
            .DeleteNever = Me.optDelNever.Checked
            .OverwriteAskUser = Me.optOverwriteAsk.Checked
            .OverwriteeGW = Me.optOverwriteeGW.Checked
            .OverwriteOutlook = Me.optOverwriteOutlook.Checked
            .CheckServerTime = Me.cboCheckTime.Checked
            .SaveDB = Me.chkSaveDB.Checked

            ' ************* Host/User TAB ***************
            .Username = Me.txtUsername.Text
            If Me.chkSavePassword.Checked Then
                .Password = Me.txtPassword.Text
            Else
                .Password = ""
            End If

            .URI = Me.txtURI.Text
            .Hostname = Me.txtHostname.Text
            .Port = numPort.Text
            .SavePassword = Me.chkSavePassword.Checked
            .Domain = Me.txtDomain.Text
            .UseSSL = Me.chkUseSSL.Checked

            ' ************* Logging TAB ***************
            .SaveLog = Me.chkSaveLog.Checked
            .LogPath = Me.txtLogPath.Text
            .SaveXMLLog = Me.chkSaveLogXML.Checked
            .XMLLogPath = Me.txtLogPathXML.Text
            .LogLevel = Me.trbLogLevel.Value


            ' ************* Auto Sync TAB ***************
            .AutoSync = Me.chkAutoEnable.Checked
            .AutoSyncCalendar = Me.chkAutoCal.Checked
            .AutoSyncContact = Me.chkAutoCon.Checked
            .AutoSyncNotes = Me.chkAutoNote.Checked
            .AutoSyncToDo = Me.chkAutoToDo.Checked
            .AutoSyncInterval = Me.numAutoInterval.Value
            .StartSync = Me.chkStartEnable.Checked
            .StartSyncCalendar = Me.chkStartCal.Checked
            .StartSyncContact = Me.chkStartcon.Checked
            .StartSyncNotes = Me.ChkStartNote.Checked
            .StartSyncToDo = Me.ChkStartNote.Checked


            .Serialize(gstrSettingsPath, gSettings)
        End With

    End Sub

    Private Sub GetSettings()

        With gSettings



            ' ************* General TAB ***************
            Me.chkShowLog.Checked = .StartupShowLog
            Me.chkFirstTime.Checked = .NotFirstTime
            Me.chkNewVersion.Checked = .CheckForNewVersion
            Me.chkErrHalt.Checked = .HaltOnCriticalErr

            ' **************** Sync TAB ****************
            Me.optDelAllways.Checked = .DeleteAllways
            Me.optDelAskUser.Checked = .DeleteAskUser
            Me.optDelNever.Checked = .DeleteNever
            Me.optOverwriteAsk.Checked = .OverwriteAskUser
            Me.optOverwriteeGW.Checked = .OverwriteeGW
            Me.optOverwriteOutlook.Checked = .OverwriteOutlook
            Me.cboCheckTime.Checked = .CheckServerTime
            Me.chkSaveDB.Checked = .SaveDB

            ' ************* Host/User TAB ***************
            Me.txtUsername.Text = .Username
            Me.chkSavePassword.Checked = .SavePassword
            If Me.chkSavePassword.Checked Then
                Me.txtPassword.Text = .Password
            End If
            Me.txtURI.Text = .URI
            Me.txtHostname.Text = .Hostname
            Me.numPort.Text = .Port
            Me.txtDomain.Text = .Domain
            Me.chkUseSSL.Checked = .UseSSL

            ' ************* Logging TAB ***************

            Me.chkSaveLog.Checked = .SaveLog
            Me.txtLogPath.Text = .LogPath
            Me.chkSaveLogXML.Checked = .SaveXMLLog
            Me.txtLogPathXML.Text = .XMLLogPath
            Me.trbLogLevel.Value = .LogLevel

            Call SetLogLevel() 'make sure its right :-)

            ' ************* Auto Sync TAB ***************
            Me.chkAutoEnable.Checked = .AutoSync
            Me.chkAutoCal.Checked = .AutoSyncCalendar
            Me.chkAutoCon.Checked = .AutoSyncContact
            Me.chkAutoNote.Checked = .AutoSyncNotes
            Me.chkAutoToDo.Checked = .AutoSyncToDo
            Me.numAutoInterval.Value = .AutoSyncInterval

            Me.chkStartEnable.Checked = .StartSync
            Me.chkStartCal.Checked = .StartSyncCalendar
            Me.chkStartcon.Checked = .StartSyncContact
            Me.ChkStartNote.Checked = .StartSyncNotes
            Me.chkStartToDo.Checked = .StartSyncToDo

            Call AutoSyncChkEnable() 'make sure that frames are enabled/disabled correct on load.


        End With

    End Sub

    Private Sub cmdRunFirstTime_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdRunFirstTime.Click
        frmFirstTime1.DefInstance.Show()
        Call Me.Close()
    End Sub

    Private Sub cmdTestLogin_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdTestLogin.Click

        Dim sysLogin As New clsLogin
        Call SaveSettings()
        Me.cmdApply.Enabled = False


        Me.lblTestLogin.Text = "Logging in.. "
        Me.lblTestLogout.Text = "No logout test done yet"

        If sysLogin.Login Then
            Me.lblTestLogin.Text = Me.lblTestLogin.Text & "Success!"
            Me.lblTestLogout.Text = "Logging out.. "

            If sysLogin.Logout() Then
                Me.lblTestLogout.Text = Me.lblTestLogout.Text & "Success!"
            Else
                Me.lblTestLogout.Text = Me.lblTestLogout.Text & "Failed!"
            End If
        Else
            Me.lblTestLogin.Text = Me.lblTestLogin.Text & "Failed!"
        End If
    End Sub

    Private Sub cmdXMLBrowse_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdXMLBrowse.Click
        Me.dlgSave.Title = "Select path and filename"
        Me.dlgSave.FileName = Me.txtLogPathXML.Text
        'Me.dlgSave.Filter = "(*.LOG, *.TXT) | *.log, *.txt |(*.*)| *.*"
        Me.dlgSave.ShowDialog()
        Me.txtLogPathXML.Text = Me.dlgSave.FileName
    End Sub

    Private Sub frmSettings_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
        Call gSettings.GetPlace(Me)
        Call GetSettings()
        Call ActivateNormalLog((Me.chkSaveLog.Checked))
        Call ActivateXMLLog((Me.chkSaveLogXML.Checked))
        Call EnableUtilities(Me.chkEnableUtils.Checked)


        mbolDirty = False 'Just to make the apply button, disabled to start with.
        Me.cmdApply.Enabled = False
    End Sub


    Private Sub trbLogLevel_Scroll(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles trbLogLevel.Scroll
        Call SetLogLevel()
        Call SetDirty()
    End Sub

    Private Sub SetLogLevel()
        Select Case Me.trbLogLevel.Value
            Case 0
                Me.lblLoglevel.Text = "Log Level: Nothing"
                Me.lblLogLevelInfo.Text = "Nothing will be logged, you will not be able to see any faults or information on the progress"

            Case 1
                Me.lblLoglevel.Text = "Log Level: Critical"
                Me.lblLogLevelInfo.Text = "This will only log absolute critical warnings. If you see critical warnings in the log, the sync has failed somehow and you should examine your Outlook and eGroupware systems for inconsistency"
            Case 2
                Me.lblLoglevel.Text = "Log Level: Warnings"
                Me.lblLogLevelInfo.Text = "This will only log non critical warnings and you will not be able to see the any information on the progress"
            Case 3
                Me.lblLoglevel.Text = "Log Level: Info"
                Me.lblLogLevelInfo.Text = "This is the recomended log level, this will log progress information and warnings"
            Case 4
                Me.lblLoglevel.Text = "Log Level: Debug"
                Me.lblLogLevelInfo.Text = "This is ment for debugging only, it will produse a lot of information on the progress as well as the underlying engine progress."
        End Select
    End Sub

    Private Sub AutoSyncChkEnable()
        Me.frmAutoSync.Enabled = Me.chkAutoEnable.Checked
        Me.fraSyncStartup.Enabled = Me.chkStartEnable.Checked
    End Sub

    Private Sub cmdNewVersion_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdNewVersion.Click
        If Not CheckForNewVersion() Then
            MsgBox(gstrNewVerNoneAvailable, MsgBoxStyle.Information, gstrNewVerNoneAvailableTitle)
        End If
    End Sub

#Region " SetDirty Properties "


    Private Sub chkAutoCal_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkAutoCal.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkAutoCon_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkAutoCon.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkAutoToDo_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkAutoToDo.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkAutoNote_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkAutoNote.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub numAutoInterval_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles numAutoInterval.ValueChanged
        Call SetDirty()
    End Sub

    Private Sub chkAutoEnable_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkAutoEnable.CheckedChanged
        Call SetDirty()
        Call EnableAutoSync(Me.chkAutoEnable.Checked)
    End Sub

    Private Sub chkStartEnable_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkStartEnable.CheckedChanged
        Call SetDirty()
        Call EnableStartupSync(Me.chkStartEnable.Checked)
    End Sub

    Private Sub numAutoInterval_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles numAutoInterval.KeyPress
        Call SetDirty()
    End Sub

    Private Sub chkStartCal_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkStartCal.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkStartcon_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkStartcon.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkStartToDo_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkStartToDo.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub ChkStartNote_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChkStartNote.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkShowMain_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Call SetDirty()
    End Sub

    Private Sub chkShowLog_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkShowLog.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub SetDirty()
        mbolDirty = True
        Me.cmdApply.Enabled = True
    End Sub

    Private Sub chkSavePassword_CheckedChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles chkSavePassword.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub frmSettings_Closed(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Closed
        Call gSettings.SetPlaceAndSize(Me)
        Call gSettings.Serialize(gstrSettingsPath, gSettings)
    End Sub

    Private Sub txtHostname_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles txtHostname.TextChanged
        Call SetDirty()
    End Sub

    Private Sub txtLogPath_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles txtLogPath.TextChanged
        Call SetDirty()
    End Sub

    Private Sub txtLogPathXML_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles txtLogPathXML.TextChanged
        Call SetDirty()
    End Sub

    Private Sub txtPassword_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles txtPassword.TextChanged
        Call SetDirty()
    End Sub

    Private Sub chkUseSSL_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkUseSSL.CheckedChanged
        If Me.chkUseSSL.Checked Then
            Me.numPort.Text = 443
            'Me.numPort.Enabled = False
        Else
            Me.numPort.Text = 80
            'Me.numPort.Enabled = True
        End If

        Call SetDirty()
    End Sub

    Private Sub numPort_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles numPort.ValueChanged
        Call SetDirty()
    End Sub

    Private Sub numPort_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles numPort.KeyPress
        Call SetDirty()
    End Sub

    Private Sub txtURI_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles txtURI.TextChanged
        Call SetDirty()
    End Sub

    Private Sub txtUsername_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles txtUsername.TextChanged
        Call SetDirty()
    End Sub

    Private Sub txtDomain_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtDomain.TextChanged
        Call SetDirty()
    End Sub

    Private Sub optDelAskUser_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optDelAskUser.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub optDelNever_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optDelNever.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub optDelAllways_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optDelAllways.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub optOverwriteAsk_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optOverwriteAsk.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub optOverwriteeGW_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optOverwriteeGW.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub optOverwriteOutlook_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles optOverwriteOutlook.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub cboCheckTime_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboCheckTime.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkSaveDB_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkSaveDB.CheckedChanged
        Call SetDirty()
    End Sub

    Private Sub chkNewVersion_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkNewVersion.CheckedChanged
        Call SetDirty()
    End Sub
#End Region

#Region " errProvider Code "

    Private Sub txtUsername_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtUsername.LostFocus
        If Me.txtUsername.Text = "" Then
            errProvider.SetError(Me.txtUsername, "You need to supply a username!")
        Else
            errProvider.SetError(Me.txtUsername, "")
        End If
    End Sub

    Private Sub txtHostname_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtHostname.LostFocus
        If Me.txtHostname.Text = "" Then
            errProvider.SetError(Me.txtHostname, "You need to supply a hostname!")
        ElseIf LCase(Microsoft.VisualBasic.Left(Me.txtHostname.Text, 5)) = "https" Then
            errProvider.SetError(Me.txtHostname, "SSL do not work yet.. Sorry :-)")
        Else
            errProvider.SetError(Me.txtHostname, "")
        End If
    End Sub

    Private Sub txtURI_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtURI.LostFocus
        If Me.txtURI.Text = "" Then
            errProvider.SetError(Me.txtURI, "You must supply a URI!")
        Else
            errProvider.SetError(Me.txtURI, "")
        End If
    End Sub

    Private Sub txtLogPath_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtLogPath.LostFocus
        If Me.txtLogPath.Text = "" Then
            errProvider.SetError(Me.txtLogPath, "You must supply a path for the log file!")
        Else
            errProvider.SetError(Me.txtLogPath, "")
        End If
    End Sub

    Private Sub txtLogPathXML_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtLogPathXML.LostFocus
        If Me.txtLogPathXML.Text = "" Then
            errProvider.SetError(Me.txtLogPathXML, "You must supply a path for the xml log file!")
        Else
            errProvider.SetError(Me.txtLogPathXML, "")
        End If
    End Sub

    Private Sub numPort_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles numPort.LostFocus
        If Me.numPort.Text = "" Then
            errProvider.SetError(Me.numPort, "You need to supply a port!")
        ElseIf Me.numPort.Text > 65535 Or Me.numPort.Text = 0 Then
            errProvider.SetError(Me.numPort, "You must supply a valid port!")
        Else
            errProvider.SetError(Me.numPort, "")
        End If
    End Sub
#End Region


    Protected Overrides Sub Finalize()
        MyBase.Finalize()
    End Sub


    Private Sub cmdCheckDB_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCheckDB.Click

        Dim utils As New clsUtils(goApp)
        Dim intCount As Integer

        Me.lblDBResult.Text = ""

        If Me.rdoCalendar.Checked Then
            intCount = utils.dbCheck(Items.eGWBase.eGWItemType.eGWCalendar)
        ElseIf Me.rdoContacts.Checked Then
            intCount = utils.dbCheck(Items.eGWBase.eGWItemType.eGWContact)
        ElseIf Me.rdoToDo.Checked Then
            intCount = utils.dbCheck(Items.eGWBase.eGWItemType.eGWToDo)
        ElseIf Me.rdoNotes.Checked Then
            intCount = utils.dbCheck(Items.eGWBase.eGWItemType.eGWNote)
        End If

        If intCount = 0 Then
            Me.lblDBResult.Text = gstrSettingsDBCheckOK
        ElseIf intCount = -1 Then
            Me.lblDBResult.Text = ""
        Else
            Me.lblDBResult.Text = gstrSettingsDBCheckFixed & intCount
        End If

    End Sub

    Private Sub chkEnableUtils_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkEnableUtils.CheckedChanged
        Call EnableUtilities(Me.chkEnableUtils.Checked)

    End Sub

    Private Sub EnableUtilities(ByVal pbolEnable As Boolean)
        Me.fraDBCheck.Enabled = pbolEnable
        Me.fraCheckoFolder.Enabled = pbolEnable
    End Sub

    Private Sub EnableAutoSync(ByVal pbolEnable As Boolean)
        Me.frmAutoSync.Enabled = pbolEnable
    End Sub

    Private Sub EnableStartupSync(ByVal pbolEnable As Boolean)
        Me.fraSyncStartup.Enabled = pbolEnable
    End Sub

    Private Sub cmdCheckFolder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCheckFolder.Click
        Dim utils As New clsUtils(goApp)

        frmLog.DefInstance.Show()
        frmLog.DefInstance.Activate()

        If Me.rdooCalendar.Checked Then
            Dim Thread As New System.Threading.Thread(AddressOf utils.oCalendarCheck)
            Thread.Start()
        ElseIf Me.rdooContacts.Checked Then
            Dim Thread As New System.Threading.Thread(AddressOf utils.oContactsCheck)
            Thread.Start()
        ElseIf Me.rdooNotes.Checked Then
            Dim Thread As New System.Threading.Thread(AddressOf utils.oNotesCheck)
            Thread.Start()
        ElseIf Me.rdooToDos.Checked Then
            Dim Thread As New System.Threading.Thread(AddressOf utils.oTodoCheck)
            Thread.Start()
        End If
    End Sub


    Private Sub chkErrHalt_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles chkErrHalt.CheckedChanged
        Call SetDirty()
    End Sub
End Class
