From 30424fea80dd4be9b78b26a740899b3c66aae066 Mon Sep 17 00:00:00 2001
From: Kostis at kilo <ankostis@gmail.com>
Date: Wed, 8 Jan 2014 10:36:33 +0100
Subject: [PATCH] License under EUPL (latest) * Add LICENSE.txt file. * Add
 lic-header in all .vb files. * Add python script for adding lic-headers. *
 Add lic-header also in a powershell-script.

---
 LICENSE.txt                                  | 268 +++++++++++++++++++
 Tools/AddLic/addlicheader.py                 |  58 ++++
 Tools/AddLic/lic_vb.txt                      |  10 +
 Tools/TranslateComments/Get-FileEncoding.ps1 |  57 ++--
 VECTO/ApplicationEvents.vb                   |  12 +-
 VECTO/File Browser/FB_Dialog.designer.vb     |  12 +-
 VECTO/File Browser/FB_Dialog.vb              |  12 +-
 VECTO/File Browser/FB_FavDlog.designer.vb    |  12 +-
 VECTO/File Browser/FB_FavDlog.vb             |  12 +-
 VECTO/File Browser/FB_Global.vb              |  12 +-
 VECTO/File Browser/cFileBrowser.vb           |  12 +-
 VECTO/GUI/F_AboutBox.Designer.vb             |  12 +-
 VECTO/GUI/F_AboutBox.vb                      |  12 +-
 VECTO/GUI/F_ENG.Designer.vb                  |  12 +-
 VECTO/GUI/F_ENG.vb                           |  12 +-
 VECTO/GUI/F_FLD.Designer.vb                  |  12 +-
 VECTO/GUI/F_FLD.vb                           |  12 +-
 VECTO/GUI/F_FileSign.Designer.vb             |  12 +-
 VECTO/GUI/F_FileSign.vb                      |  12 +-
 VECTO/GUI/F_GBX.Designer.vb                  |  12 +-
 VECTO/GUI/F_GBX.vb                           |  12 +-
 VECTO/GUI/F_GEN.Designer.vb                  |  12 +-
 VECTO/GUI/F_GEN.vb                           |  12 +-
 VECTO/GUI/F_MAINForm.Designer.vb             |  12 +-
 VECTO/GUI/F_MAINForm.vb                      |  12 +-
 VECTO/GUI/F_Options.Designer.vb              |  12 +-
 VECTO/GUI/F_Options.vb                       |  12 +-
 VECTO/GUI/F_ShutDown.Designer.vb             |  12 +-
 VECTO/GUI/F_ShutDown.vb                      |  12 +-
 VECTO/GUI/F_StrInpBox.designer.vb            |  12 +-
 VECTO/GUI/F_StrInpBox.vb                     |  12 +-
 VECTO/GUI/F_VEH.Designer.vb                  |  12 +-
 VECTO/GUI/F_VEH.vb                           |  12 +-
 VECTO/GUI/F_VEH_AuxDlog.Designer.vb          |  12 +-
 VECTO/GUI/F_VEH_AuxDlog.vb                   |  12 +-
 VECTO/GUI/F_VEH_Axle.Designer.vb             |  12 +-
 VECTO/GUI/F_VEH_Axle.vb                      |  12 +-
 VECTO/GUI/F_VEH_GearDlog.Designer.vb         |  12 +-
 VECTO/GUI/F_VEH_GearDlog.vb                  |  12 +-
 VECTO/GUI/F_Welcome.Designer.vb              |  12 +-
 VECTO/GUI/F_Welcome.vb                       |  12 +-
 VECTO/GUI/GUI_Subs.vb                        |  12 +-
 VECTO/Input Files/cAux.vb                    |  12 +-
 VECTO/Input Files/cDRI.vb                    |  12 +-
 VECTO/Input Files/cEMO.vb                    |  12 +-
 VECTO/Input Files/cENG.vb                    |  12 +-
 VECTO/Input Files/cFLD.vb                    |  12 +-
 VECTO/Input Files/cGBX.vb                    |  12 +-
 VECTO/Input Files/cGEN.vb                    |  12 +-
 VECTO/Input Files/cMAP.vb                    |  12 +-
 VECTO/Input Files/cSubPath.vb                |  12 +-
 VECTO/Input Files/cTRS.vb                    |  12 +-
 VECTO/Input Files/cVEH.vb                    |  12 +-
 VECTO/MODcalc/Em Calc.vb                     |  12 +-
 VECTO/MODcalc/cBatModel.vb                   |  12 +-
 VECTO/MODcalc/cMOD.vb                        |  12 +-
 VECTO/MODcalc/cPower.vb                      |  12 +-
 VECTO/MODcalc/cVh.vb                         |  12 +-
 VECTO/M_FCCor.vb                             |  12 +-
 VECTO/M_Lese.vb                              |  12 +-
 VECTO/M_MAIN.vb                              |  12 +-
 VECTO/M_OptInterface.vb                      |  12 +-
 VECTO/M_SOC_Iter.vb                          |  12 +-
 VECTO/VECTO_Global.vb                        |  12 +-
 VECTO/VECTO_Types.vb                         |  12 +-
 VECTO/cConfig.vb                             |  12 +-
 VECTO/cCustomMap.vb                          |  12 +-
 VECTO/cCycleKin.vb                           |  12 +-
 VECTO/cDEV.vb                                |  12 +-
 VECTO/cDelaunayMap.vb                        |  12 +-
 VECTO/cERG.vb                                |  12 +-
 VECTO/cEmComp.vb                             |  12 +-
 VECTO/cFile V3.vb                            |  12 +-
 VECTO/cHEVctrl.vb                            |  12 +-
 VECTO/cJSONparser.vb                         |  12 +-
 VECTO/cRegression.vb                         |  12 +-
 VECTO/cVECTO.vb                              |  12 +-
 VECTO/cVSUM.vb                               |  12 +-
 78 files changed, 1184 insertions(+), 97 deletions(-)
 create mode 100644 LICENSE.txt
 create mode 100644 Tools/AddLic/addlicheader.py
 create mode 100644 Tools/AddLic/lic_vb.txt

diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000000..6fa8ce74cd
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,268 @@
+		   European Union Public Licence
+		            V. 1.1
+		EUPL © the European Community 2007
+
+This European Union Public Licence (the 'EUPL') applies to the Work or Software
+(as defined below) which is provided under the terms of this Licence. Any use of the
+Work, other than as authorised under this Licence is prohibited (to the extent such use
+is covered by a right of the copyright holder of the Work).
+
+The Original Work is provided under the terms of this Licence when the Licensor (as
+defined below) has placed the following notice immediately following the copyright
+notice for the Original Work:
+
+Licensed under the EUPL V.1.1
+
+or has expressed by any other mean his willingness to license under the EUPL.
+
+1. Definitions
+
+In this Licence, the following terms have the following meaning:
+
+- The Licence: this Licence.
+
+- The Original Work or the Software: the software distributed and/or communicated
+by the Licensor under this Licence, available as Source Code and also as Executable
+Code as the case may be.
+
+- Derivative Works: the works or software that could be created by the Licensee,
+based upon the Original Work or modifications thereof. This Licence does not define
+the extent of modification or dependence on the Original Work required in order to
+classify a work as a Derivative Work; this extent is determined by copyright law
+applicable in the country mentioned in Article 15.
+
+- The Work: the Original Work and/or its Derivative Works.
+
+- The Source Code: the human-readable form of the Work which is the most
+convenient for people to study and modify.
+
+- The Executable Code: any code which has generally been compiled and which is
+meant to be interpreted by a computer as a program.
+
+- The Licensor: the natural or legal person that distributes and/or communicates the
+Work under the Licence.
+
+- Contributor(s): any natural or legal person who modifies the Work under the
+Licence, or otherwise contributes to the creation of a Derivative Work.
+
+- The Licensee or 'You': any natural or legal person who makes any usage of the
+Software under the terms of the Licence.
+
+- Distribution and/or Communication: any act of selling, giving, lending, renting,
+distributing, communicating, transmitting, or otherwise making available, on-line or
+off-line, copies of the Work or providing access to its essential functionalities at the
+disposal of any other natural or legal person.
+
+2. Scope of the rights granted by the Licence
+
+The Licensor hereby grants You a world-wide, royalty-free, non-exclusive, sublicensable
+licence to do the following, for the duration of copyright vested in the
+Original Work:
+
+- use the Work in any circumstance and for all usage,
+- reproduce the Work,
+- modify the Original Work, and make Derivative Works based upon the Work,
+- communicate to the public, including the right to make available or display the
+Work or copies thereof to the public and perform publicly, as the case may be,
+the Work,
+- distribute the Work or copies thereof,
+- lend and rent the Work or copies thereof,
+- sub-license rights in the Work or copies thereof.
+
+Those rights can be exercised on any media, supports and formats, whether now
+known or later invented, as far as the applicable law permits so.
+
+In the countries where moral rights apply, the Licensor waives his right to exercise his
+moral right to the extent allowed by law in order to make effective the licence of the
+economic rights here above listed.
+
+The Licensor grants to the Licensee royalty-free, non exclusive usage rights to any
+patents held by the Licensor, to the extent necessary to make use of the rights granted
+on the Work under this Licence.
+
+3. Communication of the Source Code
+
+The Licensor may provide the Work either in its Source Code form, or as Executable
+Code. If the Work is provided as Executable Code, the Licensor provides in addition a
+machine-readable copy of the Source Code of the Work along with each copy of the
+Work that the Licensor distributes or indicates, in a notice following the copyright
+notice attached to the Work, a repository where the Source Code is easily and freely
+accessible for as long as the Licensor continues to distribute and/or communicate the
+Work.
+
+4. Limitations on copyright
+
+Nothing in this Licence is intended to deprive the Licensee of the benefits from any
+exception or limitation to the exclusive rights of the rights owners in the Original
+Work or Software, of the exhaustion of those rights or of other applicable limitations
+thereto.
+
+5. Obligations of the Licensee
+
+The grant of the rights mentioned above is subject to some restrictions and obligations
+imposed on the Licensee. Those obligations are the following:
+Attribution right: the Licensee shall keep intact all copyright, patent or trademarks
+notices and all notices that refer to the Licence and to the disclaimer of warranties.
+
+The Licensee must include a copy of such notices and a copy of the Licence with
+every copy of the Work he/she distributes and/or communicates. The Licensee must
+cause any Derivative Work to carry prominent notices stating that the Work has been
+modified and the date of modification.
+
+Copyleft clause: If the Licensee distributes and/or communicates copies of the
+Original Works or Derivative Works based upon the Original Work, this Distribution
+and/or Communication will be done under the terms of this Licence or of a later
+version of this Licence unless the Original Work is expressly distributed only under
+this version of the Licence. The Licensee (becoming Licensor) cannot offer or impose
+any additional terms or conditions on the Work or Derivative Work that alter or
+restrict the terms of the Licence.
+
+Compatibility clause: If the Licensee Distributes and/or Communicates Derivative
+Works or copies thereof based upon both the Original Work and another work
+licensed under a Compatible Licence, this Distribution and/or Communication can be
+done under the terms of this Compatible Licence. For the sake of this clause,
+'Compatible Licence' refers to the licences listed in the appendix attached to this
+Licence. Should the Licensee€™s obligations under the Compatible Licence conflict
+with his/her obligations under this Licence, the obligations of the Compatible Licence
+shall prevail.
+
+Provision of Source Code: When distributing and/or communicating copies of the
+Work, the Licensee will provide a machine-readable copy of the Source Code or
+indicate a repository where this Source will be easily and freely available for as long
+as the Licensee continues to distribute and/or communicate the Work.
+
+Legal Protection: This Licence does not grant permission to use the trade names,
+trademarks, service marks, or names of the Licensor, except as required for
+reasonable and customary use in describing the origin of the Work and reproducing
+the content of the copyright notice.
+
+6. Chain of Authorship
+
+The original Licensor warrants that the copyright in the Original Work granted
+hereunder is owned by him/her or licensed to him/her and that he/she has the power
+and authority to grant the Licence.
+
+Each Contributor warrants that the copyright in the modifications he/she brings to the
+Work are owned by him/her or licensed to him/her and that he/she has the power and
+authority to grant the Licence.
+
+Each time You accept the Licence, the original Licensor and subsequent Contributors
+grant You a licence to their contributions to the Work, under the terms of this
+Licence.
+
+7. Disclaimer of Warranty
+
+The Work is a work in progress, which is continuously improved by numerous
+contributors. It is not a finished work and may therefore contain defects or 'bugs'
+inherent to this type of software development.
+
+For the above reason, the Work is provided under the Licence on an 'as is' basis and
+without warranties of any kind concerning the Work, including without limitation
+merchantability, fitness for a particular purpose, absence of defects or errors,
+accuracy, non-infringement of intellectual property rights other than copyright as
+stated in Article 6 of this Licence.
+
+This disclaimer of warranty is an essential part of the Licence and a condition for the
+grant of any rights to the Work.
+
+8. Disclaimer of Liability
+
+Except in the cases of wilful misconduct or damages directly caused to natural
+persons, the Licensor will in no event be liable for any direct or indirect, material or
+moral, damages of any kind, arising out of the Licence or of the use of the Work,
+including without limitation, damages for loss of goodwill, work stoppage, computer
+failure or malfunction, loss of data or any commercial damage, even if the Licensor
+has been advised of the possibility of such damage. However, the Licensor will be
+liable under statutory product liability laws as far such laws apply to the Work.
+
+9. Additional agreements
+
+While distributing the Original Work or Derivative Works, You may choose to
+conclude an additional agreement to offer, and charge a fee for, acceptance of support,
+warranty, indemnity, or other liability obligations and/or services consistent with this
+Licence. However, in accepting such obligations, You may act only on your own
+behalf and on your sole responsibility, not on behalf of the original Licensor or any
+other Contributor, and only if You agree to indemnify, defend, and hold each
+Contributor harmless for any liability incurred by, or claims asserted against such
+Contributor by the fact You have accepted any such warranty or additional liability.
+
+10. Acceptance of the Licence
+
+The provisions of this Licence can be accepted by clicking on an icon 'I agree'
+placed under the bottom of a window displaying the text of this Licence or by
+affirming consent in any other similar way, in accordance with the rules of applicable
+law. Clicking on that icon indicates your clear and irrevocable acceptance of this
+Licence and all of its terms and conditions.
+
+Similarly, you irrevocably accept this Licence and all of its terms and conditions by
+exercising any rights granted to You by Article 2 of this Licence, such as the use of
+the Work, the creation by You of a Derivative Work or the Distribution and/or
+Communication by You of the Work or copies thereof.
+
+11. Information to the public
+
+In case of any Distribution and/or Communication of the Work by means of electronic
+communication by You (for example, by offering to download the Work from a
+remote location) the distribution channel or media (for example, a website) must at
+least provide to the public the information requested by the applicable law regarding
+the Licensor, the Licence and the way it may be accessible, concluded, stored and
+reproduced by the Licensee.
+
+12. Termination of the Licence
+
+The Licence and the rights granted hereunder will terminate automatically upon any
+breach by the Licensee of the terms of the Licence.
+Such a termination will not terminate the licences of any person who has received the
+Work from the Licensee under the Licence, provided such persons remain in full
+compliance with the Licence.
+
+13. Miscellaneous
+
+Without prejudice of Article 9 above, the Licence represents the complete agreement
+between the Parties as to the Work licensed hereunder.
+
+If any provision of the Licence is invalid or unenforceable under applicable law, this
+will not affect the validity or enforceability of the Licence as a whole. Such provision
+will be construed and/or reformed so as necessary to make it valid and enforceable.
+The European Commission may publish other linguistic versions and/or new versions
+of this Licence, so far this is required and reasonable, without reducing the scope of
+the rights granted by the Licence. New versions of the Licence will be published with
+a unique version number.
+
+All linguistic versions of this Licence, approved by the European Commission, have
+identical value. Parties can take advantage of the linguistic version of their choice.
+
+14. Jurisdiction
+
+Any litigation resulting from the interpretation of this License, arising between the
+European Commission, as a Licensor, and any Licensee, will be subject to the
+jurisdiction of the Court of Justice of the European Communities, as laid down in
+article 238 of the Treaty establishing the European Community.
+Any litigation arising between Parties, other than the European Commission, and
+resulting from the interpretation of this License, will be subject to the exclusive
+jurisdiction of the competent court where the Licensor resides or conducts its primary
+business.
+
+15. Applicable Law
+
+This Licence shall be governed by the law of the European Union country where the
+Licensor resides or has his registered office.
+
+This licence shall be governed by the Belgian law if:
+
+- a litigation arises between the European Commission, as a Licensor, and any
+Licensee;
+- the Licensor, other than the European Commission, has no residence or
+registered office inside a European Union country.
+
+===
+
+Appendix
+
+'Compatible Licences' according to article 5 EUPL are:
+
+- GNU General Public License (GNU GPL) v. 2
+- Open Software License (OSL) v. 2.1, v. 3.0
+- Common Public License v. 1.0
+- Eclipse Public License v. 1.0
+- Cecill v. 2.0
diff --git a/Tools/AddLic/addlicheader.py b/Tools/AddLic/addlicheader.py
new file mode 100644
index 0000000000..39da12271b
--- /dev/null
+++ b/Tools/AddLic/addlicheader.py
@@ -0,0 +1,58 @@
+# Copyright 2014 European Union.
+# Licensed under the EUPL (the 'Licence');
+#
+# * You may not use this work except in compliance with the Licence.
+# * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+# * Unless required by applicable law or agreed to in writing,
+#   software distributed under the Licence is distributed on an "AS IS" basis,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#
+# See the LICENSE.txt for the specific language governing permissions and limitations.
+
+import os
+import os.path
+import glob
+import sys
+
+def addLicenseHeader(path, lic, no_write=False):
+    for fname in glob.glob(path):
+
+        print('%s: ' % fname, end='')
+        txt = open(fname).read()
+
+
+        ## Remove BOM
+        #
+        if txt.startswith(u'\ufeff'):
+            print('BOM removed, ', end='')
+            txt = txt[1:]
+
+        line1 = lic.split('\n')[0]
+        if txt.startswith(line1):
+            print('already licensed! Skipping it.')
+        else:
+            if no_write:
+                print('NO WRITE')
+            else:
+                with (open(fname, 'w', newline = '\r\n')) as fd:
+                    fd.write(lic + txt)
+                print('licensed ok.')
+
+
+if __name__ == '__main__':
+    licfname = './lic_vb.txt'
+    lic = open(licfname, ).read()
+
+
+    mydir = os.path.dirname(__file__)
+    paths = [os.path.join(mydir, '..', '..', d) for d  in [
+        'VECTO/*.vb',
+        'VECTO/MODcalc/*.vb',
+        'VECTO/GUI/*.vb',
+        'VECTO/Input Files/*.vb',
+        'VECTO//*.vb',
+        'VECTO//*.vb',
+        'VECTO/File Browser/*.vb',
+    ]]
+    for path in paths:
+        addLicenseHeader(path, lic=lic, no_write = False)
\ No newline at end of file
diff --git a/Tools/AddLic/lic_vb.txt b/Tools/AddLic/lic_vb.txt
new file mode 100644
index 0000000000..6391307c42
--- /dev/null
+++ b/Tools/AddLic/lic_vb.txt
@@ -0,0 +1,10 @@
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
diff --git a/Tools/TranslateComments/Get-FileEncoding.ps1 b/Tools/TranslateComments/Get-FileEncoding.ps1
index 537c3c0f71..76360fc384 100644
--- a/Tools/TranslateComments/Get-FileEncoding.ps1
+++ b/Tools/TranslateComments/Get-FileEncoding.ps1
@@ -1,3 +1,14 @@
+# Copyright 2014 European Union.
+# Licensed under the EUPL (the 'Licence');
+#
+# * You may not use this work except in compliance with the Licence.
+# * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+# * Unless required by applicable law or agreed to in writing,
+#   software distributed under the Licence is distributed on an "AS IS" basis,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#
+# See the LICENSE.txt for the specific language governing permissions and limitations.
+
 <#
 .SYNOPSIS
 Gets file encoding.
@@ -10,31 +21,31 @@ This command gets ps1 files in current directory where encoding is not ASCII
 .EXAMPLE
 Get-ChildItem  *.ps1 | select FullName, @{n='Encoding';e={Get-FileEncoding $_.FullName}} | where {$_.Encoding -ne 'ASCII'} | foreach {(get-content $_.FullName) | set-content $_.FullName -Encoding ASCII}
 Same as previous example but fixes encoding using set-content
-.EXAMPLE 
+.EXAMPLE
 Do this next line before or add function in Profile.ps1
     Import-Module .\Get-FileEncoding.ps1
-.NOTES  
-    File Name  : Get-FileEncoding.ps1  
+.NOTES
+    File Name  : Get-FileEncoding.ps1
     Author     : <Unknwon>, F.RICHARD, ankostis
-    Requires   : PowerShell V2 CTP3   
-.LINK 
+    Requires   : PowerShell V2 CTP3
+.LINK
     http://franckrichard.blogspot.it/2010/08/powershell-get-encoding-file-type.html
     http://unicode.org/faq/utf_bom.html
-.LINK 
+.LINK
     http://en.wikipedia.org/wiki/Byte_order_mark
 #>
 function Get-FileEncoding {
 
- [CmdletBinding()] 
+ [CmdletBinding()]
  Param (
    [Parameter(Position = 0, Mandatory = $True, ValueFromPipelineByPropertyName = $True)]
-   [alias(“PSPath”)]
-   [alias(“FullName”)]
+   [alias(�PSPath�)]
+   [alias(�FullName�)]
    [PSObject[]]$Path
  )
 
 PROCESS {
- 
+
     $files = @();
     if($path) {
         $files += $path
@@ -51,56 +62,56 @@ PROCESS {
     foreach($file ile in $files) {
          [byte[]]$byte = get-content -Encoding byte -ReadCount 4 -TotalCount 4 -Path $File
          #Write-Host Bytes: $byte[0] $byte[1] $byte[2] $byte[3]
-         
+
          # EF BB BF (UTF8)
          if ( $byte[0] -eq 0xef -and $byte[1] -eq 0xbb -and $byte[2] -eq 0xbf )
          { printout 'UTF8' }
-         
+
          # FE FF  (UTF-16 Big-Endian)
          elseif ($byte[0] -eq 0xfe -and $byte[1] -eq 0xff)
          { printout 'Unicode UTF-16 Big-Endian' }
-         
+
          # FF FE  (UTF-16 Little-Endian)
          elseif ($byte[0] -eq 0xff -and $byte[1] -eq 0xfe)
          { printout 'Unicode UTF-16 Little-Endian' }
-         
+
          # 00 00 FE FF (UTF32 Big-Endian)
          elseif ($byte[0] -eq 0 -and $byte[1] -eq 0 -and $byte[2] -eq 0xfe -and $byte[3] -eq 0xff)
          { printout 'UTF32 Big-Endian' }
-         
+
          # FE FF 00 00 (UTF32 Little-Endian)
          elseif ($byte[0] -eq 0xfe -and $byte[1] -eq 0xff -and $byte[2] -eq 0 -and $byte[3] -eq 0)
          { printout 'UTF32 Little-Endian' }
-         
+
          # 2B 2F 76 (38 | 38 | 2B | 2F)
          elseif ($byte[0] -eq 0x2b -and $byte[1] -eq 0x2f -and $byte[2] -eq 0x76 -and ($byte[3] -eq 0x38 -or $byte[3] -eq 0x39 -or $byte[3] -eq 0x2b -or $byte[3] -eq 0x2f) )
          { printout 'UTF7'}
-         
+
          # F7 64 4C (UTF-1)
          elseif ( $byte[0] -eq 0xf7 -and $byte[1] -eq 0x64 -and $byte[2] -eq 0x4c )
          { printout 'UTF-1' }
-         
+
          # DD 73 66 73 (UTF-EBCDIC)
          elseif ($byte[0] -eq 0xdd -and $byte[1] -eq 0x73 -and $byte[2] -eq 0x66 -and $byte[3] -eq 0x73)
          { printout 'UTF-EBCDIC' }
-         
+
          # 0E FE FF (SCSU)
          elseif ( $byte[0] -eq 0x0e -and $byte[1] -eq 0xfe -and $byte[2] -eq 0xff )
          { printout 'SCSU' }
-         
+
          # FB EE 28  (BOCU-1)
          elseif ( $byte[0] -eq 0xfb -and $byte[1] -eq 0xee -and $byte[2] -eq 0x28 )
          { printout 'BOCU-1' }
-         
+
          # 84 31 95 33 (GB-18030)
          elseif ($byte[0] -eq 0x84 -and $byte[1] -eq 0x31 -and $byte[2] -eq 0x95 -and $byte[3] -eq 0x33)
          { printout 'GB-18030' }
-         
+
          else
          { printout 'ASCII' }
         }
     } # End file-loop
-}    
+}
     function printout($str) {
         if ($files.length > 1) {
             echo "${file}:$str"
diff --git a/VECTO/ApplicationEvents.vb b/VECTO/ApplicationEvents.vb
index 4b074345dc..632eae5d6b 100644
--- a/VECTO/ApplicationEvents.vb
+++ b/VECTO/ApplicationEvents.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Namespace My
 
diff --git a/VECTO/File Browser/FB_Dialog.designer.vb b/VECTO/File Browser/FB_Dialog.designer.vb
index f285c349e8..88d1fefbe2 100644
--- a/VECTO/File Browser/FB_Dialog.designer.vb	
+++ b/VECTO/File Browser/FB_Dialog.designer.vb	
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class FB_Dialog
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/File Browser/FB_Dialog.vb b/VECTO/File Browser/FB_Dialog.vb
index a28f8c7ef3..98cb6d9847 100644
--- a/VECTO/File Browser/FB_Dialog.vb	
+++ b/VECTO/File Browser/FB_Dialog.vb	
@@ -1,4 +1,14 @@
-Public Class FB_Dialog
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class FB_Dialog
 
     Private MyFolder As String
     Private MyFiles() As String
diff --git a/VECTO/File Browser/FB_FavDlog.designer.vb b/VECTO/File Browser/FB_FavDlog.designer.vb
index d2471fc64e..e07f4e3cc2 100644
--- a/VECTO/File Browser/FB_FavDlog.designer.vb	
+++ b/VECTO/File Browser/FB_FavDlog.designer.vb	
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class FB_FavDlog
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/File Browser/FB_FavDlog.vb b/VECTO/File Browser/FB_FavDlog.vb
index 13c57673be..a6a8bb4827 100644
--- a/VECTO/File Browser/FB_FavDlog.vb	
+++ b/VECTO/File Browser/FB_FavDlog.vb	
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class FB_FavDlog
 
diff --git a/VECTO/File Browser/FB_Global.vb b/VECTO/File Browser/FB_Global.vb
index adc85a3c02..f1577b819b 100644
--- a/VECTO/File Browser/FB_Global.vb	
+++ b/VECTO/File Browser/FB_Global.vb	
@@ -1,4 +1,14 @@
-Module FB_Global
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Module FB_Global
 
     Public FB_FolderHistory(19) As String
     Public FB_Drives() As String
diff --git a/VECTO/File Browser/cFileBrowser.vb b/VECTO/File Browser/cFileBrowser.vb
index 641153f5a7..71920c6008 100644
--- a/VECTO/File Browser/cFileBrowser.vb	
+++ b/VECTO/File Browser/cFileBrowser.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections
 'Imports System.Windows.Forms
 
 'V1.0 10.12.2010
diff --git a/VECTO/GUI/F_AboutBox.Designer.vb b/VECTO/GUI/F_AboutBox.Designer.vb
index fab19804a0..19a64a0d89 100644
--- a/VECTO/GUI/F_AboutBox.Designer.vb
+++ b/VECTO/GUI/F_AboutBox.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_AboutBox
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_AboutBox.vb b/VECTO/GUI/F_AboutBox.vb
index 6f0502ab21..512acc05e7 100644
--- a/VECTO/GUI/F_AboutBox.vb
+++ b/VECTO/GUI/F_AboutBox.vb
@@ -1,4 +1,14 @@
-Public Class F_AboutBox
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class F_AboutBox
 
 
     'Initialize
diff --git a/VECTO/GUI/F_ENG.Designer.vb b/VECTO/GUI/F_ENG.Designer.vb
index 3a8c120e1c..35e3d0b29b 100644
--- a/VECTO/GUI/F_ENG.Designer.vb
+++ b/VECTO/GUI/F_ENG.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_ENG
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_ENG.vb b/VECTO/GUI/F_ENG.vb
index 9e5d8f8f97..1e4fbee6aa 100644
--- a/VECTO/GUI/F_ENG.vb
+++ b/VECTO/GUI/F_ENG.vb
@@ -1,4 +1,14 @@
-Public Class F_ENG
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class F_ENG
 
     Private EngFile As String = ""
     Public AutoSendTo As Boolean = False
diff --git a/VECTO/GUI/F_FLD.Designer.vb b/VECTO/GUI/F_FLD.Designer.vb
index c17317b64f..99ca3dce90 100644
--- a/VECTO/GUI/F_FLD.Designer.vb
+++ b/VECTO/GUI/F_FLD.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_FLD
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_FLD.vb b/VECTO/GUI/F_FLD.vb
index 7a74c0518a..e1bb90b8d4 100644
--- a/VECTO/GUI/F_FLD.vb
+++ b/VECTO/GUI/F_FLD.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class F_FLD
 
diff --git a/VECTO/GUI/F_FileSign.Designer.vb b/VECTO/GUI/F_FileSign.Designer.vb
index 5a7695b1fe..7ba0d339c8 100644
--- a/VECTO/GUI/F_FileSign.Designer.vb
+++ b/VECTO/GUI/F_FileSign.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_FileSign
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_FileSign.vb b/VECTO/GUI/F_FileSign.vb
index 174e78d17b..96112838f0 100644
--- a/VECTO/GUI/F_FileSign.vb
+++ b/VECTO/GUI/F_FileSign.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class F_FileSign
 
diff --git a/VECTO/GUI/F_GBX.Designer.vb b/VECTO/GUI/F_GBX.Designer.vb
index 92b50dcd4b..03bd53a3e5 100644
--- a/VECTO/GUI/F_GBX.Designer.vb
+++ b/VECTO/GUI/F_GBX.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_GBX
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_GBX.vb b/VECTO/GUI/F_GBX.vb
index 3a77fcde16..5bac3f4b67 100644
--- a/VECTO/GUI/F_GBX.vb
+++ b/VECTO/GUI/F_GBX.vb
@@ -1,4 +1,14 @@
-Public Class F_GBX
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class F_GBX
 
     Private GbxFile As String = ""
     Public AutoSendTo As Boolean = False
diff --git a/VECTO/GUI/F_GEN.Designer.vb b/VECTO/GUI/F_GEN.Designer.vb
index 9e96b310a7..ff50d69e88 100644
--- a/VECTO/GUI/F_GEN.Designer.vb
+++ b/VECTO/GUI/F_GEN.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_GEN
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_GEN.vb b/VECTO/GUI/F_GEN.vb
index e3d1a9098e..f902fc635b 100644
--- a/VECTO/GUI/F_GEN.vb
+++ b/VECTO/GUI/F_GEN.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class F_GEN
 
diff --git a/VECTO/GUI/F_MAINForm.Designer.vb b/VECTO/GUI/F_MAINForm.Designer.vb
index dca853e94a..17106f3c9f 100644
--- a/VECTO/GUI/F_MAINForm.Designer.vb
+++ b/VECTO/GUI/F_MAINForm.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_MAINForm
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_MAINForm.vb b/VECTO/GUI/F_MAINForm.vb
index 14eef85590..f15adbda75 100644
--- a/VECTO/GUI/F_MAINForm.vb
+++ b/VECTO/GUI/F_MAINForm.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class F_MAINForm
 
diff --git a/VECTO/GUI/F_Options.Designer.vb b/VECTO/GUI/F_Options.Designer.vb
index 33e6f0f24e..ae7a3f25c5 100644
--- a/VECTO/GUI/F_Options.Designer.vb
+++ b/VECTO/GUI/F_Options.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_Options
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_Options.vb b/VECTO/GUI/F_Options.vb
index aad47855d8..da9bc432e9 100644
--- a/VECTO/GUI/F_Options.vb
+++ b/VECTO/GUI/F_Options.vb
@@ -1,4 +1,14 @@
-Public Class F_Options
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class F_Options
 
     Dim WD As String = " "
 
diff --git a/VECTO/GUI/F_ShutDown.Designer.vb b/VECTO/GUI/F_ShutDown.Designer.vb
index 31cd821865..3da181dad8 100644
--- a/VECTO/GUI/F_ShutDown.Designer.vb
+++ b/VECTO/GUI/F_ShutDown.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_ShutDown
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_ShutDown.vb b/VECTO/GUI/F_ShutDown.vb
index 275fbe4cf1..4fb72b342b 100644
--- a/VECTO/GUI/F_ShutDown.vb
+++ b/VECTO/GUI/F_ShutDown.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 Imports System.Runtime.InteropServices
 
 Public Class F_ShutDown
diff --git a/VECTO/GUI/F_StrInpBox.designer.vb b/VECTO/GUI/F_StrInpBox.designer.vb
index 9a48909130..ed3360ffe7 100644
--- a/VECTO/GUI/F_StrInpBox.designer.vb
+++ b/VECTO/GUI/F_StrInpBox.designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_StrInpBox
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_StrInpBox.vb b/VECTO/GUI/F_StrInpBox.vb
index 822992b8f5..7b9ab0c999 100644
--- a/VECTO/GUI/F_StrInpBox.vb
+++ b/VECTO/GUI/F_StrInpBox.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class F_StrInpBox
 
diff --git a/VECTO/GUI/F_VEH.Designer.vb b/VECTO/GUI/F_VEH.Designer.vb
index bdbd10ce92..858eaab750 100644
--- a/VECTO/GUI/F_VEH.Designer.vb
+++ b/VECTO/GUI/F_VEH.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_VEH
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_VEH.vb b/VECTO/GUI/F_VEH.vb
index 6d5be1bee9..881055ed63 100644
--- a/VECTO/GUI/F_VEH.vb
+++ b/VECTO/GUI/F_VEH.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class F_VEH
 
diff --git a/VECTO/GUI/F_VEH_AuxDlog.Designer.vb b/VECTO/GUI/F_VEH_AuxDlog.Designer.vb
index f680095e0f..c92a764864 100644
--- a/VECTO/GUI/F_VEH_AuxDlog.Designer.vb
+++ b/VECTO/GUI/F_VEH_AuxDlog.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_VEH_AuxDlog
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_VEH_AuxDlog.vb b/VECTO/GUI/F_VEH_AuxDlog.vb
index c76f4875d5..adb12483da 100644
--- a/VECTO/GUI/F_VEH_AuxDlog.vb
+++ b/VECTO/GUI/F_VEH_AuxDlog.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class F_VEH_AuxDlog
 
diff --git a/VECTO/GUI/F_VEH_Axle.Designer.vb b/VECTO/GUI/F_VEH_Axle.Designer.vb
index 1326262621..7863395aee 100644
--- a/VECTO/GUI/F_VEH_Axle.Designer.vb
+++ b/VECTO/GUI/F_VEH_Axle.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_VEH_Axle
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_VEH_Axle.vb b/VECTO/GUI/F_VEH_Axle.vb
index 279b9cf423..ac793a42a4 100644
--- a/VECTO/GUI/F_VEH_Axle.vb
+++ b/VECTO/GUI/F_VEH_Axle.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class F_VEH_Axle
 
diff --git a/VECTO/GUI/F_VEH_GearDlog.Designer.vb b/VECTO/GUI/F_VEH_GearDlog.Designer.vb
index 0fc8f27508..d09ac9cdb7 100644
--- a/VECTO/GUI/F_VEH_GearDlog.Designer.vb
+++ b/VECTO/GUI/F_VEH_GearDlog.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_VEH_GearDlog
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_VEH_GearDlog.vb b/VECTO/GUI/F_VEH_GearDlog.vb
index 3a41344b89..a251ca95eb 100644
--- a/VECTO/GUI/F_VEH_GearDlog.vb
+++ b/VECTO/GUI/F_VEH_GearDlog.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class F_VEH_GearDlog
 
diff --git a/VECTO/GUI/F_Welcome.Designer.vb b/VECTO/GUI/F_Welcome.Designer.vb
index 7cd48b5cb8..9c51b7c392 100644
--- a/VECTO/GUI/F_Welcome.Designer.vb
+++ b/VECTO/GUI/F_Welcome.Designer.vb
@@ -1,4 +1,14 @@
-<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
 Partial Class F_Welcome
     Inherits System.Windows.Forms.Form
 
diff --git a/VECTO/GUI/F_Welcome.vb b/VECTO/GUI/F_Welcome.vb
index bfba275d08..0613fa0f64 100644
--- a/VECTO/GUI/F_Welcome.vb
+++ b/VECTO/GUI/F_Welcome.vb
@@ -1,4 +1,14 @@
-Imports System.Windows.Forms
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Windows.Forms
 
 Public Class F_Welcome
 
diff --git a/VECTO/GUI/GUI_Subs.vb b/VECTO/GUI/GUI_Subs.vb
index 0429041520..29d0f0df98 100644
--- a/VECTO/GUI/GUI_Subs.vb
+++ b/VECTO/GUI/GUI_Subs.vb
@@ -1,4 +1,14 @@
-Module GUI_Subs
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Module GUI_Subs
 
     Public test As Integer = 0
 
diff --git a/VECTO/Input Files/cAux.vb b/VECTO/Input Files/cAux.vb
index 18fcfa1c1f..a08b403f85 100644
--- a/VECTO/Input Files/cAux.vb	
+++ b/VECTO/Input Files/cAux.vb	
@@ -1,4 +1,14 @@
-Public Class cAux
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class cAux
 
     Public Filepath As String
 
diff --git a/VECTO/Input Files/cDRI.vb b/VECTO/Input Files/cDRI.vb
index 30de7d7171..999bcd38d6 100644
--- a/VECTO/Input Files/cDRI.vb	
+++ b/VECTO/Input Files/cDRI.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cDRI
 
diff --git a/VECTO/Input Files/cEMO.vb b/VECTO/Input Files/cEMO.vb
index be6636f6e3..57d9e85efc 100644
--- a/VECTO/Input Files/cEMO.vb	
+++ b/VECTO/Input Files/cEMO.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cEMO
 
diff --git a/VECTO/Input Files/cENG.vb b/VECTO/Input Files/cENG.vb
index 3a82ebe98a..67267f9533 100644
--- a/VECTO/Input Files/cENG.vb	
+++ b/VECTO/Input Files/cENG.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cENG
 
diff --git a/VECTO/Input Files/cFLD.vb b/VECTO/Input Files/cFLD.vb
index 39ed145df3..fa911081b6 100644
--- a/VECTO/Input Files/cFLD.vb	
+++ b/VECTO/Input Files/cFLD.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cFLD
 
diff --git a/VECTO/Input Files/cGBX.vb b/VECTO/Input Files/cGBX.vb
index 92e9c6b4db..6fb71e4c7e 100644
--- a/VECTO/Input Files/cGBX.vb	
+++ b/VECTO/Input Files/cGBX.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cGBX
 
diff --git a/VECTO/Input Files/cGEN.vb b/VECTO/Input Files/cGEN.vb
index ad74250ef4..370ca28de1 100644
--- a/VECTO/Input Files/cGEN.vb	
+++ b/VECTO/Input Files/cGEN.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cGEN
 
diff --git a/VECTO/Input Files/cMAP.vb b/VECTO/Input Files/cMAP.vb
index bebb0ea01d..d9485b665a 100644
--- a/VECTO/Input Files/cMAP.vb	
+++ b/VECTO/Input Files/cMAP.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cMAP
 
diff --git a/VECTO/Input Files/cSubPath.vb b/VECTO/Input Files/cSubPath.vb
index 8d49a28719..9573e4e2ba 100644
--- a/VECTO/Input Files/cSubPath.vb	
+++ b/VECTO/Input Files/cSubPath.vb	
@@ -1,4 +1,14 @@
-
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+
 
 Public Class cSubPath
 
diff --git a/VECTO/Input Files/cTRS.vb b/VECTO/Input Files/cTRS.vb
index fe24513f04..9f6e0dbadd 100644
--- a/VECTO/Input Files/cTRS.vb	
+++ b/VECTO/Input Files/cTRS.vb	
@@ -1,4 +1,14 @@
-Public Class cTRS
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class cTRS
 
     Private Const FormatVersion As Integer = 1
     Private FileVersion As Integer
diff --git a/VECTO/Input Files/cVEH.vb b/VECTO/Input Files/cVEH.vb
index 484417a607..676157edbb 100644
--- a/VECTO/Input Files/cVEH.vb	
+++ b/VECTO/Input Files/cVEH.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cVEH
 
diff --git a/VECTO/MODcalc/Em Calc.vb b/VECTO/MODcalc/Em Calc.vb
index 8572bd32b8..463b3c2c0e 100644
--- a/VECTO/MODcalc/Em Calc.vb	
+++ b/VECTO/MODcalc/Em Calc.vb	
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cEm
 
diff --git a/VECTO/MODcalc/cBatModel.vb b/VECTO/MODcalc/cBatModel.vb
index 1b3a6b79b2..33069e6bdb 100644
--- a/VECTO/MODcalc/cBatModel.vb
+++ b/VECTO/MODcalc/cBatModel.vb
@@ -1,4 +1,14 @@
-Public Class cBatModel
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class cBatModel
 
     Private sFilePath As String
 
diff --git a/VECTO/MODcalc/cMOD.vb b/VECTO/MODcalc/cMOD.vb
index c096bab459..3d4eeb6cfb 100644
--- a/VECTO/MODcalc/cMOD.vb
+++ b/VECTO/MODcalc/cMOD.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 Public Class cMOD
 
     Public Pe As List(Of Single)
diff --git a/VECTO/MODcalc/cPower.vb b/VECTO/MODcalc/cPower.vb
index 09831f50da..04e353870d 100644
--- a/VECTO/MODcalc/cPower.vb
+++ b/VECTO/MODcalc/cPower.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cPower
  
diff --git a/VECTO/MODcalc/cVh.vb b/VECTO/MODcalc/cVh.vb
index af658c6f02..cab7cbd04f 100644
--- a/VECTO/MODcalc/cVh.vb
+++ b/VECTO/MODcalc/cVh.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cVh
 
diff --git a/VECTO/M_FCCor.vb b/VECTO/M_FCCor.vb
index 1b217a3b00..57dcfcda4b 100644
--- a/VECTO/M_FCCor.vb
+++ b/VECTO/M_FCCor.vb
@@ -1,4 +1,14 @@
-Module M_FCCor
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Module M_FCCor
 
     'C
     'C
diff --git a/VECTO/M_Lese.vb b/VECTO/M_Lese.vb
index 9d78803b29..c4247039ca 100644
--- a/VECTO/M_Lese.vb
+++ b/VECTO/M_Lese.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Module M_Lese
 
diff --git a/VECTO/M_MAIN.vb b/VECTO/M_MAIN.vb
index 7b21edeb4d..20028e4ec9 100644
--- a/VECTO/M_MAIN.vb
+++ b/VECTO/M_MAIN.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Module M_MAIN
 
diff --git a/VECTO/M_OptInterface.vb b/VECTO/M_OptInterface.vb
index e6851f0a48..1d388d2d75 100644
--- a/VECTO/M_OptInterface.vb
+++ b/VECTO/M_OptInterface.vb
@@ -1,4 +1,14 @@
-Imports System.Runtime.Remoting
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Runtime.Remoting
 Imports System.Runtime.Remoting.Channels
 Imports System.Runtime.Remoting.Channels.Ipc
 
diff --git a/VECTO/M_SOC_Iter.vb b/VECTO/M_SOC_Iter.vb
index 12c54354cf..1d2a9d337c 100644
--- a/VECTO/M_SOC_Iter.vb
+++ b/VECTO/M_SOC_Iter.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Module M_SOC_Iter
 
diff --git a/VECTO/VECTO_Global.vb b/VECTO/VECTO_Global.vb
index 339602871e..bb559a375f 100644
--- a/VECTO/VECTO_Global.vb
+++ b/VECTO/VECTO_Global.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Module VECTO_Global
 
diff --git a/VECTO/VECTO_Types.vb b/VECTO/VECTO_Types.vb
index 2ffc6c67a8..67a22baaf7 100644
--- a/VECTO/VECTO_Types.vb
+++ b/VECTO/VECTO_Types.vb
@@ -1,4 +1,14 @@
-Public Enum tPHEMmode As Short
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Enum tPHEMmode As Short
     ModeSTANDARD = 0
     ModeBATCH = 1
 End Enum
diff --git a/VECTO/cConfig.vb b/VECTO/cConfig.vb
index c74743d3bf..d7a15f557b 100644
--- a/VECTO/cConfig.vb
+++ b/VECTO/cConfig.vb
@@ -1,4 +1,14 @@
-Public Class cConfig
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class cConfig
 
     'Private Const FormatVersion As Short = 1
     'Private FileVersion As Short
diff --git a/VECTO/cCustomMap.vb b/VECTO/cCustomMap.vb
index 6fdfd937b7..b4a75aa081 100644
--- a/VECTO/cCustomMap.vb
+++ b/VECTO/cCustomMap.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cCustomMap
 
diff --git a/VECTO/cCycleKin.vb b/VECTO/cCycleKin.vb
index cdf4076312..b8fec8bec4 100644
--- a/VECTO/cCycleKin.vb
+++ b/VECTO/cCycleKin.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cCycleKin
 
diff --git a/VECTO/cDEV.vb b/VECTO/cDEV.vb
index 48bc7e403c..25dcb69f25 100644
--- a/VECTO/cDEV.vb
+++ b/VECTO/cDEV.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cDEV
 
diff --git a/VECTO/cDelaunayMap.vb b/VECTO/cDelaunayMap.vb
index 78af3a3f19..8892ba9eca 100644
--- a/VECTO/cDelaunayMap.vb
+++ b/VECTO/cDelaunayMap.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 Imports VECTO.DelaunayTrigSimple     '<<<< Verweis auf Namespace ersetzen!
 
 Public Class cDelaunayMap
diff --git a/VECTO/cERG.vb b/VECTO/cERG.vb
index f17d408679..abaa0d5bbd 100644
--- a/VECTO/cERG.vb
+++ b/VECTO/cERG.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Class cERG
 
diff --git a/VECTO/cEmComp.vb b/VECTO/cEmComp.vb
index bade90146b..3ed6b332f8 100644
--- a/VECTO/cEmComp.vb
+++ b/VECTO/cEmComp.vb
@@ -1,4 +1,14 @@
-Public Class cEmComp
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class cEmComp
 
     Public Name As String
 
diff --git a/VECTO/cFile V3.vb b/VECTO/cFile V3.vb
index 8d78d18e20..9c8b9234f5 100644
--- a/VECTO/cFile V3.vb	
+++ b/VECTO/cFile V3.vb	
@@ -1,4 +1,14 @@
-Public Class cFile_V3
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class cFile_V3
 
     Private TxtFldParser As Microsoft.VisualBasic.FileIO.TextFieldParser
     Private StrWrter As System.IO.StreamWriter
diff --git a/VECTO/cHEVctrl.vb b/VECTO/cHEVctrl.vb
index 8fa7928f16..2010a46f3b 100644
--- a/VECTO/cHEVctrl.vb
+++ b/VECTO/cHEVctrl.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cHEVctrl
 
diff --git a/VECTO/cJSONparser.vb b/VECTO/cJSONparser.vb
index 20e995215a..99ca267e7d 100644
--- a/VECTO/cJSONparser.vb
+++ b/VECTO/cJSONparser.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 Imports Newtonsoft.Json
 
 
diff --git a/VECTO/cRegression.vb b/VECTO/cRegression.vb
index c6ec26ed80..cdf6ad4bca 100644
--- a/VECTO/cRegression.vb
+++ b/VECTO/cRegression.vb
@@ -1,4 +1,14 @@
-Public Class cRegression
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Public Class cRegression
 
     Public Class RegressionProcessInfo
 
diff --git a/VECTO/cVECTO.vb b/VECTO/cVECTO.vb
index ddd87c96f5..eee6fb09bd 100644
--- a/VECTO/cVECTO.vb
+++ b/VECTO/cVECTO.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cVECTO
     Public Mode As tVECTOmode
diff --git a/VECTO/cVSUM.vb b/VECTO/cVSUM.vb
index ce20c630dc..752b3ba4ce 100644
--- a/VECTO/cVSUM.vb
+++ b/VECTO/cVSUM.vb
@@ -1,4 +1,14 @@
-Imports System.Collections.Generic
+' Copyright 2014 European Union.
+' Licensed under the EUPL (the 'Licence');
+'
+' * You may not use this work except in compliance with the Licence.
+' * You may obtain a copy of the Licence at: http://ec.europa.eu/idabc/eupl
+' * Unless required by applicable law or agreed to in writing,
+'   software distributed under the Licence is distributed on an "AS IS" basis,
+'   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+'
+' See the LICENSE.txt for the specific language governing permissions and limitations.
+Imports System.Collections.Generic
 
 Public Class cVSUM
 
-- 
GitLab