Initial commit
This commit is contained in:
69
OnDemandDDE/ARSDDE/ARSDDE.csproj
Normal file
69
OnDemandDDE/ARSDDE/ARSDDE.csproj
Normal file
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" 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>{21DAAA8F-8C8C-4BBD-873D-54E92F43A3EB}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>ARSDDE</RootNamespace>
|
||||
<AssemblyName>ARSDDE</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="NDde, Version=2.1.563.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NDde.2.01.0563\lib\NDde.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="NDde.xml" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
6
OnDemandDDE/ARSDDE/ARSDDE.csproj.user
Normal file
6
OnDemandDDE/ARSDDE/ARSDDE.csproj.user
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<StartArguments>/e "c:\program files %28x86%29\ibm\ondemand32\bin\arsgui.exe" /S Test_System_NOVA /U tgsystkb /P tgsystkb /f TGKB für EDOKA-Partner /d OFFEDK000201800223423620181003063223 /t 21.09.20</StartArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
30
OnDemandDDE/ARSDDE/App.config
Normal file
30
OnDemandDDE/ARSDDE/App.config
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="ARSDDE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
||||
</startup>
|
||||
<userSettings>
|
||||
<ARSDDE.Properties.Settings>
|
||||
<setting name="Debug" serializeAs="String">
|
||||
<value>true</value>
|
||||
</setting>
|
||||
<setting name="OnDemandClinetString" serializeAs="String">
|
||||
<value>ARS</value>
|
||||
</setting>
|
||||
<setting name="ARS_Language" serializeAs="String">
|
||||
<value>\\locale\deu</value>
|
||||
</setting>
|
||||
<setting name="StartClient" serializeAs="String">
|
||||
<value>true</value>
|
||||
</setting>
|
||||
<setting name="WaitAfterStart" serializeAs="String">
|
||||
<value>1000</value>
|
||||
</setting>
|
||||
</ARSDDE.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
3232
OnDemandDDE/ARSDDE/NDde.xml
Normal file
3232
OnDemandDDE/ARSDDE/NDde.xml
Normal file
File diff suppressed because it is too large
Load Diff
312
OnDemandDDE/ARSDDE/Program.cs
Normal file
312
OnDemandDDE/ARSDDE/Program.cs
Normal file
@@ -0,0 +1,312 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.VisualBasic;
|
||||
using NDde.Client;
|
||||
|
||||
namespace ARSDDE
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static bool cmd_ok = false;
|
||||
static string ARS_Application;
|
||||
static string ARS_System;
|
||||
static string ARS_User;
|
||||
static string ARS_Password;
|
||||
static string ARS_Foler;
|
||||
static string ARS_DocID;
|
||||
static string ARS_Datum;
|
||||
static string ARS_Type;
|
||||
static string Debug = "false";
|
||||
static string ARS_Language;
|
||||
static string ARS_Doctype;
|
||||
static string ARS_AuftragNr;
|
||||
static string ARS_Belegart;
|
||||
static DdeClient Client;
|
||||
// static DdeClient Client = new DdeClient("ARS", "ARS");
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
|
||||
Debug = Properties.Settings.Default.Debug;
|
||||
|
||||
Debug =Debug.ToLower();
|
||||
Debug_Print("Before Parse");
|
||||
cmd_ok = Parse_Commandline(args);
|
||||
Debug_Print("After Parse");
|
||||
if (Debug=="true")
|
||||
{
|
||||
Debug_Print("ARS-Client:" + Properties.Settings.Default.OnDemandClinetString);
|
||||
Debug_Print(String.Format("ARS_Application: {0}", ARS_Application));
|
||||
Debug_Print(String.Format("ARS_System: {0}", ARS_System));
|
||||
Debug_Print(String.Format("ARS_User: {0}", ARS_User));
|
||||
Debug_Print(String.Format("ARS_Password: {0}", "********"));
|
||||
Debug_Print(String.Format("ARS_Folder: {0}", ARS_Foler));
|
||||
Debug_Print(String.Format("ARS_DocID: {0}", ARS_DocID));
|
||||
Debug_Print(String.Format("ARS_Datum: {0}", ARS_Datum));
|
||||
Debug_Print(String.Format("ARS_Typ: {0}", ARS_Type));
|
||||
Debug_Print(String.Format("ARS_Auftragnr: {0}", ARS_AuftragNr));
|
||||
Debug_Print(String.Format("ARS_Belegart: {0}", ARS_Belegart));
|
||||
}
|
||||
|
||||
Debug_Print("Start");
|
||||
Call_OnDemand("Start");
|
||||
Client = new DdeClient(Properties.Settings.Default.OnDemandClinetString, Properties.Settings.Default.OnDemandClinetString);
|
||||
Client.Connect();
|
||||
|
||||
Debug_Print("Logon");
|
||||
Call_OnDemand("Logon");
|
||||
Debug_Print("Open_Folder");
|
||||
Call_OnDemand("Open_Folder");
|
||||
Debug_Print("Set_FieldData");
|
||||
Call_OnDemand("Set_FieldData");
|
||||
Debug_Print("Search_Folder");
|
||||
Call_OnDemand("Search_Folder");
|
||||
Debug_Print("Show_Doc");
|
||||
Call_OnDemand("Show_Doc");
|
||||
Debug_Print("Logoff");
|
||||
Call_OnDemand("Logoff");
|
||||
if (Debug == "true") { Console.ReadLine(); }
|
||||
}
|
||||
|
||||
|
||||
static void Debug_Print(string s)
|
||||
{
|
||||
if (Debug == "true")
|
||||
{
|
||||
using (StreamWriter w = File.AppendText(@"h:\arsddedebug.txt"))
|
||||
{
|
||||
w.WriteLine(s);
|
||||
}
|
||||
};
|
||||
if (Debug=="true")
|
||||
{
|
||||
//Console.WriteLine(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static void Call_OnDemand(string arg)
|
||||
{
|
||||
switch (arg.ToString())
|
||||
{
|
||||
case "Start":
|
||||
if (Properties.Settings.Default.StartClient.ToLower()=="true")
|
||||
{
|
||||
ProcessStartInfo psi = new ProcessStartInfo();
|
||||
psi.FileName = Path.GetFileName(ARS_Application);
|
||||
psi.WorkingDirectory = Path.GetDirectoryName(ARS_Application);
|
||||
psi.Arguments= "/1 " + ARS_Language + " /S " + ARS_System + " /U " + ARS_User + " /P " + ARS_Password + " /I /B /V /T EDOKA COLD-Dokumentanzeige " + " /Z /Q /Y /O 1 /X";
|
||||
psi.Arguments = "/1 " + ARS_Language + " /S " + ARS_System + " /I /B /V /T EDOKA COLD-Dokumentanzeige " + " /Z /Q /Y /O 1 /X";
|
||||
|
||||
Debug_Print(ARS_Application + " /1 " + ARS_Language + " /S " + ARS_System + " /U " + ARS_User + " /P " + ARS_Password + " /I /B /V /T EDOKA COLD-Dokumentanzeige " + " /Z /Q /Y /O 1 /X ");
|
||||
psi.WindowStyle = ProcessWindowStyle.Maximized;
|
||||
psi.UseShellExecute = true;
|
||||
Process.Start(psi);
|
||||
// Process.Start(""+ARS_Application+"" + " /1 " + ARS_Language + " /S " + ARS_System + " /U " + ARS_User + " /P " + ARS_Password + " /I /B /V /T EDOKA COLD-Dokumentanzeige " + " /Z /Q /Y /O 1 /X /W N");
|
||||
System.Threading.Thread.Sleep(Convert.ToInt32(Properties.Settings.Default.WaitAfterStart));
|
||||
}
|
||||
break;
|
||||
case "Logon":
|
||||
Debug_Print(String.Format("LOGON /S {0} /U {1} /P {2}", ARS_System,ARS_User, ARS_Password));
|
||||
//Client.Execute(string.Format("LOGON /S Test_System_NOVA /U {0} /P {1}", ARS_User, ARS_Password), 3000);
|
||||
Client.ExecuteCommand(string.Format("LOGON /S {0} /U {1} /P {2}", ARS_System, ARS_User, ARS_Password));
|
||||
|
||||
break;
|
||||
|
||||
case "Open_Folder":
|
||||
// 20201019 - Erweiterung /S /C /R /D -> Buttons ausblenden
|
||||
|
||||
Debug_Print(string.Format("OPEN_FOLDER /F {0} /S /C /R /D", ARS_Foler));
|
||||
//Client.Execute(string.Format("OPEN_FOLDER / F {0})", ARS_Foler), 3000);
|
||||
Client.ExecuteCommand(string.Format("OPEN_FOLDER /F {0} /S /C /R /D", ARS_Foler));
|
||||
break;
|
||||
case "Search_Folder":
|
||||
Debug_Print("SEARCH_FOLDER");
|
||||
//Client.Execute("SEARCH_FOLDER", 3000);
|
||||
Client.ExecuteCommand("SEARCH_FOLDER");
|
||||
break;
|
||||
case "Show_Doc":
|
||||
Client.ExecuteCommand("OPEN_DOC /N 0");
|
||||
//Client.ExecuteCommand("SHOW_WINDOW /W 0,0,75,100");
|
||||
|
||||
|
||||
break;
|
||||
case "Set_FieldData":
|
||||
switch (ARS_Foler)
|
||||
{
|
||||
case "TGKB Kundenoutput AGI-OMS für EDOKA User":
|
||||
Debug_Print("TGKB Kundenoutput AGI-OMS für EDOKA User");
|
||||
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Dokument-Id /1 {0}", ARS_DocID));
|
||||
//Client.Execute(string.Format("SET_FIELD_DATA /F Dokument-Id /1 {0})", ARS_DocID), 3000);
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Dokument-Id /1 {0}", ARS_DocID));
|
||||
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Erstellung od. Valuta Datum /1 {0} /2 {1} ", FormatDate(ARS_Datum), FormatDate(ARS_Datum)));
|
||||
//Client.Execute(string.Format("SET_FIELD_DATA / F Erstellung od. Valuta Datum /1 {0} /2 {1} ", FormatDate(ARS_Datum), FormatDate(ARS_Datum)), 3000);
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Erstellung od. Valuta Datum /1 {0} /2 {1} ", FormatDate(ARS_Datum), FormatDate(ARS_Datum)));
|
||||
break;
|
||||
case "TGKB Kundenoutput ab 01.08.2008":
|
||||
Debug_Print("TGKB Kundenoutput ab 01.08.2008");
|
||||
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Dokumenten-Id /1 {0}", ARS_DocID));
|
||||
//Client.Execute(string.Format("SET_FIELD_DATA /F Dokument-Id /1 {0})", ARS_DocID), 3000);
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Dokumenten-Id /1 {0}", ARS_DocID));
|
||||
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Erstellung od. Valuta Datum /1 {0} /2 {1} ", FormatDate(ARS_Datum), FormatDate(ARS_Datum)));
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Erstellung od. Valuta Datum /1 {0} /2 {1} ", FormatDate(ARS_Datum), FormatDate(ARS_Datum)));
|
||||
break;
|
||||
|
||||
case "TGKB ZV-Scanning Belege (erweiterte Suche)":
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Dokumenttyp /1 {0}", ARS_Doctype));
|
||||
//Client.Execute(string.Format("SET_FIELD_DATA /F Dokumenttyp /1 {0})", ARS_Doctype), 3000);
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Dokumenttyp /1 {0}", ARS_Doctype));
|
||||
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Auftrag-Nr. /1 {0}", ARS_AuftragNr));
|
||||
//Client.Execute(string.Format("SET_FIELD_DATA /F Auftrag-Nr. /1 {0})", ARS_AuftragNr), 3000);
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Auftrag-Nr. /1 {0}", ARS_AuftragNr));
|
||||
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Paginator /1 {0}", ARS_DocID));
|
||||
//Client.Execute(string.Format("SET_FIELD_DATA /F Paginator /1 {0})", ARS_DocID), 3000);
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Paginator /1 {0}", ARS_DocID));
|
||||
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Valuta od. Archiv Datum /1 {0} /2 {1}", "",""));
|
||||
|
||||
break;
|
||||
default:
|
||||
Debug_Print(string.Format("SET_FIELD_DATA /F Dokument-Id /1 {0}", ARS_DocID));
|
||||
//Client.Execute(string.Format("SET_FIELD_DATA /F Dokument-Id /1 {0})", ARS_DocID), 3000);
|
||||
Client.ExecuteCommand(string.Format("SET_FIELD_DATA /F Dokument-Id /1 {0}", ARS_DocID));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case "Logoff":
|
||||
//Client.Execute("LOGOFF",3000);
|
||||
//Client.ExecuteCommand("LOGOFF");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static string FormatDate(string datum)
|
||||
{
|
||||
string dd;
|
||||
string mm;
|
||||
string yyyy;
|
||||
yyyy = datum.Substring(datum.Length - 2);
|
||||
mm = datum.Substring(3, 2);
|
||||
dd = datum.Substring(0, 2);
|
||||
if (dd.Length<2) { dd = "0" + dd; }
|
||||
if (mm.Length < 2) { mm = "0" + mm; }
|
||||
return dd + "." + mm + "." + yyyy;
|
||||
}
|
||||
|
||||
static bool Parse_Commandline(string[] args)
|
||||
{
|
||||
for (int i = 0; i < args.Length; i++)
|
||||
{
|
||||
try
|
||||
{
|
||||
Debug_Print(args[i].ToString());
|
||||
switch (args[i].ToString())
|
||||
{
|
||||
case "/c":
|
||||
int ii;
|
||||
ii = i + 1;
|
||||
string s;
|
||||
s = "";
|
||||
while (args[ii].Substring(0, 1) != @"/")
|
||||
{
|
||||
s = s + " " + args[ii];
|
||||
ii = ii + 1;
|
||||
}
|
||||
ARS_Application = s.Trim();
|
||||
//ARS_Foler = args[i + 1];
|
||||
|
||||
//ARS_Application = args[i + 1];
|
||||
break;
|
||||
case "/e":
|
||||
|
||||
ii = i + 1;
|
||||
|
||||
s = "";
|
||||
while (args[ii].Substring(0, 1) != @"/")
|
||||
{
|
||||
s = s + " " + args[ii];
|
||||
ii = ii + 1;
|
||||
}
|
||||
ARS_Application = s.Trim();
|
||||
//ARS_Application = args[i + 1];
|
||||
//ARS_Language = Properties.Settings.Default.ARS_Language;
|
||||
break;
|
||||
case "/S":
|
||||
ARS_System = args[i + 1];
|
||||
break;
|
||||
case "/U":
|
||||
ARS_User = args[i + 1];
|
||||
break;
|
||||
case "/P":
|
||||
ARS_Password = args[i + 1];
|
||||
break;
|
||||
case "/f":
|
||||
|
||||
ii = i+1;
|
||||
|
||||
s = "";
|
||||
while (args[ii].Substring(0,1) != @"/")
|
||||
{
|
||||
s = s + " " + args[ii];
|
||||
ii = ii + 1;
|
||||
}
|
||||
ARS_Foler = s.Trim();
|
||||
//ARS_Foler = args[i + 1];
|
||||
|
||||
break;
|
||||
case "/d":
|
||||
ARS_DocID = args[i + 1];
|
||||
break;
|
||||
case "/t":
|
||||
ARS_Datum = args[i + 1];
|
||||
break;
|
||||
case "/b":
|
||||
ARS_Type = args[i + 1];
|
||||
break;
|
||||
case "/g":
|
||||
ARS_Doctype = args[i + 1];
|
||||
break;
|
||||
case "/a":
|
||||
ARS_AuftragNr = args[i + 1];
|
||||
break;
|
||||
|
||||
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
static class Extensions
|
||||
{
|
||||
public static void ExecuteCommand(this DdeClient client, string command)
|
||||
{
|
||||
string answer = client.Request(command, 5000);
|
||||
if (!answer.StartsWith("0"))
|
||||
{
|
||||
//throw new Exception("Error:");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
36
OnDemandDDE/ARSDDE/Properties/AssemblyInfo.cs
Normal file
36
OnDemandDDE/ARSDDE/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("ARSDDE")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ARSDDE")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2018")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("21daaa8f-8c8c-4bbd-873d-54e92f43a3eb")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
86
OnDemandDDE/ARSDDE/Properties/Settings.Designer.cs
generated
Normal file
86
OnDemandDDE/ARSDDE/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,86 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ARSDDE.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.6.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("true")]
|
||||
public string Debug {
|
||||
get {
|
||||
return ((string)(this["Debug"]));
|
||||
}
|
||||
set {
|
||||
this["Debug"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("ARS")]
|
||||
public string OnDemandClinetString {
|
||||
get {
|
||||
return ((string)(this["OnDemandClinetString"]));
|
||||
}
|
||||
set {
|
||||
this["OnDemandClinetString"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("\\\\locale\\deu")]
|
||||
public string ARS_Language {
|
||||
get {
|
||||
return ((string)(this["ARS_Language"]));
|
||||
}
|
||||
set {
|
||||
this["ARS_Language"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("true")]
|
||||
public string StartClient {
|
||||
get {
|
||||
return ((string)(this["StartClient"]));
|
||||
}
|
||||
set {
|
||||
this["StartClient"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("1000")]
|
||||
public string WaitAfterStart {
|
||||
get {
|
||||
return ((string)(this["WaitAfterStart"]));
|
||||
}
|
||||
set {
|
||||
this["WaitAfterStart"] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
21
OnDemandDDE/ARSDDE/Properties/Settings.settings
Normal file
21
OnDemandDDE/ARSDDE/Properties/Settings.settings
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="ARSDDE.Properties" GeneratedClassName="Settings">
|
||||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="Debug" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">true</Value>
|
||||
</Setting>
|
||||
<Setting Name="OnDemandClinetString" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">ARS</Value>
|
||||
</Setting>
|
||||
<Setting Name="ARS_Language" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">\\locale\deu</Value>
|
||||
</Setting>
|
||||
<Setting Name="StartClient" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">true</Value>
|
||||
</Setting>
|
||||
<Setting Name="WaitAfterStart" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">1000</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
BIN
OnDemandDDE/ARSDDE/bin/Debug/ARSDDE.exe
Normal file
BIN
OnDemandDDE/ARSDDE/bin/Debug/ARSDDE.exe
Normal file
Binary file not shown.
30
OnDemandDDE/ARSDDE/bin/Debug/ARSDDE.exe.config
Normal file
30
OnDemandDDE/ARSDDE/bin/Debug/ARSDDE.exe.config
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
|
||||
<section name="ARSDDE.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
|
||||
</startup>
|
||||
<userSettings>
|
||||
<ARSDDE.Properties.Settings>
|
||||
<setting name="Debug" serializeAs="String">
|
||||
<value>true</value>
|
||||
</setting>
|
||||
<setting name="OnDemandClinetString" serializeAs="String">
|
||||
<value>ARS</value>
|
||||
</setting>
|
||||
<setting name="ARS_Language" serializeAs="String">
|
||||
<value>\\locale\deu</value>
|
||||
</setting>
|
||||
<setting name="StartClient" serializeAs="String">
|
||||
<value>true</value>
|
||||
</setting>
|
||||
<setting name="WaitAfterStart" serializeAs="String">
|
||||
<value>1000</value>
|
||||
</setting>
|
||||
</ARSDDE.Properties.Settings>
|
||||
</userSettings>
|
||||
</configuration>
|
||||
BIN
OnDemandDDE/ARSDDE/bin/Debug/ARSDDE.pdb
Normal file
BIN
OnDemandDDE/ARSDDE/bin/Debug/ARSDDE.pdb
Normal file
Binary file not shown.
4
OnDemandDDE/ARSDDE/bin/Debug/DoZip.bat
Normal file
4
OnDemandDDE/ARSDDE/bin/Debug/DoZip.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
delete arsdde.zip
|
||||
"C:\Program Files\7-Zip\7z" a arsdde.zip arsdde.exe arsdde.exe.config -pshu*tkb96123
|
||||
copy arsdde.zip w:
|
||||
pause
|
||||
BIN
OnDemandDDE/ARSDDE/bin/Debug/NDde.dll
Normal file
BIN
OnDemandDDE/ARSDDE/bin/Debug/NDde.dll
Normal file
Binary file not shown.
3
OnDemandDDE/ARSDDE/bin/Debug/Test.bat
Normal file
3
OnDemandDDE/ARSDDE/bin/Debug/Test.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
arsdde.exe /e "c:\program files (x86)\ibm\ondemand32\bin\arsgui.exe" /S Test_System_NOVA /U tgsystkb /P tgsystkb /f "TGKB EDOKA-Partner" /d OFFEDK000201800223423620181003063223
|
||||
pause
|
||||
|
||||
BIN
OnDemandDDE/ARSDDE/bin/Debug/arsdde.zip
Normal file
BIN
OnDemandDDE/ARSDDE/bin/Debug/arsdde.zip
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")]
|
||||
@@ -0,0 +1 @@
|
||||
44b08d7bf43be774c311a044a1c686ff613aa9da
|
||||
@@ -0,0 +1,9 @@
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\bin\Debug\ARSDDE.exe.config
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\bin\Debug\ARSDDE.exe
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\bin\Debug\ARSDDE.pdb
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\bin\Debug\NDde.dll
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\obj\Debug\ARSDDE.csproj.CoreCompileInputs.cache
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\obj\Debug\ARSDDE.csproj.CopyComplete
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\obj\Debug\ARSDDE.exe
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\obj\Debug\ARSDDE.pdb
|
||||
E:\Software-Projekte\_Demos\DDE\OnDemandDDE\ARSDDE\obj\Debug\ARSDDE.csprojAssemblyReference.cache
|
||||
Binary file not shown.
BIN
OnDemandDDE/ARSDDE/obj/Debug/ARSDDE.exe
Normal file
BIN
OnDemandDDE/ARSDDE/obj/Debug/ARSDDE.exe
Normal file
Binary file not shown.
BIN
OnDemandDDE/ARSDDE/obj/Debug/ARSDDE.pdb
Normal file
BIN
OnDemandDDE/ARSDDE/obj/Debug/ARSDDE.pdb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
4
OnDemandDDE/ARSDDE/packages.config
Normal file
4
OnDemandDDE/ARSDDE/packages.config
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="NDde" version="2.01.0563" targetFramework="net46" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user