Browse Source

init commit

Toby Chui 6 years ago
parent
commit
7a4a2077ac
28 changed files with 759 additions and 0 deletions
  1. 22 0
      ConsoleApplication1.sln
  2. 6 0
      ConsoleApplication1/App.config
  3. 117 0
      ConsoleApplication1/ConsoleApplication1.vbproj
  4. 208 0
      ConsoleApplication1/Module1.vb
  5. 13 0
      ConsoleApplication1/My Project/Application.Designer.vb
  6. 10 0
      ConsoleApplication1/My Project/Application.myapp
  7. 35 0
      ConsoleApplication1/My Project/AssemblyInfo.vb
  8. 62 0
      ConsoleApplication1/My Project/Resources.Designer.vb
  9. 117 0
      ConsoleApplication1/My Project/Resources.resx
  10. 73 0
      ConsoleApplication1/My Project/Settings.Designer.vb
  11. 7 0
      ConsoleApplication1/My Project/Settings.settings
  12. BIN
      ConsoleApplication1/bin/Debug/ConsoleApplication1.7z
  13. BIN
      ConsoleApplication1/bin/Debug/ConsoleApplication1.exe
  14. 6 0
      ConsoleApplication1/bin/Debug/ConsoleApplication1.exe.config
  15. BIN
      ConsoleApplication1/bin/Debug/ConsoleApplication1.pdb
  16. BIN
      ConsoleApplication1/bin/Debug/ConsoleApplication1.vshost.exe
  17. 6 0
      ConsoleApplication1/bin/Debug/ConsoleApplication1.vshost.exe.config
  18. 11 0
      ConsoleApplication1/bin/Debug/ConsoleApplication1.vshost.exe.manifest
  19. 26 0
      ConsoleApplication1/bin/Debug/ConsoleApplication1.xml
  20. BIN
      ConsoleApplication1/bin/Debug/ConsoleApplication1.zip
  21. BIN
      ConsoleApplication1/obj/Debug/ConsoleApplication1.Resources.resources
  22. BIN
      ConsoleApplication1/obj/Debug/ConsoleApplication1.exe
  23. BIN
      ConsoleApplication1/obj/Debug/ConsoleApplication1.pdb
  24. 14 0
      ConsoleApplication1/obj/Debug/ConsoleApplication1.vbproj.FileListAbsolute.txt
  25. BIN
      ConsoleApplication1/obj/Debug/ConsoleApplication1.vbproj.GenerateResource.Cache
  26. BIN
      ConsoleApplication1/obj/Debug/ConsoleApplication1.vbprojResolveAssemblyReference.cache
  27. 26 0
      ConsoleApplication1/obj/Debug/ConsoleApplication1.xml
  28. BIN
      ConsoleApplication1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache

+ 22 - 0
ConsoleApplication1.sln

@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.25420.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "ConsoleApplication1", "ConsoleApplication1\ConsoleApplication1.vbproj", "{2A84D26D-AAFD-4376-80F7-21ACF5012C81}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{2A84D26D-AAFD-4376-80F7-21ACF5012C81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{2A84D26D-AAFD-4376-80F7-21ACF5012C81}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{2A84D26D-AAFD-4376-80F7-21ACF5012C81}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{2A84D26D-AAFD-4376-80F7-21ACF5012C81}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

+ 6 - 0
ConsoleApplication1/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
+    </startup>
+</configuration>

+ 117 - 0
ConsoleApplication1/ConsoleApplication1.vbproj

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{2A84D26D-AAFD-4376-80F7-21ACF5012C81}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <StartupObject>ConsoleApplication1.Module1</StartupObject>
+    <RootNamespace>ConsoleApplication1</RootNamespace>
+    <AssemblyName>ConsoleApplication1</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <MyType>Console</MyType>
+    <TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <DefineDebug>true</DefineDebug>
+    <DefineTrace>true</DefineTrace>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DocumentationFile>ConsoleApplication1.xml</DocumentationFile>
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <DebugType>pdbonly</DebugType>
+    <DefineDebug>false</DefineDebug>
+    <DefineTrace>true</DefineTrace>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DocumentationFile>ConsoleApplication1.xml</DocumentationFile>
+    <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
+  </PropertyGroup>
+  <PropertyGroup>
+    <OptionExplicit>On</OptionExplicit>
+  </PropertyGroup>
+  <PropertyGroup>
+    <OptionCompare>Binary</OptionCompare>
+  </PropertyGroup>
+  <PropertyGroup>
+    <OptionStrict>Off</OptionStrict>
+  </PropertyGroup>
+  <PropertyGroup>
+    <OptionInfer>On</OptionInfer>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Deployment" />
+    <Reference Include="System.Net" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Net.Http" />
+  </ItemGroup>
+  <ItemGroup>
+    <Import Include="Microsoft.VisualBasic" />
+    <Import Include="System" />
+    <Import Include="System.Collections" />
+    <Import Include="System.Collections.Generic" />
+    <Import Include="System.Data" />
+    <Import Include="System.Diagnostics" />
+    <Import Include="System.Linq" />
+    <Import Include="System.Xml.Linq" />
+    <Import Include="System.Threading.Tasks" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Module1.vb" />
+    <Compile Include="My Project\AssemblyInfo.vb" />
+    <Compile Include="My Project\Application.Designer.vb">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Application.myapp</DependentUpon>
+    </Compile>
+    <Compile Include="My Project\Resources.Designer.vb">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="My Project\Settings.Designer.vb">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="My Project\Resources.resx">
+      <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.vb</LastGenOutput>
+      <CustomToolNamespace>My.Resources</CustomToolNamespace>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="My Project\Application.myapp">
+      <Generator>MyApplicationCodeGenerator</Generator>
+      <LastGenOutput>Application.Designer.vb</LastGenOutput>
+    </None>
+    <None Include="My Project\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <CustomToolNamespace>My</CustomToolNamespace>
+      <LastGenOutput>Settings.Designer.vb</LastGenOutput>
+    </None>
+    <None Include="App.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 208 - 0
ConsoleApplication1/Module1.vb

@@ -0,0 +1,208 @@
+Imports System.Net
+Module Module1
+    Dim HostName As New ArrayList
+    Dim IPv4 As New ArrayList
+    Dim SubnetMask As New ArrayList
+    Dim SystemGateWay As New ArrayList
+    Dim DNS1 As New ArrayList
+    Dim DNS2 As New ArrayList
+    Dim NetworkCount As Integer = 0 'Count the number of network this PC is connected to. If more than two, require for selection
+    Dim highPossibility As Integer = 0
+    Dim results As New ArrayList
+    Dim AOBFound As New ArrayList
+    Dim threads As New ArrayList
+    Sub Main()
+        Console.WriteLine("Home Dynamic Local Area Network Scanning Utlities")
+        GetAllIP()
+        If NetworkCount > 1 Then
+            'Ask for which network to scan.
+            Console.WriteLine("Multiple Network Found. Auto-selecting network " & highPossibility & "." & vbNewLine & "Selected gateway: " & SystemGateWay(highPossibility) & ".")
+        End If
+        pingAllIPsInSubnet(highPossibility)
+        Console.WriteLine("IP Scanning Done.")
+        results.Sort()
+        Console.WriteLine("The following IPs respond to ping")
+        FindAllAOB()
+        Console.WriteLine("AOB System are located on these hosts: ")
+        For k As Integer = 0 To AOBFound.Count - 1
+            Console.WriteLine(AOBFound.Item(k))
+        Next
+        If AOBFound.Count = 1 Then
+            Process.Start("http://" & AOBFound.Item(0))
+        End If
+        Console.WriteLine("DONE")
+        Console.Read()
+    End Sub
+    Public Sub FindAllAOB()
+        threads.Clear()
+        For k As Integer = 0 To results.Count - 1
+            Dim thisIP As String = results.Item(k)
+            Dim newThread As New System.Threading.Thread(Sub() SendWebRequest(thisIP))
+            threads.Add(newThread)
+            newThread.Start()
+            Console.WriteLine("Starting AOB connection on : " & thisIP)
+        Next
+
+        Dim running As Integer = results.Count - 1
+        Dim lastvalue As Integer = 0
+        While running > 0
+            running = 0
+            For i As Integer = 0 To threads.Count - 1
+                If (threads.Item(i).IsAlive) Then
+                    running += 1
+                End If
+            Next
+            If running <> lastvalue Then
+                Console.WriteLine("Still waiting " & running & " threads to end.")
+            End If
+            lastvalue = running
+            Threading.Thread.Sleep(200)
+        End While
+    End Sub
+
+    Public Sub SendWebRequest(ip)
+        Dim req As System.Net.WebRequest
+        Dim res As System.Net.WebResponse
+
+        req = System.Net.WebRequest.Create("http://" & ip & "/AOB")
+        Try
+            res = req.GetResponse()
+            Console.WriteLine("AOB System Found on " & ip)
+            AOBFound.Add(ip)
+        Catch e As WebException
+            Console.WriteLine("AOB not found on ip: " & ip)
+        End Try
+
+    End Sub
+
+
+    Public Function getMaskValue(mask)
+        If mask = "255.255.255.0" Then
+            Return 1
+        ElseIf mask = "255.255.0.0" Then
+            Return 2
+        Else
+            Return -1 'Not supported for such a large network
+        End If
+    End Function
+
+    Public Sub pingAllIPsInSubnet(networkid As Integer)
+        Dim ip As String = IPv4.Item(networkid)
+        Dim mk As String = SubnetMask.Item(networkid)
+        Dim mkv As Integer = getMaskValue(mk)
+        If (mkv <> -1) Then
+            If mkv = 1 Then
+                For d As Integer = 1 To 254
+                    Dim thisIP = ip.Substring(0, ip.LastIndexOf(".")) & "." & d.ToString
+                    Dim newThread As New System.Threading.Thread(Sub() CheckIfIpAlive(thisIP))
+                    threads.Add(newThread)
+                    newThread.Start()
+                    Console.WriteLine("Starting thread to connect : " & thisIP)
+                    'Threading.Thread.Sleep(200)
+                Next
+
+                Dim running As Integer = 254
+                Dim lastvalue As Integer = 0
+                While running > 0
+                    running = 0
+                    For i As Integer = 0 To threads.Count - 1
+                        If (threads.Item(i).IsAlive) Then
+                            running += 1
+                        End If
+                    Next
+                    If running <> lastvalue Then
+                        Console.WriteLine("Still waiting " & running & " threads to end.")
+                    End If
+                    lastvalue = running
+                    Threading.Thread.Sleep(200)
+                End While
+            ElseIf mkv = 2 Then
+                Console.Write("Currently not supported")
+            End If
+
+        Else
+            Console.Write("Network too big. Please set up manually.")
+            Return
+        End If
+    End Sub
+
+    Public Sub CheckIfIpAlive(thisip)
+        If tryPing(thisip) = True Then
+            results.Add(thisip)
+        End If
+
+    End Sub
+
+
+
+    Private Function FillZeros(val)
+        If val < 10 Then
+            Return "00" & val.ToString
+        ElseIf val < 100 Then
+            Return "0" & val.ToString
+        Else
+            Return val.ToString
+        End If
+    End Function
+
+
+    Public Sub GetAllIP()
+        'On Error Resume Next
+        HostName.Add(System.Net.Dns.GetHostName())
+        For Each ip In System.Net.Dns.GetHostEntry(HostName.Item(NetworkCount)).AddressList
+            If ip.AddressFamily = Net.Sockets.AddressFamily.InterNetwork Then
+                'IPv4 Adress
+                IPv4.Add(ip.ToString())
+                For Each adapter As Net.NetworkInformation.NetworkInterface In Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()
+                    For Each unicastIPAddressInformation As Net.NetworkInformation.UnicastIPAddressInformation In adapter.GetIPProperties().UnicastAddresses
+                        If unicastIPAddressInformation.Address.AddressFamily = Net.Sockets.AddressFamily.InterNetwork Then
+                            If ip.Equals(unicastIPAddressInformation.Address) Then
+                                'Subnet Mask
+                                SubnetMask.Add(unicastIPAddressInformation.IPv4Mask.ToString())
+
+                                Dim adapterProperties As Net.NetworkInformation.IPInterfaceProperties = adapter.GetIPProperties()
+                                For Each gateway As Net.NetworkInformation.GatewayIPAddressInformation In adapterProperties.GatewayAddresses
+                                    'Default Gateway
+                                    SystemGateWay.Add(gateway.Address.ToString())
+                                Next
+
+                                'DNS1
+                                If adapterProperties.DnsAddresses.Count > 0 Then
+                                    DNS1.Add(adapterProperties.DnsAddresses(0).ToString())
+                                End If
+
+                                'DNS2
+                                If adapterProperties.DnsAddresses.Count > 1 Then
+                                    DNS2.Add(adapterProperties.DnsAddresses(1).ToString())
+                                End If
+                            End If
+                            End If
+                    Next
+                Next
+
+
+                Console.WriteLine("IPv4: " & IPv4.Item(NetworkCount))
+                Console.WriteLine("Subnet Mask: " & SubnetMask.Item(NetworkCount))
+                If (SystemGateWay.Count <= NetworkCount) Then
+                    SystemGateWay.Add("N/A")
+                Else
+                    highPossibility = NetworkCount
+                End If
+                Console.WriteLine("Gateway: " & SystemGateWay.Item(NetworkCount))
+                Console.WriteLine("")
+                NetworkCount += 1
+
+                End If
+        Next
+    End Sub
+
+    Public Function tryPing(ip As String)
+        On Error GoTo errorPoint
+        If My.Computer.Network.Ping(ip) Then
+            Return True
+        Else
+errorPoint:
+            Return False
+        End If
+    End Function
+End Module

+ 13 - 0
ConsoleApplication1/My Project/Application.Designer.vb

@@ -0,0 +1,13 @@
+'------------------------------------------------------------------------------
+' <auto-generated>
+'     This code was generated by a tool.
+'     Runtime Version:4.0.30319.42000
+'
+'     Changes to this file may cause incorrect behavior and will be lost if
+'     the code is regenerated.
+' </auto-generated>
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+

+ 10 - 0
ConsoleApplication1/My Project/Application.myapp

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <MySubMain>false</MySubMain>
+  <SingleInstance>false</SingleInstance>
+  <ShutdownMode>0</ShutdownMode>
+  <EnableVisualStyles>true</EnableVisualStyles>
+  <AuthenticationMode>0</AuthenticationMode>
+  <ApplicationType>2</ApplicationType>
+  <SaveMySettingsOnExit>true</SaveMySettingsOnExit>
+</MyApplicationData>

+ 35 - 0
ConsoleApplication1/My Project/AssemblyInfo.vb

@@ -0,0 +1,35 @@
+Imports System
+Imports System.Reflection
+Imports System.Runtime.InteropServices
+
+' 組件的一般資訊是由下列的屬性集控制。
+' 變更這些屬性的值即可修改組件的相關
+' 資訊。
+
+' 檢閱組件屬性的值
+
+<Assembly: AssemblyTitle("ConsoleApplication1")>
+<Assembly: AssemblyDescription("")>
+<Assembly: AssemblyCompany("Microsoft")>
+<Assembly: AssemblyProduct("ConsoleApplication1")>
+<Assembly: AssemblyCopyright("Copyright © Microsoft 2018")>
+<Assembly: AssemblyTrademark("")>
+
+<Assembly: ComVisible(False)>
+
+'下列 GUID 為專案公開 (Expose) 至 COM 時所要使用的 typelib ID
+<Assembly: Guid("f743112c-7bfd-4c05-a395-bc8ae5c4a2da")>
+
+' 組件的版本資訊由下列四個值所組成: 
+'
+'      主要版本
+'      次要版本
+'      組建編號
+'      修訂編號
+'
+' 您可以指定所有的值,也可以依照以下的方式,使用 '*' 將組建和修訂編號
+' 指定為預設值: 
+' <Assembly: AssemblyVersion("1.0.*")> 
+
+<Assembly: AssemblyVersion("1.0.0.0")>
+<Assembly: AssemblyFileVersion("1.0.0.0")>

+ 62 - 0
ConsoleApplication1/My Project/Resources.Designer.vb

@@ -0,0 +1,62 @@
+'------------------------------------------------------------------------------
+' <auto-generated>
+'     This code was generated by a tool.
+'     Runtime Version:4.0.30319.42000
+'
+'     Changes to this file may cause incorrect behavior and will be lost if
+'     the code is regenerated.
+' </auto-generated>
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
+
+Namespace My.Resources
+
+    'This class was auto-generated by the StronglyTypedResourceBuilder
+    'class via a tool like ResGen or Visual Studio.
+    'To add or remove a member, edit your .ResX file then rerun ResGen
+    'with the /str option, or rebuild your VS project.
+    '''<summary>
+    '''  A strongly-typed resource class, for looking up localized strings, etc.
+    '''</summary>
+    <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
+     Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
+    Friend Module Resources
+
+        Private resourceMan As Global.System.Resources.ResourceManager
+
+        Private resourceCulture As Global.System.Globalization.CultureInfo
+
+        '''<summary>
+        '''  Returns the cached ResourceManager instance used by this class.
+        '''</summary>
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
+        Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
+            Get
+                If Object.ReferenceEquals(resourceMan, Nothing) Then
+                    Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("ConsoleApplication1.Resources", GetType(Resources).Assembly)
+                    resourceMan = temp
+                End If
+                Return resourceMan
+            End Get
+        End Property
+
+        '''<summary>
+        '''  Overrides the current thread's CurrentUICulture property for all
+        '''  resource lookups using this strongly typed resource class.
+        '''</summary>
+        <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
+        Friend Property Culture() As Global.System.Globalization.CultureInfo
+            Get
+                Return resourceCulture
+            End Get
+            Set(ByVal value As Global.System.Globalization.CultureInfo)
+                resourceCulture = value
+            End Set
+        End Property
+    End Module
+End Namespace

+ 117 - 0
ConsoleApplication1/My Project/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 73 - 0
ConsoleApplication1/My Project/Settings.Designer.vb

@@ -0,0 +1,73 @@
+'------------------------------------------------------------------------------
+' <auto-generated>
+'     This code was generated by a tool.
+'     Runtime Version:4.0.30319.42000
+'
+'     Changes to this file may cause incorrect behavior and will be lost if
+'     the code is regenerated.
+' </auto-generated>
+'------------------------------------------------------------------------------
+
+Option Strict On
+Option Explicit On
+
+
+Namespace My
+
+    <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
+     Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
+     Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
+    Partial Friend NotInheritable Class MySettings
+        Inherits Global.System.Configuration.ApplicationSettingsBase
+
+        Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
+
+#Region "My.Settings Auto-Save Functionality"
+#If _MyType = "WindowsForms" Then
+        Private Shared addedHandler As Boolean
+
+        Private Shared addedHandlerLockObject As New Object
+
+        <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
+        Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
+            If My.Application.SaveMySettingsOnExit Then
+                My.Settings.Save()
+            End If
+        End Sub
+#End If
+#End Region
+
+        Public Shared ReadOnly Property [Default]() As MySettings
+            Get
+
+#If _MyType = "WindowsForms" Then
+                   If Not addedHandler Then
+                        SyncLock addedHandlerLockObject
+                            If Not addedHandler Then
+                                AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
+                                addedHandler = True
+                            End If
+                        End SyncLock
+                    End If
+#End If
+                Return defaultInstance
+            End Get
+        End Property
+    End Class
+End Namespace
+
+Namespace My
+
+    <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
+     Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
+     Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
+    Friend Module MySettingsProperty
+
+        <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
+        Friend ReadOnly Property Settings() As Global.ConsoleApplication1.My.MySettings
+            Get
+                Return Global.ConsoleApplication1.My.MySettings.Default
+            End Get
+        End Property
+    End Module
+End Namespace

+ 7 - 0
ConsoleApplication1/My Project/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

BIN
ConsoleApplication1/bin/Debug/ConsoleApplication1.7z


BIN
ConsoleApplication1/bin/Debug/ConsoleApplication1.exe


+ 6 - 0
ConsoleApplication1/bin/Debug/ConsoleApplication1.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
+    </startup>
+</configuration>

BIN
ConsoleApplication1/bin/Debug/ConsoleApplication1.pdb


BIN
ConsoleApplication1/bin/Debug/ConsoleApplication1.vshost.exe


+ 6 - 0
ConsoleApplication1/bin/Debug/ConsoleApplication1.vshost.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
+    </startup>
+</configuration>

+ 11 - 0
ConsoleApplication1/bin/Debug/ConsoleApplication1.vshost.exe.manifest

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+  <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
+  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+    <security>
+      <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+        <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+      </requestedPrivileges>
+    </security>
+  </trustInfo>
+</assembly>

+ 26 - 0
ConsoleApplication1/bin/Debug/ConsoleApplication1.xml

@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<doc>
+<assembly>
+<name>
+ConsoleApplication1
+</name>
+</assembly>
+<members>
+<member name="T:ConsoleApplication1.My.Resources.Resources">
+<summary>
+  A strongly-typed resource class, for looking up localized strings, etc.
+</summary>
+</member>
+<member name="P:ConsoleApplication1.My.Resources.Resources.ResourceManager">
+<summary>
+  Returns the cached ResourceManager instance used by this class.
+</summary>
+</member>
+<member name="P:ConsoleApplication1.My.Resources.Resources.Culture">
+<summary>
+  Overrides the current thread's CurrentUICulture property for all
+  resource lookups using this strongly typed resource class.
+</summary>
+</member>
+</members>
+</doc>

BIN
ConsoleApplication1/bin/Debug/ConsoleApplication1.zip


BIN
ConsoleApplication1/obj/Debug/ConsoleApplication1.Resources.resources


BIN
ConsoleApplication1/obj/Debug/ConsoleApplication1.exe


BIN
ConsoleApplication1/obj/Debug/ConsoleApplication1.pdb


+ 14 - 0
ConsoleApplication1/obj/Debug/ConsoleApplication1.vbproj.FileListAbsolute.txt

@@ -0,0 +1,14 @@
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe.config
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.pdb
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.xml
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.vbprojResolveAssemblyReference.cache
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.Resources.resources
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.vbproj.GenerateResource.Cache
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.xml
+C:\Users\Toby\Desktop\Project\Tinyboy\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.pdb
+C:\Users\Toby\Desktop\Project\AOB System Searcher\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe.config
+C:\Users\Toby\Desktop\Project\AOB System Searcher\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe
+C:\Users\Toby\Desktop\Project\AOB System Searcher\ConsoleApplication1\obj\Debug\ConsoleApplication1.xml
+C:\Users\Toby\Desktop\Project\AOB System Searcher\ConsoleApplication1\obj\Debug\ConsoleApplication1.pdb

BIN
ConsoleApplication1/obj/Debug/ConsoleApplication1.vbproj.GenerateResource.Cache


BIN
ConsoleApplication1/obj/Debug/ConsoleApplication1.vbprojResolveAssemblyReference.cache


+ 26 - 0
ConsoleApplication1/obj/Debug/ConsoleApplication1.xml

@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<doc>
+<assembly>
+<name>
+ConsoleApplication1
+</name>
+</assembly>
+<members>
+<member name="T:ConsoleApplication1.My.Resources.Resources">
+<summary>
+  A strongly-typed resource class, for looking up localized strings, etc.
+</summary>
+</member>
+<member name="P:ConsoleApplication1.My.Resources.Resources.ResourceManager">
+<summary>
+  Returns the cached ResourceManager instance used by this class.
+</summary>
+</member>
+<member name="P:ConsoleApplication1.My.Resources.Resources.Culture">
+<summary>
+  Overrides the current thread's CurrentUICulture property for all
+  resource lookups using this strongly typed resource class.
+</summary>
+</member>
+</members>
+</doc>

BIN
ConsoleApplication1/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache