latest yaulw

This commit is contained in:
2016-07-25 16:41:33 -04:00
parent 2a654f11ad
commit b88bbcec26
4 changed files with 155 additions and 146 deletions

View File

@@ -9,8 +9,9 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>_app</RootNamespace>
<AssemblyName>!app</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -49,6 +50,9 @@
<Name>Yaulw</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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.

View File

@@ -9,7 +9,7 @@ namespace _app
{
static void Main(string[] args)
{
//var Running = Yaulw.Win32.COM.GetActiveObjects("");
var Running = Yaulw.Win32.COM.GetActiveObjects("");
//var RunningExcelWorkbooks = Yaulw.Win32.COM.GetRunningObjects();
//int n1 = Running.Count();

3
!app/app.config Normal file
View File

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

View File

@@ -1,151 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1FA1096D-829D-4EBC-8155-E3702B680EEA}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Yaulw</RootNamespace>
<AssemblyName>Yaulw</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<SccProjectName>
</SccProjectName>
<SccLocalPath>
</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>
</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Target\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NET35</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\Target\Release\</OutputPath>
<DefineConstants>TRACE;NET35</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net">
<HintPath>Components\log4net.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.ServiceProcess" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Services" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Assembly\AssemblyW.cs" />
<Compile Include="Encryption\TextEncryptHash.cs" />
<Compile Include="File\CHMFile.cs" />
<Compile Include="File\FileWriter.cs" />
<Compile Include="File\INIFile.cs" />
<Compile Include="File\ISReadWrite.cs" />
<Compile Include="File\LineReplacer.cs" />
<Compile Include="File\LoggerQuick.cs" />
<Compile Include="File\Logging.cs" />
<Compile Include="File\Tail.cs" />
<Compile Include="Installer\Common.cs" />
<Compile Include="Installer\FileIcon.cs" />
<Compile Include="Installer\ShellLink.cs" />
<Compile Include="Monitor\MonitorDataStore.cs" />
<Compile Include="Net\Emailer.cs" />
<Compile Include="Net\IPHostHelper.cs" />
<Compile Include="Net\RouterHelper.cs" />
<Compile Include="Net\WCHelper.cs" />
<Compile Include="Net\WSCaller.cs" />
<Compile Include="Other\CMDcommands.cs" />
<Compile Include="Other\CMDexecute.cs" />
<Compile Include="Other\CMDLine.cs" />
<Compile Include="Other\DelegateCollection.cs" />
<Compile Include="Other\Installer.cs" />
<Compile Include="Other\OSInfo.cs" />
<Compile Include="Other\StackWalker.cs" />
<Compile Include="Other\StateM.cs" />
<Compile Include="Other\TraceM.cs" />
<Compile Include="Other\Versioning.cs" />
<Compile Include="Process\ProcessW.cs" />
<Compile Include="Process\PStarter.cs" />
<Compile Include="Process\PStartInfo.cs" />
<Compile Include="Process\ServiceW.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Registry\RegKey.cs" />
<Compile Include="Thread\DispatcherThread.cs" />
<Compile Include="Thread\SingleThreadTimer.cs" />
<Compile Include="Thread\TTimerDisp.cs" />
<Compile Include="Thread\TStarter.cs" />
<Compile Include="Thread\TTimer.cs" />
<Compile Include="Tools\Convert.cs" />
<Compile Include="Tools\EnumTool.cs" />
<Compile Include="Tools\ObjTool.cs" />
<Compile Include="Tools\PathNaming.cs" />
<Compile Include="Tools\StringTool.cs" />
<Compile Include="Web\HTTP.cs" />
<Compile Include="Web\WebClientWithTimeout.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Win32\Advapi32.cs" />
<Compile Include="Win32\AtomMessenger.cs" />
<Compile Include="Win32\COM.cs" />
<Compile Include="Win32\Convert.cs" />
<Compile Include="Win32\Definitions.cs" />
<Compile Include="Win32\Functions.cs" />
<Compile Include="Win32\Gdi32.cs" />
<Compile Include="Win32\Kernel32.cs" />
<Compile Include="Win32\Shell32.cs" />
<Compile Include="Win32\Structures.cs" />
<Compile Include="Win32\User32.cs" />
<Compile Include="Win32\uxDwm.cs" />
<Compile Include="Win32\Wininet.cs" />
<Compile Include="Win32\WSock32.cs" />
<Compile Include="WinForms\ControlClickHelper.cs" />
<Compile Include="WinForms\MDIHelper.cs" />
<Compile Include="WinForms\MsgBox.cs" />
<Compile Include="WinForms\SysTray.cs" />
<Compile Include="WPF\KeepHidden.cs" />
<Compile Include="WPF\Snippets.cs" />
<Compile Include="WPF\WPFWindowManager.cs" />
<Compile Include="Xml\XSerializer.cs" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Content Include="Components\ICSharpCode.SharpZipLib.dll" />
<Content Include="Components\log4net.dll" />
<Content Include="license.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{1FA1096D-829D-4EBC-8155-E3702B680EEA}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Yaulw</RootNamespace>
<AssemblyName>Yaulw</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<SccProjectName>
</SccProjectName>
<SccLocalPath>
</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>
</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NET35</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE;NET35</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net">
<HintPath>Components\log4net.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Management" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.ServiceProcess" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Services" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="Assembly\AssemblyW.cs" />
<Compile Include="Encryption\TextEncryptHash.cs" />
<Compile Include="File\CHMFile.cs" />
<Compile Include="File\FileWriter.cs" />
<Compile Include="File\INIFile.cs" />
<Compile Include="File\ISReadWrite.cs" />
<Compile Include="File\LineReplacer.cs" />
<Compile Include="File\LoggerQuick.cs" />
<Compile Include="File\Logging.cs" />
<Compile Include="File\Tail.cs" />
<Compile Include="Installer\Common.cs" />
<Compile Include="Installer\FileIcon.cs" />
<Compile Include="Installer\ShellLink.cs" />
<Compile Include="Monitor\MonitorDataStore.cs" />
<Compile Include="Net\Emailer.cs" />
<Compile Include="Net\IPHostHelper.cs" />
<Compile Include="Net\RouterHelper.cs" />
<Compile Include="Net\WCHelper.cs" />
<Compile Include="Net\WSCaller.cs" />
<Compile Include="Other\CMDcommands.cs" />
<Compile Include="Other\CMDexecute.cs" />
<Compile Include="Other\CMDLine.cs" />
<Compile Include="Other\DelegateCollection.cs" />
<Compile Include="Other\Installer.cs" />
<Compile Include="Other\OSInfo.cs" />
<Compile Include="Other\StackWalker.cs" />
<Compile Include="Other\StateM.cs" />
<Compile Include="Other\TraceM.cs" />
<Compile Include="Other\Versioning.cs" />
<Compile Include="Process\ProcessW.cs" />
<Compile Include="Process\PStarter.cs" />
<Compile Include="Process\PStartInfo.cs" />
<Compile Include="Process\ServiceW.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Registry\RegKey.cs" />
<Compile Include="Thread\DispatcherThread.cs" />
<Compile Include="Thread\SingleThreadTimer.cs" />
<Compile Include="Thread\TTimerDisp.cs" />
<Compile Include="Thread\TStarter.cs" />
<Compile Include="Thread\TTimer.cs" />
<Compile Include="Tools\Convert.cs" />
<Compile Include="Tools\EnumTool.cs" />
<Compile Include="Tools\ObjTool.cs" />
<Compile Include="Tools\PathNaming.cs" />
<Compile Include="Tools\StringTool.cs" />
<Compile Include="Web\HTTP.cs" />
<Compile Include="Web\WebClientWithTimeout.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Win32\Advapi32.cs" />
<Compile Include="Win32\AtomMessenger.cs" />
<Compile Include="Win32\COM.cs" />
<Compile Include="Win32\Convert.cs" />
<Compile Include="Win32\Definitions.cs" />
<Compile Include="Win32\Functions.cs" />
<Compile Include="Win32\Gdi32.cs" />
<Compile Include="Win32\Kernel32.cs" />
<Compile Include="Win32\Shell32.cs" />
<Compile Include="Win32\Structures.cs" />
<Compile Include="Win32\User32.cs" />
<Compile Include="Win32\uxDwm.cs" />
<Compile Include="Win32\Wininet.cs" />
<Compile Include="Win32\WSock32.cs" />
<Compile Include="WinForms\ControlClickHelper.cs" />
<Compile Include="WinForms\MDIHelper.cs" />
<Compile Include="WinForms\MsgBox.cs" />
<Compile Include="WinForms\SysTray.cs" />
<Compile Include="WPF\KeepHidden.cs" />
<Compile Include="WPF\Snippets.cs" />
<Compile Include="WPF\WPFWindowManager.cs" />
<Compile Include="Xml\XSerializer.cs" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Content Include="Components\ICSharpCode.SharpZipLib.dll" />
<Content Include="Components\log4net.dll" />
<Content Include="license.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.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>