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>